blob: fa11ca4246317bb2b30348db634af532f789d6af [file] [log] [blame]
Changyeon Jo17b38d52020-02-07 00:57:16 +00001# Display proxy service for Automotive
2type automotive_display_service, domain, coredomain;
3type automotive_display_service_exec, system_file_type, exec_type, file_type;
Haoxiang Li741b9cd2019-11-13 11:25:55 -08004
Changyeon Jo17b38d52020-02-07 00:57:16 +00005typeattribute 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)
Haoxiang Li741b9cd2019-11-13 11:25:55 -080012
13# Allow to use Binder IPC for SurfaceFlinger.
Changyeon Jo17b38d52020-02-07 00:57:16 +000014binder_use(automotive_display_service)
Haoxiang Li741b9cd2019-11-13 11:25:55 -080015
16# Allow to use HwBinder IPC for HAL implementations.
Changyeon Jo17b38d52020-02-07 00:57:16 +000017hwbinder_use(automotive_display_service)
18hal_client_domain(automotive_display_service, hal_graphics_composer)
Haoxiang Li741b9cd2019-11-13 11:25:55 -080019
20# Allow to read the target property.
Changyeon Jo17b38d52020-02-07 00:57:16 +000021get_prop(automotive_display_service, hwservicemanager_prop)
Haoxiang Li741b9cd2019-11-13 11:25:55 -080022
23# Allow to find SurfaceFlinger.
Changyeon Jo17b38d52020-02-07 00:57:16 +000024allow automotive_display_service surfaceflinger_service:service_manager find;
Haoxiang Li741b9cd2019-11-13 11:25:55 -080025
26# Allow client domain to do binder IPC to serverdomain.
Changyeon Jo17b38d52020-02-07 00:57:16 +000027binder_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;