# Allow use of USB devices, gralloc buffers, and surface flinger hal_client_domain(hal_evs_default, hal_graphics_allocator); hal_client_domain(hal_evs_default, hal_graphics_composer) # Allow the driver to access EGL allow hal_evs_default gpu_device:chr_file rw_file_perms; allow hal_evs_default gpu_device:dir search; # Allow the driver to use SurfaceFlinger binder_call(hal_evs_default, surfaceflinger); allow hal_evs_default surfaceflinger_service:service_manager find; allow hal_evs_default ion_device:chr_file r_file_perms; # Allow the driver to use automotive display proxy service binder_call(hal_evs_default, automotive_display_service_server); allow hal_evs_default fwk_automotive_display_hwservice:hwservice_manager find;