History log of /device/google/contexthub/firmware/os/core/sensors.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4c23b9d47e485b1f578f297788f81cc94e99601b 10-Jan-2017 Ben Fennema <fennema@google.com> sensors: add broadcast on sensor rate/latency change

Add function to allow (un)subscribing to mutiple events at once
Add support for CHRE_EVENT_SENSOR_SAMPLING_CHANGE

Test: Passively subscribe to a sensor and confirm
CHRE_EVENT_SENSOR_SAMPLING_CHANGE events are received when the sensor
is turned on/off from sensorlogger.
Change-Id: I1e3b0dc6369eceb9029afc702c739e9ad4e3ca60
Signed-off-by: Ben Fennema <fennema@google.com>
/device/google/contexthub/firmware/os/core/sensors.c
b58d2ef821fd35174981ae4c6bd0153db4f1b786 09-Jan-2017 Ben Fennema <fennema@google.com> sensors: add support for getting requested rate/latency of sensor

Needed so chre can call correct sensor function when enabling or
disabling a sensor

Test: Run proximity gts test
Change-Id: I9ffce981200aa41b49be29c256f8dee87ebdeaec
Signed-off-by: Ben Fennema <fennema@google.com>
/device/google/contexthub/firmware/os/core/sensors.c
68406f70f209146e1af1224f68296e979e307604 29-Dec-2016 Ben Fennema <fennema@google.com> seos: release all requested sensors when unloading nanoapp

Test: run ContextHubBusyStartupNanoAppTest and verify accel is disabled
on app unload (accPower: on=0)
Change-Id: Ib185d37bf1d8776fed5cd53c9ab0fb5fcd4ffb6a
Signed-off-by: Ben Fennema <fennema@google.com>
/device/google/contexthub/firmware/os/core/sensors.c
6b9ccdeee53dd54d2c815b753412e83c1303a8ba 13-Jul-2016 Alexey Polyudov <apolyudov@google.com> initial CHRE API implementation for nanohub

This implementation does not yet have support for sensors (other than
enumeration). It does have support for heap management, events, host
messages, timers.

Bug: 30189428
Change-Id: I973bc25f787d325eb4fbca23d9949660b36b4677
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/device/google/contexthub/firmware/os/core/sensors.c
f805306b53d82eef67d8891a5dd5c32d3794a3ab 13-Jul-2016 Alexey Polyudov <apolyudov@google.com> build: restructure nanohub tree

1. rearrange tree so that soft links are no longer necessary
2. decouple OS variants build from app build
3. add support for output directory

Bug: 29635686
Change-Id: I273b823c29582a85c632e43c23b10fa44123d8af
/device/google/contexthub/firmware/os/core/sensors.c