summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/chre.te
blob: 5a90e957bdbe16fed831a572549e5ac3292505c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This daemon loads the Context Hub Runtime Environment (CHRE) dynamic modules
# onto the SLPI using FastRPC, and exposes a sockets interface for clients on
# the applications processor to interact CHRE
type chre, domain;
type chre_exec, exec_type, vendor_file_type, file_type;

init_daemon_domain(chre)

allow chre ion_device:chr_file r_file_perms;
allow chre qdsp_device:chr_file r_file_perms;

# Allow CHRE to obtain wakelock
wakelock_use(chre)

# To communicate with ST HAL
hal_client_domain(chre, hal_audio)