diff --git a/frameworks/native/sensor/include/i_sensor_service.h b/frameworks/native/sensor/include/i_sensor_service.h index 4c210e08a8be1c599eb28da029dc3777c66f13c1..0cf519a51f5e82fa25c9023624d156960a2969a4 100755 --- a/frameworks/native/sensor/include/i_sensor_service.h +++ b/frameworks/native/sensor/include/i_sensor_service.h @@ -19,10 +19,11 @@ #include #include "errors.h" -#include "i_sensor_client.h" #include "iremote_broker.h" -#include "sensor.h" + +#include "i_sensor_client.h" #include "sensor_basic_data_channel.h" +#include "sensor.h" namespace OHOS { namespace Sensors { diff --git a/frameworks/native/sensor/include/my_file_descriptor_listener.h b/frameworks/native/sensor/include/my_file_descriptor_listener.h index a2a5ff7a608e3a864b71e4042570fdc5fac27f1a..36b35e931e183c623beb30fe72148bc3c211f5ea 100755 --- a/frameworks/native/sensor/include/my_file_descriptor_listener.h +++ b/frameworks/native/sensor/include/my_file_descriptor_listener.h @@ -17,12 +17,14 @@ #define MY_FILE_DESCRIPTOR_LISTENER_H #include + #include #include #include "event_handler.h" #include "event_runner.h" #include "file_descriptor_listener.h" + #include "sensor_agent_type.h" #include "sensor_data_channel.h" diff --git a/frameworks/native/sensor/include/sensor_agent_proxy.h b/frameworks/native/sensor/include/sensor_agent_proxy.h index f3795ce655083c8522dbbcd62b18baba5581bf6b..cb69dd6d0d5efce5d89da7a3ff61f5d633d40dc2 100644 --- a/frameworks/native/sensor/include/sensor_agent_proxy.h +++ b/frameworks/native/sensor/include/sensor_agent_proxy.h @@ -20,6 +20,7 @@ #include #include "refbase.h" + #include "sensor_agent_type.h" #include "sensor_data_channel.h" diff --git a/frameworks/native/sensor/include/sensor_client_proxy.h b/frameworks/native/sensor/include/sensor_client_proxy.h index 006c28c37bb3a2cd50cbb0cc5707fffae34ab894..57424f6750c8de0d82a3b20d55823ea704d46d0f 100755 --- a/frameworks/native/sensor/include/sensor_client_proxy.h +++ b/frameworks/native/sensor/include/sensor_client_proxy.h @@ -16,11 +16,12 @@ #ifndef SENSOR_CLIENT_PROXY_H #define SENSOR_CLIENT_PROXY_H -#include "i_sensor_client.h" #include "iremote_proxy.h" -#include "sensor_agent_type.h" #include "nocopyable.h" +#include "i_sensor_client.h" +#include "sensor_agent_type.h" + namespace OHOS { namespace Sensors { class SensorClientProxy : public IRemoteProxy { diff --git a/frameworks/native/sensor/include/sensor_client_stub.h b/frameworks/native/sensor/include/sensor_client_stub.h index 39e749d957804bfbbc3995c53d787d302c725fe6..f3047157da3972a456479707bf9f29d5af176c0a 100755 --- a/frameworks/native/sensor/include/sensor_client_stub.h +++ b/frameworks/native/sensor/include/sensor_client_stub.h @@ -16,10 +16,11 @@ #ifndef SENSOR_CLIENT_STUB_H #define SENSOR_CLIENT_STUB_H -#include "i_sensor_client.h" #include "iremote_stub.h" #include "message_parcel.h" +#include "i_sensor_client.h" + namespace OHOS { namespace Sensors { class SensorClientStub : public IRemoteStub { diff --git a/frameworks/native/sensor/include/sensor_data_channel.h b/frameworks/native/sensor/include/sensor_data_channel.h index 2902f91427115080abcc84a9f0c92de9cbc46595..782c68b4022b27c4e77260e964924660b11ac48d 100755 --- a/frameworks/native/sensor/include/sensor_data_channel.h +++ b/frameworks/native/sensor/include/sensor_data_channel.h @@ -18,6 +18,7 @@ #include #include + #include "sensor_basic_data_channel.h" #include "sensor_agent_type.h" #include "my_event_handler.h" diff --git a/frameworks/native/sensor/include/sensor_service_client.h b/frameworks/native/sensor/include/sensor_service_client.h index 304f66373cc845549c8b85535a9b949a2911fb36..57a07166d3c392c1fbb1f88df56b1d6d2745fce7 100755 --- a/frameworks/native/sensor/include/sensor_service_client.h +++ b/frameworks/native/sensor/include/sensor_service_client.h @@ -18,15 +18,18 @@ #include #include + #include "iservice_registry.h" -#include "sensor.h" +#include "singleton.h" + +#include "sensor_agent_type.h" #include "sensor_basic_data_channel.h" #include "sensor_basic_info.h" #include "sensor_client_stub.h" #include "sensor_data_channel.h" +#include "sensor.h" #include "sensor_service_proxy.h" -#include "singleton.h" -#include "sensor_agent_type.h" + namespace OHOS { namespace Sensors { diff --git a/frameworks/native/sensor/include/sensor_service_proxy.h b/frameworks/native/sensor/include/sensor_service_proxy.h index a694ca2d388eaa8a8695688373b9c0e21362ab81..2894fbc81f383f01c1788a791d96cf290b316955 100755 --- a/frameworks/native/sensor/include/sensor_service_proxy.h +++ b/frameworks/native/sensor/include/sensor_service_proxy.h @@ -17,10 +17,11 @@ #define SENSOR_SERVICE_PROXY_H #include "errors.h" -#include "i_sensor_service.h" #include "iremote_proxy.h" #include "nocopyable.h" + #include "sensor_agent_type.h" +#include "i_sensor_service.h" namespace OHOS { namespace Sensors {