summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/chre.te
blob: 4006a660b737a68aa032773b0b145dc92686a64a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)

# Allow CHRE to obtain audio
hal_client_domain(chre, hal_audio)

# Allow CHRE host to talk to the stats service
allow chre fwk_stats_service:service_manager find;
binder_call(chre, stats_service_server)