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