1type chre, domain; 2type chre_exec, vendor_file_type, exec_type, file_type; 3init_daemon_domain(chre) 4 5# Permit communication with AoC 6allow chre aoc_device:chr_file rw_file_perms; 7 8# Allow CHRE to determine AoC's current clock 9allow chre sysfs_aoc:dir search; 10allow chre sysfs_aoc_boottime:file r_file_perms; 11 12# Allow CHRE to write to data to chre data directory 13allow chre chre_data_file:dir create_dir_perms; 14allow chre chre_data_file:file create_file_perms; 15 16# Allow CHRE to create thread to watch AOC's device 17allow chre device:dir r_dir_perms; 18 19# Allow CHRE to use WakeLock 20wakelock_use(chre) 21 22# Allow CHRE host to talk to stats service 23allow chre fwk_stats_service:service_manager find; 24binder_call(chre, stats_service_server) 25