Skip to content
Commit 5fe631dd authored by Kalesh Singh's avatar Kalesh Singh
Browse files

Add SystemSuspend HAL to ANR list.

Makes SystemSuspend native stack traces available in
ANR dumps and adb bugreport.

Bug: 135458700

Test: adb shell am hang; check /data/anr/<anr file>
for android.system.suspend stack traces.

Test: adb shell am hang, adb bugreport,
grep through bug report for suspend stack traces.
(grep -rn "Cmd line: /system/bin/hw/android.system.suspend@1.0-service")

Test: Confirmed that deadlock on suspend/resume path triggers ANR dump.
Simulated deadlock by adding sleep to suspend thread.
Unplug the device lock the screen and wait for suspend to trigger.
Check anr dump and bugreport for stack traces.

Test: Confirmed traces are also available on user builds via adb bugreport.
(adb bugreport pulls data from ANR dump files).

Change-Id: Icfc67c544e8d3fe3ef59ac12801c1a82c5545935
Merged-In: Id274afd4e3fbe2288ef6d5f6566c2601b8fc0a50
parent 7824b311
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment