Loading sensors/1.0/default/Android.bp +0 −6 Original line number Diff line number Diff line Loading @@ -44,12 +44,6 @@ cc_library_static { "libhidlbase", "android.hardware.sensors@1.0", ], whole_static_libs: [ "sensors_common_convert", ], export_static_lib_headers: [ "sensors_common_convert", ], local_include_dirs: ["include/sensors"], export_shared_lib_headers: [ "libhardware", Loading sensors/1.0/default/convert.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -196,11 +196,6 @@ void convertFromSensorEvent(const sensors_event_t &src, Event *dst) { } } void convertFromASensorEvent(const ASensorEvent& src, Event* dst) { convertFromSensorEvent( android::hardware::sensors::implementation::common::convertASensorEvent(src), dst); } void convertToSensorEvent(const Event &src, sensors_event_t *dst) { *dst = {.version = sizeof(sensors_event_t), .sensor = src.sensorHandle, Loading sensors/1.0/default/include/sensors/convert.h +0 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ #include <android/hardware/sensors/1.0/ISensors.h> #include <hardware/sensors.h> #include <sensors/common_convert.h> namespace android { namespace hardware { Loading @@ -32,7 +31,6 @@ void convertFromSensor(const sensor_t &src, SensorInfo *dst); void convertToSensor(const SensorInfo &src, sensor_t *dst); void convertFromSensorEvent(const sensors_event_t &src, Event *dst); void convertFromASensorEvent(const ASensorEvent& src, Event* dst); void convertToSensorEvent(const Event &src, sensors_event_t *dst); bool convertFromSharedMemInfo(const SharedMemInfo& memIn, sensors_direct_mem_t *memOut); Loading sensors/aidl/convert/Android.bp +0 −6 Original line number Diff line number Diff line Loading @@ -37,12 +37,6 @@ cc_library_static { "libutils", "android.hardware.sensors-V1-ndk", ], whole_static_libs: [ "sensors_common_convert", ], export_static_lib_headers: [ "sensors_common_convert", ], local_include_dirs: ["include/aidl/sensors"], export_shared_lib_headers: [ "libhardware", Loading sensors/aidl/convert/convert.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -490,10 +490,6 @@ void convertFromSensorEvent(const sensors_event_t& src, Event* dst) { } } void convertFromASensorEvent(const ASensorEvent& src, Event* dst) { convertFromSensorEvent(common::convertASensorEvent(src), dst); } } // namespace implementation } // namespace sensors } // namespace hardware Loading Loading
sensors/1.0/default/Android.bp +0 −6 Original line number Diff line number Diff line Loading @@ -44,12 +44,6 @@ cc_library_static { "libhidlbase", "android.hardware.sensors@1.0", ], whole_static_libs: [ "sensors_common_convert", ], export_static_lib_headers: [ "sensors_common_convert", ], local_include_dirs: ["include/sensors"], export_shared_lib_headers: [ "libhardware", Loading
sensors/1.0/default/convert.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -196,11 +196,6 @@ void convertFromSensorEvent(const sensors_event_t &src, Event *dst) { } } void convertFromASensorEvent(const ASensorEvent& src, Event* dst) { convertFromSensorEvent( android::hardware::sensors::implementation::common::convertASensorEvent(src), dst); } void convertToSensorEvent(const Event &src, sensors_event_t *dst) { *dst = {.version = sizeof(sensors_event_t), .sensor = src.sensorHandle, Loading
sensors/1.0/default/include/sensors/convert.h +0 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ #include <android/hardware/sensors/1.0/ISensors.h> #include <hardware/sensors.h> #include <sensors/common_convert.h> namespace android { namespace hardware { Loading @@ -32,7 +31,6 @@ void convertFromSensor(const sensor_t &src, SensorInfo *dst); void convertToSensor(const SensorInfo &src, sensor_t *dst); void convertFromSensorEvent(const sensors_event_t &src, Event *dst); void convertFromASensorEvent(const ASensorEvent& src, Event* dst); void convertToSensorEvent(const Event &src, sensors_event_t *dst); bool convertFromSharedMemInfo(const SharedMemInfo& memIn, sensors_direct_mem_t *memOut); Loading
sensors/aidl/convert/Android.bp +0 −6 Original line number Diff line number Diff line Loading @@ -37,12 +37,6 @@ cc_library_static { "libutils", "android.hardware.sensors-V1-ndk", ], whole_static_libs: [ "sensors_common_convert", ], export_static_lib_headers: [ "sensors_common_convert", ], local_include_dirs: ["include/aidl/sensors"], export_shared_lib_headers: [ "libhardware", Loading
sensors/aidl/convert/convert.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -490,10 +490,6 @@ void convertFromSensorEvent(const sensors_event_t& src, Event* dst) { } } void convertFromASensorEvent(const ASensorEvent& src, Event* dst) { convertFromSensorEvent(common::convertASensorEvent(src), dst); } } // namespace implementation } // namespace sensors } // namespace hardware Loading