xref: /aosp_15_r20/system/sepolicy/private/hal_evs.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Workerhwbinder_use(hal_evs_client)
2*e4a36f41SAndroid Build Coastguard Workerhwbinder_use(hal_evs_server)
3*e4a36f41SAndroid Build Coastguard Worker
4*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_evs_client, hal_evs_server)
5*e4a36f41SAndroid Build Coastguard Workerbinder_call(hal_evs_server, hal_evs_client)
6*e4a36f41SAndroid Build Coastguard Worker
7*e4a36f41SAndroid Build Coastguard Worker# Below lines are equivalent to hal_attribute_hwservice(hal_evs, hal_evs_hwservice)
8*e4a36f41SAndroid Build Coastguard Worker# except it allows evsmanagerd to add hal_evs_hwservice.
9*e4a36f41SAndroid Build Coastguard Workerallow hal_evs_client hal_evs_hwservice:hwservice_manager find;
10*e4a36f41SAndroid Build Coastguard Workerallow hal_evs_server hal_evs_hwservice:hwservice_manager { add find };
11*e4a36f41SAndroid Build Coastguard Workerallow hal_evs_server hidl_base_hwservice:hwservice_manager add;
12*e4a36f41SAndroid Build Coastguard Workerneverallow { domain -hal_evs_server -evsmanagerd } hal_evs_hwservice:hwservice_manager add;
13*e4a36f41SAndroid Build Coastguard Worker
14*e4a36f41SAndroid Build Coastguard Worker# Allows to add a service
15*e4a36f41SAndroid Build Coastguard Workerhal_attribute_service(hal_evs, hal_evs_service)
16