bd109b9374
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 |
||
---|---|---|
.. | ||
default | ||
vts/functional | ||
Android.bp | ||
ISensors.hal | ||
ISensorsCallback.hal | ||
types.hal |