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 ion_device:chr_file r_file_perms; 10allow chre qdsp_device:chr_file r_file_perms; 11 12# Allow CHRE to obtain wakelock 13wakelock_use(chre) 14 15# To communicate with ST HAL 16hal_client_domain(chre, hal_audio) 17 18# Allow CHRE host to talk to the stats service 19allow chre fwk_stats_service:service_manager find; 20binder_call(chre, stats_service_server) 21