Skip to content
Snippets Groups Projects
Commit 404e40c6 authored by Chong Zhang's avatar Chong Zhang
Browse files

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)
parent b209cb96
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ allow mediaextractor hidl_token_hwservice:hwservice_manager find; ...@@ -16,6 +16,7 @@ allow mediaextractor hidl_token_hwservice:hwservice_manager find;
allow mediaextractor system_server:fd use; allow mediaextractor system_server:fd use;
hal_client_domain(mediaextractor, hal_cas) hal_client_domain(mediaextractor, hal_cas)
hal_client_domain(mediaextractor, hal_allocator)
r_dir_file(mediaextractor, cgroup) r_dir_file(mediaextractor, cgroup)
allow mediaextractor proc_meminfo:file r_file_perms; allow mediaextractor proc_meminfo:file r_file_perms;
......
...@@ -6,3 +6,5 @@ init_daemon_domain(hal_cas_default) ...@@ -6,3 +6,5 @@ init_daemon_domain(hal_cas_default)
# Allow CAS HAL's default implementation to use vendor-binder service # Allow CAS HAL's default implementation to use vendor-binder service
vndbinder_use(hal_cas_default); vndbinder_use(hal_cas_default);
allow hal_cas_default hal_allocator:fd use;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment