diff options
| author | 2020-03-18 17:01:42 +0000 | |
|---|---|---|
| committer | 2020-03-26 16:37:24 +0000 | |
| commit | 219f1e597ee43c7469fce1d0fe233a401f45dcd6 (patch) | |
| tree | 8e4229ce66731905e17c3256158420ccdf25acb2 | |
| parent | f0d5687181c33e34bacb27cf2726e1f893ab6948 (diff) | |
Add NNAPI processes to ANR
Bug: 145388549
Test: manually as described below
Tested by causing a hang on a NNAPI-based app and checking NNAPI
processes dumps in ANR report.
Process:
- adb shell am hang --allow-restart
- adb pull /data/anr/*
- grep neuralnetworks anr_* | wc -l
- Verify count is >0 when run on a device flashed with this CL in.
Change-Id: I17eef38fda6332d5af4f2d946619a5a84c208c2d
Merged-In: I17eef38fda6332d5af4f2d946619a5a84c208c2d
| -rw-r--r-- | services/core/java/com/android/server/Watchdog.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/Watchdog.java b/services/core/java/com/android/server/Watchdog.java index 056156745966..061ff42de60b 100644 --- a/services/core/java/com/android/server/Watchdog.java +++ b/services/core/java/com/android/server/Watchdog.java @@ -120,6 +120,7 @@ public class Watchdog extends Thread { "android.hardware.media.c2@1.0::IComponentStore", "android.hardware.media.omx@1.0::IOmx", "android.hardware.media.omx@1.0::IOmxStore", + "android.hardware.neuralnetworks@1.0::IDevice", "android.hardware.power.stats@1.0::IPowerStats", "android.hardware.sensors@1.0::ISensors", "android.hardware.vr@1.0::IVr", |