tzh
2024-08-15 d4a1bd480003f3e1a0590bc46fbcb24f05652ca7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# awdisplay - awdisplay service
type awdisplay, domain;
type awdisplay_exec, exec_type, system_file_type, file_type;
init_daemon_domain(awdisplay)
 
typeattribute awdisplay coredomain;
typeattribute awdisplay mlstrustedsubject;
typeattribute awdisplay display_service_server;
 
#read_runtime_log_tags(surfaceflinger)
 
# Perform HwBinder IPC.
hal_client_domain(awdisplay, hal_graphics_allocator)
hal_client_domain(awdisplay, hal_graphics_composer)
hal_client_domain(awdisplay, hal_configstore)
allow awdisplay hidl_token_hwservice:hwservice_manager find;
 
# Perform Binder IPC.
binder_use(awdisplay)
binder_call(awdisplay, binderservicedomain)
binder_call(awdisplay, appdomain)
binder_call(awdisplay, bootanim)
binder_service(awdisplay)
 
# Binder IPC to bu, presently runs in adbd domain.
binder_call(awdisplay, adbd)
 
# Set properties.
set_prop(awdisplay, system_prop)
 
allow awdisplay surfaceflinger_service:service_manager { add find };
allow awdisplay vendor_displayconfig_hwservice:hwservice_manager find;