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 hwservicemanager 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) 19hal_client_domain(automotive_display_service, hal_graphics_allocator) 20 21# Allow to read the target property. 22get_prop(automotive_display_service, hwservicemanager_prop) 23 24# Allow to find SurfaceFlinger. 25allow automotive_display_service surfaceflinger_service:service_manager find; 26 27# Allow client domain to do binder IPC to serverdomain. 28binder_call(automotive_display_service, surfaceflinger) 29 30# Allow to use a graphics mapper 31allow automotive_display_service hal_graphics_mapper_hwservice:hwservice_manager find; 32 33# Allow to use hidl token service 34allow automotive_display_service hidl_token_hwservice:hwservice_manager find; 35 36# Allow to access EGL files 37allow automotive_display_service gpu_device:chr_file rw_file_perms; 38allow automotive_display_service gpu_device:dir search; 39 40# Allow to add a service to the servicemanager 41add_service(automotive_display_service, fwk_automotive_display_service); 42 43# Allow to communicate with EVS services 44binder_call(automotive_display_service, hal_evs) 45