Commit 6f96cb34 authored by Andreas Huber's avatar Andreas Huber Committed by Iliyan Malchev
Browse files

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
parent fa3700ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment