android13/device/google/gs101-sepolicy/whitechapel/vendor/google/mediacodec.te

12 lines
451 B
Plaintext

userdebug_or_eng(`
set_prop(mediacodec, vendor_codec2_debug_prop)
allow mediacodec vendor_media_data_file:dir rw_dir_perms;
allow mediacodec vendor_media_data_file:file create_file_perms;
')
add_service(mediacodec, eco_service)
allow mediacodec hal_camera_default:binder call;
allow mediacodec sysfs_video:file r_file_perms;
allow mediacodec sysfs_video:dir r_dir_perms;
allow mediacodec dmabuf_system_secure_heap_device:chr_file r_file_perms;