1# loc_launcher service 2# which launches various other services supporting Wifi-RTT (LOWI) vendor_location 3type vendor_location, domain; 4type vendor_location_exec, exec_type, vendor_file_type, file_type; 5init_daemon_domain(vendor_location) 6 7# execute permission for vendor_location daemons in /vendor/bin/ 8domain_auto_trans(vendor_location, lowi_server_exec, lowi_server) 9 10# /dev/socket/vendor_location 11allow vendor_location vendor_location_socket:{sock_file lnk_file} create_file_perms; 12allow vendor_location vendor_location_socket:dir rw_dir_perms; 13 14# /sys/devices/soc0/soc_id 15allow vendor_location vendor_location_sysfs:file create_file_perms; 16 17# /dev/socket/location/mq/* 18allow vendor_location lowi_server:unix_dgram_socket {sendto read write}; 19allow vendor_location hal_wifi_default:unix_dgram_socket {sendto read write}; 20allow vendor_location hal_wifi_ext:unix_dgram_socket {sendto read write}; 21