Merge "Add permission for mediacodec to bindercall camera hal" into main

This commit is contained in:
Timmy Li 2024-10-07 17:40:31 +00:00 committed by Android (Google) Code Review
commit 46b0571690

View file

@ -1,3 +1,4 @@
# Google Mediacodec
type mediacodec_google, domain; type mediacodec_google, domain;
type mediacodec_google_exec, exec_type, vendor_file_type, file_type; type mediacodec_google_exec, exec_type, vendor_file_type, file_type;
@ -8,6 +9,7 @@ hal_server_domain(mediacodec_google, hal_codec2)
hal_client_domain(mediacodec_google, hal_graphics_allocator) hal_client_domain(mediacodec_google, hal_graphics_allocator)
add_service(mediacodec_google, eco_service) add_service(mediacodec_google, eco_service)
binder_call(mediacodec_google, hal_camera_default)
allow mediacodec_google dmabuf_system_heap_device:chr_file r_file_perms; allow mediacodec_google dmabuf_system_heap_device:chr_file r_file_perms;
allow mediacodec_google video_device:chr_file { read write open ioctl map }; allow mediacodec_google video_device:chr_file { read write open ioctl map };