1# This daemon loads the Context Hub Runtime Environment (CHRE) dynamic modules
2# onto the SLPI using FastRPC, and exposes a sockets interface for clients on
3# the applications processor to interact CHRE
4type chre, domain;
5type chre_exec, exec_type, vendor_file_type, file_type;
6
7init_daemon_domain(chre)
8
9allow chre system_file:dir read;
10
11allow chre ion_device:chr_file r_file_perms;
12allow chre qdsp_device:chr_file r_file_perms;
13allow chre dsp_device:chr_file r_file_perms;
14
15r_dir_file(chre, adsprpcd_file)
16
17# Allow CHRE to obtain wakelock
18wakelock_use(chre)
19
20# To communicate with ST HAL
21hal_client_domain(chre, hal_audio)
22