1# Display proxy service for Automotive
2type automotive_display_service, domain, coredomain;
3type automotive_display_service_exec, system_file_type, exec_type, file_type;
4
5typeattribute automotive_display_service automotive_display_service_server;
6
7# Allow to add a display service to the manager
8add_hwservice(automotive_display_service, fwk_automotive_display_hwservice);
9
10# Allow init to launch automotive display service
11init_daemon_domain(automotive_display_service)
12
13# Allow to use Binder IPC for SurfaceFlinger.
14binder_use(automotive_display_service)
15
16# Allow to use HwBinder IPC for HAL implementations.
17hwbinder_use(automotive_display_service)
18hal_client_domain(automotive_display_service, hal_graphics_composer)
19
20# Allow to read the target property.
21get_prop(automotive_display_service, hwservicemanager_prop)
22
23# Allow to find SurfaceFlinger.
24allow automotive_display_service surfaceflinger_service:service_manager find;
25
26# Allow client domain to do binder IPC to serverdomain.
27binder_call(automotive_display_service, surfaceflinger)
28
29# Allow to use a graphics mapper
30allow automotive_display_service hal_graphics_mapper_hwservice:hwservice_manager find;
31
32# Allow to use hidl token service
33allow automotive_display_service hidl_token_hwservice:hwservice_manager find;
34