History log of /frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ASensorEventQueue.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
308f479fe159b032423b5de7bdf9cc6d5a99700a 22-Apr-2017 Peng Xu <pengxu@google.com> Fix circular reference problem in libsensorndkbridge ASensorEventQueue

Bug: 37417455
Test: run camera cts, fd count in system_server not going up.
Test: open close camera, fd count in system_server not going up.
Change-Id: I27381bb5b19ece0dac8d6938dc074c61af72bb16
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ASensorEventQueue.cpp
6f96cb345a8ebfd9fef5f32931373776a798a193 07-Apr-2017 Andreas Huber <andih@google.com> libsensorndkbridge: initial commit

This is a "reverse" shim that implements the ASensor* NDK API using
android.frameworks.sensorservice@1.0. The library is intended for use
by vendor code, to enable easier transition from /dev/binder to
/dev/hwbinder. With this library, vendor code should be able to compile
without source changes, simply by replacing libandroid.so with
libsensorndkbridge.so.

Note that since libsensorndkbridge.so implemented ASensor* over
/dev/hwbinder, the client code will need the necessary SELinux policy
for that to work.

b/34386025 [Treble] Identify and fix Binder usage by camera HALs that isn't NDK-based
b/35219747 [Treble] Figure out the new interface between camera and sensor
b/36651814 [QCOM Treble] [REDACTED] Camera HAL uses Binder
b/36651420 [QCOM Treble] [REDACTED] location daemon uses Binder

Test: tested on device

Change-Id: I6cb376beb1829c22db031d82824dd168e5fc6d5c
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ASensorEventQueue.cpp