platform_hardware_interfaces/sensors/common/default/2.X
Hsin-Yi Chen adac97fa08 Use CLOCK_BOOTTIME for default sensor implementation
The sensor implementation used to generate periodic signals according to
CLOCK_REALTIME. The clock can be adjusted by user or synchronization
service and results in wrong period. This commit changes it to
CLOCK_BOOTTIME which is monotonic.

Test: atest VtsHalSensorsV2_0TargetTest
Test: atest VtsHalSensorsV2_1TargetTest
Test: atest CtsSensorTestCases
Bug: 194030777
Change-Id: Iac39c93d6d2518b1abe8fc07fd695b9bb2cf30a5
2021-09-03 12:07:15 +08:00
..
multihal Use CLOCK_BOOTTIME for default sensor implementation 2021-09-03 12:07:15 +08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
OWNERS Add default impl of Sensors HAL 2.1 2020-02-18 15:24:35 -05:00
Sensor.cpp Use CLOCK_BOOTTIME for default sensor implementation 2021-09-03 12:07:15 +08:00
Sensor.h Set default value for pressure sensor 2020-12-03 18:45:56 +08:00
Sensors.h Strip hinge angle sensor when running a 2.1 HAL as 2.0 2020-11-16 05:21:25 +00:00