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 4 type chre, domain; 5 type chre_exec, exec_type, vendor_file_type, file_type; 6 7 init_daemon_domain(chre) 8 9 allow chre system_file:dir read; 10 11 allow chre ion_device:chr_file r_file_perms; 12 allow chre qdsp_device:chr_file r_file_perms; 13 allow chre dsp_device:chr_file r_file_perms; 14 15 r_dir_file(chre, adsprpcd_file) 16 17 # Allow CHRE to obtain wakelock 18 wakelock_use(chre) 19 20 # To communicate with ST HAL 21 hal_client_domain(chre, hal_audio) 22