Searched refs:selectedNetwork (Results 1 – 4 of 4) sorted by relevance
167 WifiConfiguration selectedNetwork = new WifiConfiguration(); in testStartDppAsConfiguratorInitiatorFailAddPeer() local168 selectedNetwork.SSID = "\"Test_SSID\""; in testStartDppAsConfiguratorInitiatorFailAddPeer()169 selectedNetwork.networkId = TEST_NETWORK_ID; in testStartDppAsConfiguratorInitiatorFailAddPeer()170 selectedNetwork.preSharedKey = "\"secretPassword\""; in testStartDppAsConfiguratorInitiatorFailAddPeer()171 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testStartDppAsConfiguratorInitiatorFailAddPeer()174 selectedNetwork); in testStartDppAsConfiguratorInitiatorFailAddPeer()213 WifiConfiguration selectedNetwork = new WifiConfiguration(); in testStartDppAsConfiguratorInitiatorFailStart() local214 selectedNetwork.SSID = "\"Test_SSID\""; in testStartDppAsConfiguratorInitiatorFailStart()215 selectedNetwork.networkId = TEST_NETWORK_ID; in testStartDppAsConfiguratorInitiatorFailStart()216 selectedNetwork.preSharedKey = "\"secretPassword\""; in testStartDppAsConfiguratorInitiatorFailStart()[all …]
1015 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest() local1016 networkRequestUserSelectionCallback.select(selectedNetwork); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()1039 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest() local1040 networkRequestUserSelectionCallback.select(selectedNetwork); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()1637 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch() local1638 networkRequestUserSelectionCallback.select(selectedNetwork); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
186 WifiConfiguration selectedNetwork = mWifiConfigManager in startDppAsConfiguratorInitiator() local189 if (selectedNetwork == null) { in startDppAsConfiguratorInitiator()208 if (selectedNetwork.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in startDppAsConfiguratorInitiator()210 password = selectedNetwork.preSharedKey; in startDppAsConfiguratorInitiator()212 } else if (selectedNetwork.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in startDppAsConfiguratorInitiator()213 if (selectedNetwork.preSharedKey.matches(String.format("[0-9A-Fa-f]{%d}", 64))) { in startDppAsConfiguratorInitiator()215 psk = selectedNetwork.preSharedKey; in startDppAsConfiguratorInitiator()218 password = selectedNetwork.preSharedKey; in startDppAsConfiguratorInitiator()266 String ssidEncoded = encodeStringToHex(selectedNetwork.SSID); in startDppAsConfiguratorInitiator()270 passwordEncoded = encodeStringToHex(selectedNetwork.preSharedKey); in startDppAsConfiguratorInitiator()
740 WifiConfiguration selectedNetwork = null; in selectNetwork() local769 if (selectedNetwork == null && choice != null) { in selectNetwork()770 selectedNetwork = choice; // First one wins in selectNetwork()772 + WifiNetworkSelector.toNetworkString(selectedNetwork)); in selectNetwork()809 final int legacySelectedNetworkId = selectedNetwork == null in selectNetwork()811 : selectedNetwork.networkId; in selectNetwork()858 selectedNetwork = mWifiConfigManager.getConfiguredNetwork(selectedNetworkId); in selectNetwork()859 if (selectedNetwork != null && legacyOverrideWanted) { in selectNetwork()860 selectedNetwork = overrideCandidateWithUserConnectChoice(selectedNetwork); in selectNetwork()863 return selectedNetwork; in selectNetwork()