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
5set_prop(hal_dumpstate_server, hal_dumpstate_config_prop)
6
7hal_attribute_hwservice(hal_dumpstate, hal_dumpstate_hwservice)
8hal_attribute_service(hal_dumpstate, hal_dumpstate_service)
9
10binder_call(hal_dumpstate_server, servicemanager)
11
12binder_use(hal_dumpstate_server)
13
14# write bug reports in /data/data/com.android.shell/files/bugreports/bugreport
15allow hal_dumpstate shell_data_file:file write;
16# allow reading /proc/interrupts for all hal impls
17allow hal_dumpstate proc_interrupts:file r_file_perms;
18
19# Log fsck results
20r_dir_file(hal_dumpstate, fscklogs)
21