1type hal_drm_widevine, domain; 2type hal_drm_widevine_exec, exec_type, vendor_file_type, file_type; 3 4init_daemon_domain(hal_drm_widevine) 5 6hal_server_domain(hal_drm_widevine, hal_drm) 7 8vndbinder_use(hal_drm_widevine); 9 10allow hal_drm_widevine mediacodec:fd use; 11 12# The Qualcomm DRM-HAL implementation uses a vendor-binder service provided 13# by the HWC HAL. 14allow hal_drm_widevine qdisplay_service:service_manager { find }; 15binder_call(hal_drm_widevine, hal_graphics_composer) 16 17allow hal_drm_widevine hal_allocator_server:fd use; 18 19allow hal_drm_widevine mediadrm_vendor_data_file:dir create_dir_perms; 20allow hal_drm_widevine mediadrm_vendor_data_file:file create_file_perms; 21