# wpa supplicant or equivalent type hal_wifi_supplicant_default, domain; hal_server_domain(hal_wifi_supplicant_default, hal_wifi_supplicant) type hal_wifi_supplicant_default_exec, exec_type, vendor_file_type, file_type; init_daemon_domain(hal_wifi_supplicant_default) net_domain(hal_wifi_supplicant_default) # Create a socket for receiving info from wpa type_transition hal_wifi_supplicant_default wifi_data_file:dir wpa_socket "sockets"; # Allow wpa_supplicant to talk to Wifi Keystore HwBinder service. hwbinder_use(hal_wifi_supplicant_default) allow hal_wifi_supplicant_default system_wifi_keystore_hwservice:hwservice_manager find; binder_call(hal_wifi_supplicant_default, wifi_keystore_service_server)