Merge "Allow dumping hal_graphics_composer_server and fix watchdog" into oc-dev

This commit is contained in:
TreeHugger Robot 2017-04-22 09:00:07 +00:00 committed by Android (Google) Code Review
commit 1f02d0cd2e
2 changed files with 5 additions and 0 deletions

View file

@ -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 };

View file

@ -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;