Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0c7afdc authored by Stefano Galarraga's avatar Stefano Galarraga
Browse files

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
parent f211324b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -115,6 +115,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",