5131ff6544
This prebuilt is based on the AOSP policy, but slightly manipulated so that the set of types and attributes are identical with R policy. Following types are removed. boot_status_prop dalvik_config_prop gnss_device surfaceflinger_color_prop surfaceflinger_prop systemsound_config_prop vold_config_prop vold_status_prop Following type is renamed. wificond_service -> wifinl80211_service Bug: 153661471 Test: N/A Change-Id: I018d5e43f53c2bf721db1d13f5f4be42b9782b29
25 lines
842 B
Text
25 lines
842 B
Text
get_prop(hal_codec2_client, media_variant_prop)
|
|
get_prop(hal_codec2_server, media_variant_prop)
|
|
|
|
binder_call(hal_codec2_client, hal_codec2_server)
|
|
binder_call(hal_codec2_server, hal_codec2_client)
|
|
|
|
hal_attribute_hwservice(hal_codec2, hal_codec2_hwservice)
|
|
|
|
# The following permissions are added to hal_codec2_server because vendor and
|
|
# vndk libraries provided for Codec2 implementation need them.
|
|
|
|
# Allow server access to composer sync fences
|
|
allow hal_codec2_server hal_graphics_composer:fd use;
|
|
|
|
# Allow both server and client access to ion
|
|
allow hal_codec2_server ion_device:chr_file r_file_perms;
|
|
|
|
# Allow server access to camera HAL's fences
|
|
allow hal_codec2_server hal_camera:fd use;
|
|
|
|
# Receive gralloc buffer FDs from bufferhubd.
|
|
allow hal_codec2_server bufferhubd:fd use;
|
|
|
|
allow hal_codec2_client ion_device:chr_file r_file_perms;
|
|
|