Alex Klyubin | 47174e3 | 2017-02-22 10:15:24 -0800 | [diff] [blame] | 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) |
Steven Moreland | 1ce910f | 2016-12-28 18:45:14 -0800 | [diff] [blame] | 4 | |
Alex Klyubin | 53656c1 | 2017-04-13 19:05:27 -0700 | [diff] [blame^] | 5 | add_hwservice(hal_dumpstate_server, hal_dumpstate_hwservice) |
| 6 | allow hal_dumpstate_client hal_dumpstate_hwservice:hwservice_manager find; |
| 7 | |
Steven Moreland | 1ce910f | 2016-12-28 18:45:14 -0800 | [diff] [blame] | 8 | # write bug reports in /data/data/com.android.shell/files/bugreports/bugreport |
| 9 | allow hal_dumpstate shell_data_file:file write; |
Sandeep Patil | a866a41 | 2017-03-22 12:44:16 -0700 | [diff] [blame] | 10 | # allow reading /proc/interrupts for all hal impls |
| 11 | allow hal_dumpstate proc_interrupts:file r_file_perms; |