The wrapper functions do not need to be static class methods and have
been moved to static free functions. This also improvies some of the
access modifiers. Some private methods were being used in a public way
(invoked by the AR HAL).
Change-Id: I87f5a5ee9ada7d72f4e6fe2149c4bd9e2e6c3c76
If there's a sensor wake event in the sensor HAL's event pipeline,
grab a wakelock to keep device from falling asleep until Sensor
Services has had a chance to grab its own wakelock.
Bug: 28249097
Change-Id: Ia36b2726bbf200d0dbdbb3f2a36fbc5482096a93
This change adds support for a different sensor list depending
on the type of device.
Bug: 27943736
Change-Id: Id8c30b9b72084576d11546a663de7327fb29d76f
Fix the bug that causes setDelay not working. Many native sensor
apps, such as camera EIS, still use this API.
Bug: b/27790706
Change-Id: Iaf7eeb3311a2148ca556d27dbd117e1992715644