Loading Android.bp +1 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,7 @@ subdirs = [ cc_library_headers { name: "libandroid_sensor_headers", vendor_available: true, host_supported: true, vendor: true, export_include_dirs: ["include_sensor"], } Loading services/sensorservice/aidl/utils.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ ndk::ScopedAStatus convertResult(status_t src) { ::aidl::android::hardware::sensors::Event convertEvent(const ::ASensorEvent& src) { ::aidl::android::hardware::sensors::Event dst; ::android::hardware::sensors::implementation:: convertFromASensorEvent(src, &dst); convertFromSensorEvent(reinterpret_cast<const sensors_event_t&>(src), &dst); return dst; } Loading services/sensorservice/hidl/utils.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -76,8 +76,8 @@ Result convertResult(status_t status) { ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent& src) { ::android::hardware::sensors::V1_0::Event dst; ::android::hardware::sensors::V1_0::implementation::convertFromASensorEvent( src, &dst); ::android::hardware::sensors::V1_0::implementation::convertFromSensorEvent( reinterpret_cast<const sensors_event_t&>(src), &dst); return dst; } Loading Loading
Android.bp +1 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,7 @@ subdirs = [ cc_library_headers { name: "libandroid_sensor_headers", vendor_available: true, host_supported: true, vendor: true, export_include_dirs: ["include_sensor"], } Loading
services/sensorservice/aidl/utils.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ ndk::ScopedAStatus convertResult(status_t src) { ::aidl::android::hardware::sensors::Event convertEvent(const ::ASensorEvent& src) { ::aidl::android::hardware::sensors::Event dst; ::android::hardware::sensors::implementation:: convertFromASensorEvent(src, &dst); convertFromSensorEvent(reinterpret_cast<const sensors_event_t&>(src), &dst); return dst; } Loading
services/sensorservice/hidl/utils.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -76,8 +76,8 @@ Result convertResult(status_t status) { ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent& src) { ::android::hardware::sensors::V1_0::Event dst; ::android::hardware::sensors::V1_0::implementation::convertFromASensorEvent( src, &dst); ::android::hardware::sensors::V1_0::implementation::convertFromSensorEvent( reinterpret_cast<const sensors_event_t&>(src), &dst); return dst; } Loading