| type hal_drm_widevine, domain; |
| type hal_drm_widevine_exec, exec_type, vendor_file_type, file_type; |
| |
| init_daemon_domain(hal_drm_widevine) |
| |
| hal_server_domain(hal_drm_widevine, hal_drm) |
| |
| vndbinder_use(hal_drm_widevine) |
| |
| allow hal_drm_widevine mediacodec:fd use; |
| allow hal_drm_widevine { appdomain -isolated_app }:fd use; |
| |
| allow hal_drm_widevine hal_allocator_server:fd use; |
| |
| allow hal_drm_widevine mediadrm_data_file:dir create_dir_perms; |
| allow hal_drm_widevine mediadrm_data_file:file create_file_perms; |
| allow hal_drm_widevine vendor_data_file:dir create_dir_perms; |
| allow hal_drm_widevine vendor_data_file:file create_file_perms; |
| |
| allow hal_drm_widevine cpk_efs_file:file r_file_perms; |
| allow hal_drm_widevine efs_file:dir search; |