blob: 143c6b557814920d3cd08c564b4c0f926afeaa8e [file] [log] [blame]
Alex Klyubinf5446eb2017-03-23 14:27:32 -07001typeattribute bufferhubd coredomain;
2
Nick Bray084faf02017-02-09 15:15:11 -08003init_daemon_domain(bufferhubd)
Inseob Kim75806ef2024-03-27 17:18:41 +09004
5hal_client_domain(bufferhubd, hal_graphics_allocator)
6
7# TODO(b/112338294): remove these after migrate to Binder
8pdx_server(bufferhubd, bufferhub_client)
9pdx_client(bufferhubd, performance_client)
10
11# Access the GPU.
12allow bufferhubd gpu_device:chr_file rw_file_perms;
13
14# Access /dev/ion
15allow bufferhubd ion_device:chr_file r_file_perms;
16
17# Receive sync fence FDs from hal_omx_server. Note that hal_omx_server never directly
18# connects to bufferhubd via PDX. Instead, a VR app acts as a bridge between
19# those two: it talks to hal_omx_server via Binder and talks to bufferhubd via PDX.
20# Thus, there is no need to use pdx_client macro.
21allow bufferhubd hal_omx_server:fd use;
22
23# Codec2 is similar to OMX
24allow bufferhubd hal_codec2_server:fd use;