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 mediacodec:fd use;
11allow hal_drm { appdomain -isolated_app }:fd use;
12
13allow hal_drm_widevine hal_allocator_server:fd use;
14
15allow hal_drm_widevine mediadrm_vendor_data_file:dir create_dir_perms;
16allow hal_drm_widevine mediadrm_vendor_data_file:file create_file_perms;
17allow hal_drm_widevine hal_display_config_hwservice:hwservice_manager find;
18binder_call(hal_drm_widevine, hal_graphics_composer_default)
19