1 type hal_neuralnetworks_default, domain; 2 hal_server_domain(hal_neuralnetworks_default, hal_neuralnetworks) 3 4 type hal_neuralnetworks_default_exec, exec_type, vendor_file_type, file_type; 5 init_daemon_domain(hal_neuralnetworks_default) 6 7 allow hal_neuralnetworks_default fwk_sensor_hwservice:hwservice_manager find; 8 allow hal_neuralnetworks_default qdsp_device:chr_file r_file_perms; 9 allow hal_neuralnetworks_default ion_device:chr_file r_file_perms; 10 11 allow hal_neuralnetworks_default app_data_file:file { read getattr }; 12 allow hal_neuralnetworks_default shell_data_file:file { read getattr }; 13 allow hal_neuralnetworks_default hal_neuralnetworks_data_file:dir create_dir_perms; 14 allow hal_neuralnetworks_default hal_neuralnetworks_data_file:{ file fifo_file } create_file_perms; 15 allow hal_neuralnetworks_default gpu_device:chr_file rw_file_perms; 16 17 r_dir_file(hal_neuralnetworks_default, sysfs_soc) 18 r_dir_file(hal_neuralnetworks_default, adsprpcd_file) 19