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
Loading
Please sign in to comment