1binder_call(hal_codec2_client, hal_codec2_server)
2binder_call(hal_codec2_server, hal_codec2_client)
3
4hal_attribute_hwservice(hal_codec2, hal_codec2_hwservice)
5
6# The following permissions are added to hal_codec2_server because vendor and
7# vndk libraries provided for Codec2 implementation need them.
8
9# Allow server access to composer sync fences
10allow hal_codec2_server hal_graphics_composer:fd use;
11
12# Allow both server and client access to ion
13allow hal_codec2_server ion_device:chr_file r_file_perms;
14
15# Allow server access to camera HAL's fences
16allow hal_codec2_server hal_camera:fd use;
17
18# Receive gralloc buffer FDs from bufferhubd.
19allow hal_codec2_server bufferhubd:fd use;
20
21allow hal_codec2_client ion_device:chr_file r_file_perms;
22
23