Home
last modified time | relevance | path

Searched refs:selectedNetwork (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DDppManagerTest.java231 WifiConfiguration selectedNetwork = new WifiConfiguration(); in testStartDppAsConfiguratorInitiatorWithoutConfigurableProfile() local
232 selectedNetwork.SSID = TEST_SSID; in testStartDppAsConfiguratorInitiatorWithoutConfigurableProfile()
233 selectedNetwork.networkId = 1; in testStartDppAsConfiguratorInitiatorWithoutConfigurableProfile()
234 selectedNetwork.setSecurityParams(WifiConfiguration.SECURITY_TYPE_DPP); in testStartDppAsConfiguratorInitiatorWithoutConfigurableProfile()
235 selectedNetwork.setDppConfigurator(null); in testStartDppAsConfiguratorInitiatorWithoutConfigurableProfile()
238 selectedNetwork); in testStartDppAsConfiguratorInitiatorWithoutConfigurableProfile()
251 WifiConfiguration selectedNetwork = new WifiConfiguration(); in testStartDppAsConfiguratorInitiatorFailAddPeer() local
252 selectedNetwork.SSID = "\"Test_SSID\""; in testStartDppAsConfiguratorInitiatorFailAddPeer()
253 selectedNetwork.networkId = TEST_NETWORK_ID; in testStartDppAsConfiguratorInitiatorFailAddPeer()
254 selectedNetwork.preSharedKey = "\"secretPassword\""; in testStartDppAsConfiguratorInitiatorFailAddPeer()
[all …]
DWifiNetworkFactoryTest.java1279 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest() local
1280 sendUserSelectionSelect(networkRequestUserSelectionCallback, selectedNetwork); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1304 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest() local
1305 sendUserSelectionSelect(networkRequestUserSelectionCallback, selectedNetwork); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
2533 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch() local
2534 sendUserSelectionSelect(networkRequestUserSelectionCallback, selectedNetwork); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
4178 WifiConfiguration selectedNetwork) throws RemoteException { in sendUserSelectionSelect() argument
4181 selectedNetworkinCb.SSID = selectedNetwork.SSID; in sendUserSelectionSelect()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DDppManager.java263 WifiConfiguration selectedNetwork = mWifiConfigManager in startDppAsConfiguratorInitiator() local
266 if (selectedNetwork == null) { in startDppAsConfiguratorInitiator()
287 if (selectedNetwork.isSecurityType(WifiConfiguration.SECURITY_TYPE_PSK)) { in startDppAsConfiguratorInitiator()
288 if (selectedNetwork.preSharedKey.matches("[0-9A-Fa-f]{64}")) { in startDppAsConfiguratorInitiator()
290 psk = selectedNetwork.preSharedKey; in startDppAsConfiguratorInitiator()
293 password = selectedNetwork.preSharedKey; in startDppAsConfiguratorInitiator()
296 } else if (selectedNetwork.isSecurityType(WifiConfiguration.SECURITY_TYPE_SAE)) { in startDppAsConfiguratorInitiator()
298 password = selectedNetwork.preSharedKey; in startDppAsConfiguratorInitiator()
300 } else if (selectedNetwork.isSecurityType(WifiConfiguration.SECURITY_TYPE_DPP)) { in startDppAsConfiguratorInitiator()
302 if (selectedNetwork.isDppConfigurator()) { in startDppAsConfiguratorInitiator()
[all …]
DWifiNetworkSelector.java1593 WifiConfiguration selectedNetwork = in selectNetwork() local
1595 if (selectedNetwork != null && legacyOverrideWanted && overrideEnabled in selectNetwork()
1597 selectedNetwork = overrideCandidateWithUserConnectChoice(selectedNetwork); in selectNetwork()
1599 if (selectedNetwork != null) { in selectNetwork()
1602 return selectedNetwork; in selectNetwork()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp7610 ScopedNetwork* selectedNetwork; in TEST_F() member
7627 config.selectedNetwork->name())); in TEST_F()
7628 expectDnsWorksForUid(host_name, config.selectedNetwork->netId(), TEST_UID, result); in TEST_F()
7638 for (const auto* selectedNetwork : nwVec) { in TEST_F() local
7640 selectedNetwork->name())); in TEST_F()
7641 expectDnsWorksForUid(host_name, selectedNetwork->netId(), TEST_UID, result); in TEST_F()
7654 for (const auto* selectedNetwork : nwVec) { in TEST_F() local
7656 selectedNetwork->name())); in TEST_F()
7657 expectDnsWorksForUid(host_name, selectedNetwork->netId(), TEST_UID2, result); in TEST_F()
7664 for (const auto* selectedNetwork : nwVec) { in TEST_F() local
[all …]