History log of /frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ASensorEventQueue.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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.h