Watchdog HIDL->AIDL parity.
Dump HALs which we found important to dump in HIDL as they have been converted to AIDL. Fixes: 268730656 Test: the following :) adb shell am hang # wait 30+s :) adb shell cat /data/anr/anr_2023-02-14-00-34-51-526 | grep Cmd\ line | sort -u Cmd line: /apex/com.android.hardware.power/bin/hw/android.hardware.power-service.example Cmd line: /apex/com.android.hardware.power/bin/hw/android.hardware.power.stats-service.example Cmd line: /apex/com.android.hardware.vibrator/bin/hw/android.hardware.vibrator-service.example Cmd line: /apex/com.android.os.statsd/bin/statsd Cmd line: /apex/com.google.cf.bt/bin/hw/android.hardware.bluetooth-service.default Cmd line: /apex/com.google.emulated.camera.provider.hal/bin/hw/android.hardware.camera.provider@2.7-service-google Cmd line: com.android.bluetooth Cmd line: com.android.phone Cmd line: com.android.providers.media.module Cmd line: media.extractor aextractor Cmd line: media.metrics diametrics Cmd line: media.swcodec oid.media.swcodec/bin/mediaswcodec Cmd line: /system/bin/audioserver Cmd line: /system/bin/cameraserver Cmd line: /system/bin/drmserver Cmd line: /system/bin/hw/android.system.suspend-service Cmd line: /system/bin/keystore2 /data/misc/keystore Cmd line: /system/bin/mediaserver Cmd line: /system/bin/netd Cmd line: /system/bin/surfaceflinger Cmd line: /system/bin/vold --blkid_context=u:r:blkid:s0 --blkid_untrusted_context=u:r:blkid_untrusted:s0 --fsck_context=u:r:fsck:s0 --fsck_untrusted_context=u:r:fsck_untrusted:s0 Cmd line: system_server Cmd line: /vendor/bin/hw/android.hardware.audio.service Cmd line: /vendor/bin/hw/android.hardware.biometrics.face-service.example Cmd line: /vendor/bin/hw/android.hardware.biometrics.fingerprint-service.example Cmd line: /vendor/bin/hw/android.hardware.gnss-service.example Cmd line: /vendor/bin/hw/android.hardware.graphics.allocator-service.minigbm Cmd line: /vendor/bin/hw/android.hardware.graphics.composer3-service.ranchu Cmd line: /vendor/bin/hw/android.hardware.health-service.cuttlefish Cmd line: /vendor/bin/hw/android.hardware.input.processor-service.example Cmd line: /vendor/bin/hw/android.hardware.lights-service.example Cmd line: /vendor/bin/hw/android.hardware.neuralnetworks-service-sample-all Cmd line: /vendor/bin/hw/android.hardware.neuralnetworks-service-sample-limited Cmd line: /vendor/bin/hw/android.hardware.neuralnetworks-shim-service-sample Cmd line: /vendor/bin/hw/android.hardware.sensors-service.example Change-Id: I543096a13b81f347f7c12f9a8e1c7f24c0297593
This commit is contained in:
@@ -160,13 +160,21 @@ public class Watchdog implements Dumpable {
|
||||
public static final String[] AIDL_INTERFACE_PREFIXES_OF_INTEREST = new String[] {
|
||||
"android.hardware.biometrics.face.IFace/",
|
||||
"android.hardware.biometrics.fingerprint.IFingerprint/",
|
||||
"android.hardware.bluetooth.IBluetoothHci/",
|
||||
"android.hardware.camera.provider.ICameraProvider/",
|
||||
"android.hardware.gnss.IGnss/",
|
||||
"android.hardware.graphics.allocator.IAllocator/",
|
||||
"android.hardware.graphics.composer3.IComposer/",
|
||||
"android.hardware.health.IHealth/",
|
||||
"android.hardware.input.processor.IInputProcessor/",
|
||||
"android.hardware.light.ILights/",
|
||||
"android.hardware.neuralnetworks.IDevice/",
|
||||
"android.hardware.power.IPower/",
|
||||
"android.hardware.power.stats.IPowerStats/",
|
||||
"android.hardware.sensors.ISensors/",
|
||||
"android.hardware.vibrator.IVibrator/",
|
||||
"android.hardware.vibrator.IVibratorManager/"
|
||||
"android.hardware.vibrator.IVibratorManager/",
|
||||
"android.system.suspend.ISystemSuspend/",
|
||||
};
|
||||
|
||||
private static Watchdog sWatchdog;
|
||||
|
||||
Reference in New Issue
Block a user