platform_hardware_interfaces/sensors/2.0/default
Brian Stack d3849e1029 Stop Wake Lock thread if it is running
If the Wake Lock thread is running, stop it whenever initialize() is
called in order to prevent an invalid Wake Lock Queue from being read.

Also disable all sensors whenever initialize() is called to ensure
that stale sensor registrations are properly cleaned up.

Bug: 122468928
Test: Sensors HAL 2.0 tests run without crashing
Change-Id: I5fb55628545adbb481da6fcda157c78cff834134
2019-01-09 17:08:34 +00:00
..
Android.bp Acquire and Release Wake Lock 2018-11-14 16:04:44 -08:00
android.hardware.sensors@2.0-service.rc Create Sensors HAL 2.0 Default Implementation 2018-10-24 16:15:59 -07:00
OWNERS Create Sensors HAL 2.0 Default Implementation 2018-10-24 16:15:59 -07:00
Sensor.cpp Acquire and Release Wake Lock 2018-11-14 16:04:44 -08:00
Sensor.h Acquire and Release Wake Lock 2018-11-14 16:04:44 -08:00
Sensors.cpp Stop Wake Lock thread if it is running 2019-01-09 17:08:34 +00:00
Sensors.h Acquire and Release Wake Lock 2018-11-14 16:04:44 -08:00
service.cpp Create Sensors HAL 2.0 Default Implementation 2018-10-24 16:15:59 -07:00