641c45e258
Since mediacodec system services have been entirely deleted. Bug: 80317992 Test: TH Change-Id: I20aa48ef57474df000279a487f6b077790d273c1
18 lines
505 B
Plaintext
18 lines
505 B
Plaintext
type mediacodec, domain, mlstrustedsubject;
|
|
type mediacodec_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(mediacodec)
|
|
|
|
# can route /dev/binder traffic to /dev/vndbinder
|
|
vndbinder_use(mediacodec)
|
|
|
|
hal_server_domain(mediacodec, hal_omx)
|
|
|
|
hal_client_domain(mediacodec, hal_allocator)
|
|
hal_client_domain(mediacodec, hal_graphics_allocator)
|
|
|
|
allow mediacodec gpu_device:chr_file rw_file_perms;
|
|
allow mediacodec video_device:chr_file rw_file_perms;
|
|
allow mediacodec video_device:dir search;
|
|
|