dd5c5cb3b8f3df9b458dff74e247b9a542befee7 |
|
17-Mar-2017 |
Peng Xu <pengxu@google.com> |
Set sensor operation parameter implementation Set operation parameter to sensor HAL. Possible paramters include local geomagnetic field, local gravity acceleration, device dock state, whether device should run in high performance mode, and if a magnetic field calibration guide is in progress. Bug: 30958130 Test: Tested with marlin. Modified hal implementation can get local geomagnetic field. Change-Id: Idaedd9e616d01383ba244cc64cf3e319ce02191f
/frameworks/native/libs/sensor/include/sensor/SensorManager.h
|
fe5476a3cc7323f2142c58333984fb98dec50376 |
|
18-Mar-2017 |
Peng Xu <pengxu@google.com> |
Avoid locking global map during waiting for service Wait for service before attempting to get a SensorManager object. Bug: 36389997 Bug: 36404344 Test: system boots, sensors working with sensorlogger test Change-Id: Ib5d41bc58edb8f6be56f803324a79a99a50da45e
/frameworks/native/libs/sensor/include/sensor/SensorManager.h
|
801ea093b0e923a61b832f2adba698a273479880 |
|
07-Mar-2017 |
Mathias Agopian <mathias@google.com> |
split libsensor our of libgui Test: compile & run Bug: treble cleanup Change-Id: I5b2c2a14f7d3b364d25695cf0901c5b08cfb0fc9
/frameworks/native/libs/sensor/include/sensor/SensorManager.h
|