blob: 0086a72f300b4d4f0c81c5d9e5f1f1c3c1a85b43 [file] [log] [blame]
type mediaswcodec, domain;
type mediaswcodec_exec, system_file_type, exec_type, file_type;
typeattribute mediaswcodec halserverdomain;
typeattribute mediaswcodec mediaswcodec_server;
hal_client_domain(mediaswcodec, hal_allocator)
hal_client_domain(mediaswcodec, hal_graphics_allocator)
get_prop(mediaswcodec, device_config_media_native_prop)
userdebug_or_eng(`
binder_use(mediaswcodec)
# Add mediaextractor_update_service service
allow mediaswcodec mediaextractor_update_service:service_manager { find add };
# Allow mediaswcodec to load libs from update apk.
allow mediaswcodec apk_data_file:file { open read execute getattr map };
allow mediaswcodec apk_data_file:dir { search getattr };
')