1# Allow use of USB devices, gralloc buffers, and surface flinger 2hal_client_domain(hal_evs_default, hal_graphics_allocator); 3hal_client_domain(hal_evs_default, hal_graphics_composer) 4 5# Allow the driver to access EGL 6allow hal_evs_default gpu_device:chr_file rw_file_perms; 7allow hal_evs_default gpu_device:dir search; 8 9# Allow the driver to use SurfaceFlinger 10binder_call(hal_evs_default, surfaceflinger); 11allow hal_evs_default surfaceflinger_service:service_manager find; 12allow hal_evs_default ion_device:chr_file r_file_perms; 13 14# Allow the driver to use automotive display proxy service 15binder_call(hal_evs_default, automotive_display_service_server); 16allow hal_evs_default fwk_automotive_display_hwservice:hwservice_manager find; 17