Branch zuma from gs201
Branch zuma from gs201 sha1 63751751aa91275b083797278d638078b3a0bf7a cp/pantah/ripcurrent cp/gs201/zuma Bug: 229340586 Change-Id: Ie692d8dbbf0fc4d3b376dc9fe3e930bd3955a88e Signed-off-by: Aaron Ding <aaronding@google.com>
This commit is contained in:
parent
e4a3061192
commit
e47b3d9991
199 changed files with 3343 additions and 0 deletions
3
widevine/file.te
Normal file
3
widevine/file.te
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Widevine DRM
|
||||
type mediadrm_vendor_data_file, file_type, data_file_type;
|
||||
|
5
widevine/file_contexts
Normal file
5
widevine/file_contexts
Normal file
|
@ -0,0 +1,5 @@
|
|||
/vendor/bin/hw/android\.hardware\.drm-service\.widevine u:object_r:hal_drm_widevine_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.drm-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
|
||||
|
||||
# Data
|
||||
/data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0
|
5
widevine/hal_drm_clearkey.te
Normal file
5
widevine/hal_drm_clearkey.te
Normal file
|
@ -0,0 +1,5 @@
|
|||
type hal_drm_clearkey, domain;
|
||||
type hal_drm_clearkey_exec, vendor_file_type, exec_type, file_type;
|
||||
init_daemon_domain(hal_drm_clearkey)
|
||||
|
||||
hal_server_domain(hal_drm_clearkey, hal_drm)
|
12
widevine/hal_drm_widevine.te
Normal file
12
widevine/hal_drm_widevine.te
Normal file
|
@ -0,0 +1,12 @@
|
|||
type hal_drm_widevine, domain;
|
||||
type hal_drm_widevine_exec, vendor_file_type, exec_type, file_type;
|
||||
init_daemon_domain(hal_drm_widevine)
|
||||
|
||||
hal_server_domain(hal_drm_widevine, hal_drm)
|
||||
|
||||
# L3
|
||||
allow hal_drm_widevine mediadrm_vendor_data_file:file create_file_perms;
|
||||
allow hal_drm_widevine mediadrm_vendor_data_file:dir create_dir_perms;
|
||||
|
||||
# L1
|
||||
allow hal_drm_widevine dmabuf_system_heap_device:chr_file r_file_perms;
|
1
widevine/service_contexts
Normal file
1
widevine/service_contexts
Normal file
|
@ -0,0 +1 @@
|
|||
android.hardware.drm.IDrmFactory/widevine u:object_r:hal_drm_service:s0
|
Loading…
Add table
Add a link
Reference in a new issue