2017-02-22 19:15:24 +01:00
|
|
|
# HwBinder IPC from client to server, and callbacks
|
|
|
|
binder_call(hal_dumpstate_client, hal_dumpstate_server)
|
|
|
|
binder_call(hal_dumpstate_server, hal_dumpstate_client)
|
2016-12-29 03:45:14 +01:00
|
|
|
|
2020-08-26 12:06:34 +02:00
|
|
|
set_prop(hal_dumpstate_server, hal_dumpstate_config_prop)
|
2020-08-18 04:25:32 +02:00
|
|
|
|
2018-06-06 18:30:18 +02:00
|
|
|
hal_attribute_hwservice(hal_dumpstate, hal_dumpstate_hwservice)
|
2021-11-16 10:06:00 +01:00
|
|
|
hal_attribute_service(hal_dumpstate, hal_dumpstate_service)
|
|
|
|
|
|
|
|
binder_call(hal_dumpstate_server, servicemanager)
|
2017-04-14 04:05:27 +02:00
|
|
|
|
2016-12-29 03:45:14 +01:00
|
|
|
# write bug reports in /data/data/com.android.shell/files/bugreports/bugreport
|
|
|
|
allow hal_dumpstate shell_data_file:file write;
|
2017-03-22 20:44:16 +01:00
|
|
|
# allow reading /proc/interrupts for all hal impls
|
|
|
|
allow hal_dumpstate proc_interrupts:file r_file_perms;
|
2022-08-11 20:18:37 +02:00
|
|
|
|
|
|
|
# Log fsck results
|
|
|
|
r_dir_file(hal_dumpstate, fscklogs)
|