| # policy for /vendor/bin/hw/android.hardware.drm@1.0-service.widevine |
| 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 mediacodec:fd use; |
| allow hal_drm { appdomain -isolated_app }:fd use; |
| |
| # The Qualcomm DRM-HAL implementation uses a vendor-binder service provided |
| # by the HWC HAL. |
| allow hal_drm_widevine qdisplay_service:service_manager { find }; |
| binder_call(hal_drm_widevine, hal_graphics_composer) |