xref: /aosp_15_r20/system/sepolicy/private/hal_light.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Worker# HwBinder IPC from client to server, and callbacks
2*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_light_client, hal_light_server)
3*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_light_server, hal_light_client)
4*e4a36f41SAndroid Build Coastguard Worker
5*e4a36f41SAndroid Build Coastguard Workerhal_attribute_hwservice(hal_light, hal_light_hwservice)
6*e4a36f41SAndroid Build Coastguard Workerhal_attribute_service(hal_light, hal_light_service)
7*e4a36f41SAndroid Build Coastguard Worker
8*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_light_server, servicemanager)
9*e4a36f41SAndroid Build Coastguard Workerbinder_use(hal_light_client)
10*e4a36f41SAndroid Build Coastguard Worker
11*e4a36f41SAndroid Build Coastguard Workerallow hal_light_server dumpstate:fifo_file write;
12*e4a36f41SAndroid Build Coastguard Worker
13*e4a36f41SAndroid Build Coastguard Workerallow hal_light sysfs_leds:lnk_file read;
14*e4a36f41SAndroid Build Coastguard Workerallow hal_light sysfs_leds:file rw_file_perms;
15*e4a36f41SAndroid Build Coastguard Workerallow hal_light sysfs_leds:dir r_dir_perms;
16