This CL supports sensor operation parameter update. Specifically
update of location geomagnetic field information is added.
Local geomagnetic field strength, declination, inclination information
is useful for magnetometer calibration. It also benefits rotation
vector sensor implementation as it gives a baseline that aids detecting
magnetic field disturbance.
Bug: 30958130
Test: Tested with marlin. Modified hal implementation can get local
geomagnetic field.
Change-Id: I8b717fd8e805d2ac84dd640a670be98116c9418c
Dynamic sensor extension to nanohub HAL:
* Create new device config switch
NANOHUB_SENSORHAL_DYNAMIC_SENSOR_EXT_ENABLED to control
inclusion of dynamic sensor extension.
* Add interface code to DynamicSensorManager.
* Add dispatcher pattern to distribute sensor operation to
the correct entity.
Test: run cts tests about dynamic sensors,
checked basic sensor functionality using sensorlogger
Change-Id: I3180fa1d7de04b8c18ec2b3436ed998311785423
This change implements direct report for accel, gyro and mag at normal
and fast rate level. It supports ashmem shared memory.
The direct report and traditional sensor subscription are still
tangled up in this implementation.
Bug: 30985702
Bug: 33588372
Test: tested via demo app
Change-Id: Idc4f626dfe624558718c1b04f16898a0ea247e62
This change adds support for a different sensor list depending
on the type of device.
Bug: 27943736
Change-Id: Id8c30b9b72084576d11546a663de7327fb29d76f
We use the C++ keyword 'explicit' on our single argument
constructors to avoid accidental implicit conversion.
Change-Id: Icf16954ece9b56d401846e74721f0406d4ed9f29