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/SensorManager.cpp
|
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/SensorManager.cpp
|
d9c8a864e193d7ae3d0a04c1aa7ff15da955fb0f |
|
05-Mar-2017 |
Peng Xu <pengxu@google.com> |
Sensor direct report with HardwareBuffer channel Implement creation of sensor direct channel in sensor service for sensor direct report feature. Bug: 30985702 Test: cts-tradefed run cts --module CtsSensorTestCases --test android.hardware.cts.SensorDirectReportTest Test: cts-tradefed run cts --module CtsSensorTestCases --test android.hardware.cts.SensorNativeTest Change-Id: I52350811df538986cea7f5e1fb336fad53234c86
/frameworks/native/libs/sensor/SensorManager.cpp
|
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/SensorManager.cpp
|