xref: /aosp_15_r20/system/sepolicy/private/evsmanagerd.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Worker# evsmanager
2*e4a36f41SAndroid Build Coastguard Workertypeattribute evsmanagerd coredomain;
3*e4a36f41SAndroid Build Coastguard Workertypeattribute evsmanagerd evsmanager_service_server;
4*e4a36f41SAndroid Build Coastguard Worker
5*e4a36f41SAndroid Build Coastguard Workertype evsmanagerd_exec, system_file_type, exec_type, file_type;
6*e4a36f41SAndroid Build Coastguard Worker
7*e4a36f41SAndroid Build Coastguard Workerinit_daemon_domain(evsmanagerd);
8*e4a36f41SAndroid Build Coastguard Worker
9*e4a36f41SAndroid Build Coastguard Worker# Declares as a binder service
10*e4a36f41SAndroid Build Coastguard Workerbinder_service(evsmanagerd)
11*e4a36f41SAndroid Build Coastguard Worker
12*e4a36f41SAndroid Build Coastguard Worker# Allows to add a service to service_manager
13*e4a36f41SAndroid Build Coastguard Workeradd_service(evsmanagerd, evsmanagerd_service)
14*e4a36f41SAndroid Build Coastguard Worker
15*e4a36f41SAndroid Build Coastguard Worker# Allows to use the binder IPC
16*e4a36f41SAndroid Build Coastguard Workerbinder_use(evsmanagerd)
17*e4a36f41SAndroid Build Coastguard Worker
18*e4a36f41SAndroid Build Coastguard Worker# Allows binder IPCs to the various system services
19*e4a36f41SAndroid Build Coastguard Workerbinder_call(evsmanagerd, system_server)
20*e4a36f41SAndroid Build Coastguard Worker
21*e4a36f41SAndroid Build Coastguard Worker# Allows to use EVS HAL implementations
22*e4a36f41SAndroid Build Coastguard Workerhal_client_domain(evsmanagerd, hal_evs)
23*e4a36f41SAndroid Build Coastguard Worker
24*e4a36f41SAndroid Build Coastguard Worker# Allows to write messages to the shell
25*e4a36f41SAndroid Build Coastguard Workerallow evsmanagerd shell:fd use;
26*e4a36f41SAndroid Build Coastguard Workerallow evsmanagerd shell:fifo_file write;
27*e4a36f41SAndroid Build Coastguard Worker
28*e4a36f41SAndroid Build Coastguard Worker# Allows to use the graphics allocator
29*e4a36f41SAndroid Build Coastguard Workerallow evsmanagerd hal_graphics_allocator:fd use;
30*e4a36f41SAndroid Build Coastguard Worker
31*e4a36f41SAndroid Build Coastguard Worker# Allows to use a bootstrap statsd
32*e4a36f41SAndroid Build Coastguard Workerallow evsmanagerd statsbootstrap_service:service_manager find;
33*e4a36f41SAndroid Build Coastguard Worker
34*e4a36f41SAndroid Build Coastguard Worker# Allows binder IPCs to the CarService
35*e4a36f41SAndroid Build Coastguard Workerbinder_call(evsmanagerd, appdomain)
36*e4a36f41SAndroid Build Coastguard Worker
37*e4a36f41SAndroid Build Coastguard Worker# For HIDL evs manager implementation
38*e4a36f41SAndroid Build Coastguard Workerallow evsmanagerd hal_evs_hwservice:hwservice_manager add;
39*e4a36f41SAndroid Build Coastguard Workerallow evsmanagerd hidl_base_hwservice:hwservice_manager add;
40