android_system_sepolicy/vendor/hal_cas_default.te
Chong Zhang 404e40c6c1 Use hidl memory from allocator in CAS
Make mediaextractor use hidl memory allocated by
hidl allocator, instead of constructing hidl memory
from IMemory.

bug: 112766913
bug: 111407253
Change-Id: I7902f18768005c995925bc9a7947299e9988b68a
(Needed for internal commit I39e131718ea41f9cb23177c28213ddf7b7741338)
2018-12-17 22:49:18 +00:00

11 lines
326 B
Plaintext

type hal_cas_default, domain;
hal_server_domain(hal_cas_default, hal_cas)
type hal_cas_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_cas_default)
# Allow CAS HAL's default implementation to use vendor-binder service
vndbinder_use(hal_cas_default);
allow hal_cas_default hal_allocator:fd use;