Skip to content
Snippets Groups Projects
Commit e4d21465 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

Allow dumping hal_graphics_composer_server and fix watchdog

Bug: 37152880
Bug: 37554633
Test: adb shell am hang --allow-restart
Test: adb shell dumpstate
Change-Id: Ie68607f3e3245a40056bdde7dd810ddf212b4295
parent 8d567da2
No related branches found
No related tags found
No related merge requests found
......@@ -204,6 +204,9 @@ add_hwservice(system_server, fwk_sensor_hwservice)
# Talk to tombstoned to get ANR traces.
unix_socket_connect(system_server, tombstoned_intercept, tombstoned)
# List HAL interfaces to get ANR traces.
allow system_server hwservicemanager:hwservice_manager list;
# Send signals to trigger ANR traces.
allow system_server {
# This is derived from the list that system server defines as interesting native processes
......@@ -225,6 +228,7 @@ allow system_server {
hal_audio_server
hal_bluetooth_server
hal_camera_server
hal_graphics_composer_server
hal_vr_server
mediacodec # TODO(b/36375899): hal_omx_server
}:process { signal };
......
......@@ -69,6 +69,7 @@ allow dumpstate {
hal_audio_server
hal_bluetooth_server
hal_camera_server
hal_graphics_composer_server
hal_vr_server
mediacodec # TODO(b/36375899): hal_omx_server
}:process signal;
......
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