blob: 75e59f3b45fc8e369e828c99f777191dfc73b530 [file] [log] [blame]
Alex Klyubin47174e32017-02-22 10:15:24 -08001# HwBinder IPC from client to server, and callbacks
2binder_call(hal_dumpstate_client, hal_dumpstate_server)
3binder_call(hal_dumpstate_server, hal_dumpstate_client)
Steven Moreland1ce910f2016-12-28 18:45:14 -08004
Alex Klyubin53656c12017-04-13 19:05:27 -07005add_hwservice(hal_dumpstate_server, hal_dumpstate_hwservice)
Steven Moreland8fc79812018-05-30 16:43:17 -07006hal_attribute_hwservice_client(hal_dumpstate, hal_dumpstate_hwservice)
Alex Klyubin53656c12017-04-13 19:05:27 -07007
Steven Moreland1ce910f2016-12-28 18:45:14 -08008# write bug reports in /data/data/com.android.shell/files/bugreports/bugreport
9allow hal_dumpstate shell_data_file:file write;
Sandeep Patila866a412017-03-22 12:44:16 -070010# allow reading /proc/interrupts for all hal impls
11allow hal_dumpstate proc_interrupts:file r_file_perms;