1*e4a36f41SAndroid Build Coastguard Worker# HwBinder IPC from client to server, and callbacks 2*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_dumpstate_client, hal_dumpstate_server) 3*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_dumpstate_server, hal_dumpstate_client) 4*e4a36f41SAndroid Build Coastguard Worker 5*e4a36f41SAndroid Build Coastguard Workerset_prop(hal_dumpstate_server, hal_dumpstate_config_prop) 6*e4a36f41SAndroid Build Coastguard Worker 7*e4a36f41SAndroid Build Coastguard Workerhal_attribute_hwservice(hal_dumpstate, hal_dumpstate_hwservice) 8*e4a36f41SAndroid Build Coastguard Workerhal_attribute_service(hal_dumpstate, hal_dumpstate_service) 9*e4a36f41SAndroid Build Coastguard Worker 10*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_dumpstate_server, servicemanager) 11*e4a36f41SAndroid Build Coastguard Worker 12*e4a36f41SAndroid Build Coastguard Workerbinder_use(hal_dumpstate_server) 13*e4a36f41SAndroid Build Coastguard Worker 14*e4a36f41SAndroid Build Coastguard Worker# write bug reports in /data/data/com.android.shell/files/bugreports/bugreport 15*e4a36f41SAndroid Build Coastguard Workerallow hal_dumpstate shell_data_file:file write; 16*e4a36f41SAndroid Build Coastguard Worker# allow reading /proc/interrupts for all hal impls 17*e4a36f41SAndroid Build Coastguard Workerallow hal_dumpstate proc_interrupts:file r_file_perms; 18*e4a36f41SAndroid Build Coastguard Worker 19*e4a36f41SAndroid Build Coastguard Worker# Log fsck results 20*e4a36f41SAndroid Build Coastguard Workerr_dir_file(hal_dumpstate, fscklogs) 21