platform_hardware_interfaces/sensors/2.0
Brian Duddie bd109b9374 Avoid NPD when re-initializing HAL fails
If the sensors HAL crashes or errors out during a test where we manually
re-run the environment setup function (e.g.
CleanupConnectionsOnInitialize), the pointer to the interface will
become null. Avoid dereferencing it by checking for nullness in the
per-test setup function and after each manual setup call. Also add a
death recipient to help identify instances where the HAL crashes during
a test.

Bug: 135638664
Test: run VTS on device where HAL crashes during above mentioned test
Change-Id: Iff7aa159c6b859272cfd18e7efb3ca431ea214fc
2019-06-20 13:36:43 -07:00
..
default Rename init script for Sensors 2.0 Mock Service 2019-03-29 15:21:27 -07:00
vts/functional Avoid NPD when re-initializing HAL fails 2019-06-20 13:36:43 -07:00
Android.bp Update makefies: no 'types' internal 2019-03-04 14:09:25 -08:00
ISensors.hal Add guidance for avoiding race in Sensors HAL 2.0 2019-06-15 00:49:05 +00:00
ISensorsCallback.hal Define the ISensorsCallback 2018-09-24 21:33:11 +00:00
types.hal Add WakeLockQueueFlagBits to Sensors 2.0 2019-01-10 16:41:06 -08:00