No description
Find a file
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
atrace/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
audio Audio HAL: Add optional Destination to SinkMetadata 2018-12-19 16:12:39 -08:00
authsecret/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
automotive Merge "Fix performance-for-range-copy warnings" am: d01f7050ac am: 51e835ce22 2018-12-17 14:09:52 -08:00
biometrics Move lockout to below the HAL 2018-12-14 16:44:26 -08:00
bluetooth pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
boot/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
broadcastradio pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
camera Merge "Camera: Make logical camera physical Ids to be ndk public" 2018-12-21 18:23:35 +00:00
cas Rename registerServiceWithCallback 2019-01-03 15:23:12 -08:00
compatibility_matrices Merge "fcm: kernel: Remove 4.4 kernel from current matrix" am: 2953251eff am: 06f0bd516d 2019-01-04 19:06:42 -08:00
configstore pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
confirmationui pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
contexthub/1.0 Merge "Fix performance-for-range-copy warnings" am: d01f7050ac am: 51e835ce22 2018-12-17 14:09:52 -08:00
drm Merge "Fix performance-for-range-copy warnings" am: d01f7050ac am: 51e835ce22 2018-12-17 14:09:52 -08:00
dumpstate/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
fastboot/1.0 Update makefiles. 2018-10-16 16:36:45 -07:00
gatekeeper/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
gnss Extend IAGnss.hal to address requestRouteToHost deprecation 2018-12-21 15:28:35 -08:00
graphics Merge "[Graphics] Add lpy@ and vhau@ to OWNER file." 2019-01-04 03:19:39 +00:00
health health: Fix typos in README 2019-01-04 19:57:12 +01:00
ir/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
keymaster pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
light pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
media Use bufferpool@2.0 2018-12-11 17:36:56 -08:00
memtrack/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
neuralnetworks Add @1.2::IPreparedModel::executeSynchronously() and corresponding VTS tests. 2019-01-02 11:13:11 -08:00
nfc Merge "Add android.hardware.nfc@1.2" 2019-01-04 19:56:41 +00:00
oemlock/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
power pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
prebuilt_hashes Add dump_hals_for_release. 2018-11-01 16:34:32 -07:00
radio Add mnc and modify docs for emergencyDial 2018-12-27 14:15:13 -08:00
renderscript/1.0 Fix cert-dcl16-c clang-tidy warnings. 2018-12-12 15:39:15 -08:00
secure_element/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
sensors Stop Wake Lock thread if it is running 2019-01-09 17:08:34 +00:00
soundtrigger Fixing memory corruption bug in sound trigger V2_2 2018-12-19 20:20:56 +01:00
tests pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
tetheroffload pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
thermal Add NPU type sensor type 2018-12-10 10:41:53 -08:00
tv pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
usb pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
vibrator pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
vr/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
weaver/1.0 pack VTS cc_test binaries as general-tests 2018-12-07 10:49:56 -08:00
wifi Merge "[DPP] Add DPP key management capability API" 2019-01-03 17:05:44 +00:00
.clang-format .clang-format: 100 lines 2017-05-02 16:45:27 -07:00
Android.bp Package all VTS binaries for HALs as part of general-tests 2018-12-03 20:00:08 +00:00
CleanSpec.mk CleanSpec: Remove stale configstore@1.1-service.rc 2018-08-29 13:52:24 -07:00
current.txt Merge "Camera: Make logical camera physical Ids to be ndk public" 2018-12-21 18:23:35 +00:00
MODULE_LICENSE_APACHE2 Apache2 module license. 2016-08-30 11:28:36 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS Add OWNERS in hardware/interfaces 2017-06-12 13:20:12 -07:00
PREUPLOAD.cfg Enable the clang-format pre-submit hook 2017-03-30 13:26:49 -07:00
update-base-files.sh Adding Dataspace BT2020_SRGB and ColorMode BT2020_SRGB 2018-10-22 11:19:52 -07:00
update-makefiles.sh run vts build rule updater when hal make files are updated 2018-10-19 12:34:16 -07:00