History log of /hardware/libhardware/modules/sensors/dynamic_sensor/RingBuffer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
57d8af7f5ecbdbadb043b05ac5874989ef33fdad 20-Jan-2017 Peng Xu <pengxu@google.com> Dynamic sensor manager module - framework

Library to handle dynamic sensor connection. There are two way to use
this: as hal extension or standalone hal module.

In hal extension mode: add libdynamic_sensor_ext in dependency of hal,
instantiate DynamicSensorManager with appropriate parameters. Then
for all sensor requests, if the handle is owned by dynamic sensor
manager, forward the request.

In standalone mode, add sensor.dynamic_sensor_hal into device make
file. Usually, this also means multihal is necessary. Add
sensor.dynamic_sensor_hal into multihal configuration file.

This CL implements the dynamic sensor manager framework. Sensor daemon
will be added in follow up CL.

Test: test compile (functionality test done in a follow up CL)

Change-Id: I3b96ee135d8dbe3e199af01bed4b61637358803e
/hardware/libhardware/modules/sensors/dynamic_sensor/RingBuffer.cpp