From 82fa5fdcf31abdcef8f39869e85dfec4f32e34c0 Mon Sep 17 00:00:00 2001 From: liyaoyao777 Date: Tue, 27 Aug 2024 11:52:22 +0800 Subject: [PATCH] Rectify namespace irregularities Signed-off-by: liyaoyao777 --- frameworks/native/include/fd_listener.h | 4 ++-- frameworks/native/include/i_sensor_client.h | 4 ++-- frameworks/native/include/i_sensor_service.h | 4 ++-- frameworks/native/include/sensor_agent_proxy.h | 4 ++-- frameworks/native/include/sensor_client_proxy.h | 4 ++-- frameworks/native/include/sensor_client_stub.h | 4 ++-- frameworks/native/include/sensor_data_channel.h | 4 ++-- frameworks/native/include/sensor_event_handler.h | 4 ++-- frameworks/native/include/sensor_file_descriptor_listener.h | 4 ++-- frameworks/native/include/sensor_service_client.h | 4 ++-- frameworks/native/include/sensor_service_proxy.h | 4 ++-- frameworks/native/include/sensors_ipc_interface_code.h | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/frameworks/native/include/fd_listener.h b/frameworks/native/include/fd_listener.h index a3d97b54..7c4424d8 100644 --- a/frameworks/native/include/fd_listener.h +++ b/frameworks/native/include/fd_listener.h @@ -35,6 +35,6 @@ public: private: SensorDataChannel *channel_ = { nullptr }; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // FD_LISTENER_H diff --git a/frameworks/native/include/i_sensor_client.h b/frameworks/native/include/i_sensor_client.h index 44553870..438a688d 100755 --- a/frameworks/native/include/i_sensor_client.h +++ b/frameworks/native/include/i_sensor_client.h @@ -26,6 +26,6 @@ public: virtual ~ISensorClient() = default; DECLARE_INTERFACE_DESCRIPTOR(u"ISensorClient"); }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // I_SENSOR_CLIENT_H diff --git a/frameworks/native/include/i_sensor_service.h b/frameworks/native/include/i_sensor_service.h index 7ee56812..6df89586 100755 --- a/frameworks/native/include/i_sensor_service.h +++ b/frameworks/native/include/i_sensor_service.h @@ -50,6 +50,6 @@ public: virtual ErrCode DisableActiveInfoCB() = 0; virtual ErrCode ResetSensors() = 0; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // I_SENSOR_SERVICE_H diff --git a/frameworks/native/include/sensor_agent_proxy.h b/frameworks/native/include/sensor_agent_proxy.h index 702b43d3..76ad11fc 100644 --- a/frameworks/native/include/sensor_agent_proxy.h +++ b/frameworks/native/include/sensor_agent_proxy.h @@ -68,6 +68,6 @@ private: }; #define SENSOR_AGENT_IMPL OHOS::DelayedSingleton::GetInstance() -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // endif SENSOR_PROXY_H \ No newline at end of file diff --git a/frameworks/native/include/sensor_client_proxy.h b/frameworks/native/include/sensor_client_proxy.h index 6b895937..ce9b2712 100755 --- a/frameworks/native/include/sensor_client_proxy.h +++ b/frameworks/native/include/sensor_client_proxy.h @@ -34,6 +34,6 @@ private: DISALLOW_COPY_AND_MOVE(SensorClientProxy); static inline BrokerDelegator delegator_; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // SENSOR_CLIENT_PROXY_H diff --git a/frameworks/native/include/sensor_client_stub.h b/frameworks/native/include/sensor_client_stub.h index 2ed785d5..4a8a3d6b 100755 --- a/frameworks/native/include/sensor_client_stub.h +++ b/frameworks/native/include/sensor_client_stub.h @@ -30,6 +30,6 @@ public: virtual int32_t OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // SENSOR_CLIENT_STUB_H diff --git a/frameworks/native/include/sensor_data_channel.h b/frameworks/native/include/sensor_data_channel.h index ee32f464..167707c9 100644 --- a/frameworks/native/include/sensor_data_channel.h +++ b/frameworks/native/include/sensor_data_channel.h @@ -52,6 +52,6 @@ private: ReceiveMessageFun receiveMessage_; DisconnectFun disconnect_; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // SENSOR_DATA_CHANNEL_H diff --git a/frameworks/native/include/sensor_event_handler.h b/frameworks/native/include/sensor_event_handler.h index 1798f5fa..710d6cd1 100755 --- a/frameworks/native/include/sensor_event_handler.h +++ b/frameworks/native/include/sensor_event_handler.h @@ -31,6 +31,6 @@ public: */ void ProcessEvent(const AppExecFwk::InnerEvent::Pointer &event) override; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // SENSOR_EVENT_HANDLER_H \ No newline at end of file diff --git a/frameworks/native/include/sensor_file_descriptor_listener.h b/frameworks/native/include/sensor_file_descriptor_listener.h index 91a80a0c..bef8b685 100644 --- a/frameworks/native/include/sensor_file_descriptor_listener.h +++ b/frameworks/native/include/sensor_file_descriptor_listener.h @@ -36,6 +36,6 @@ private: SensorDataChannel *channel_ = nullptr; SensorData *receiveDataBuff_ = nullptr; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // SENSOR_FILE_DESCRIPTOR_LISTENER_H diff --git a/frameworks/native/include/sensor_service_client.h b/frameworks/native/include/sensor_service_client.h index 47033cae..a616d42a 100755 --- a/frameworks/native/include/sensor_service_client.h +++ b/frameworks/native/include/sensor_service_client.h @@ -74,6 +74,6 @@ private: std::mutex activeInfoCBMutex_; std::set activeInfoCBSet_; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // SENSOR_SERVICE_CLIENT_H \ No newline at end of file diff --git a/frameworks/native/include/sensor_service_proxy.h b/frameworks/native/include/sensor_service_proxy.h index 6712df8f..be7fbea8 100755 --- a/frameworks/native/include/sensor_service_proxy.h +++ b/frameworks/native/include/sensor_service_proxy.h @@ -48,6 +48,6 @@ private: DISALLOW_COPY_AND_MOVE(SensorServiceProxy); static inline BrokerDelegator delegator_; }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // SENSOR_SERVICE_PROXY_H diff --git a/frameworks/native/include/sensors_ipc_interface_code.h b/frameworks/native/include/sensors_ipc_interface_code.h index 1cbfc1e3..2fd9df9a 100644 --- a/frameworks/native/include/sensors_ipc_interface_code.h +++ b/frameworks/native/include/sensors_ipc_interface_code.h @@ -34,6 +34,6 @@ enum class SensorInterfaceCode { DISABLE_ACTIVE_INFO_CB, RESET_SENSORS, }; -} // namespace Sensors -} // namespace OHOS +} // namespace Sensors +} // namespace OHOS #endif // SENSORS_IPC_INTERFACE_CODE_H -- Gitee