1 # HwBinder IPC from client to server, and callbacks 2 binder_call(hal_dumpstate_client, hal_dumpstate_server) 3 binder_call(hal_dumpstate_server, hal_dumpstate_client) 4 5 add_hwservice(hal_dumpstate_server, hal_dumpstate_hwservice) 6 allow hal_dumpstate_client hal_dumpstate_hwservice:hwservice_manager find; 7 8 # write bug reports in /data/data/com.android.shell/files/bugreports/bugreport 9 allow hal_dumpstate shell_data_file:file write; 10 # allow reading /proc/interrupts for all hal impls 11 allow hal_dumpstate proc_interrupts:file r_file_perms; 12