Home
last modified time | relevance | path

Searched refs:WifiConfigurationTestUtil (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java62 + "<string name=\"ConfigKey\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
64 + "<string name=\"SSID\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
98 + "<string name=\"ConfigKey\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
100 + "<string name=\"SSID\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
136 + "<string name=\"ConfigKey\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
138 + "<string name=\"SSID\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
168 + "<string name=\"ConfigKey\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
170 + "<string name=\"SSID\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
201 + "<string name=\"ConfigKey\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
203 + "<string name=\"SSID\">&quot;" + WifiConfigurationTestUtil.TEST_SSID
[all …]
DWifiConfigurationUtilTest.java185 WifiConfigurationTestUtil.createOpenNetwork(), in testValidatePositiveCases_Ascii()
188 WifiConfigurationTestUtil.createPskNetwork(), in testValidatePositiveCases_Ascii()
191 WifiConfigurationTestUtil.createWepNetwork(), in testValidatePositiveCases_Ascii()
194 WifiConfigurationTestUtil.createEapNetwork(), in testValidatePositiveCases_Ascii()
197 WifiConfigurationTestUtil.createOweNetwork(), in testValidatePositiveCases_Ascii()
200 WifiConfigurationTestUtil.createSaeNetwork(), in testValidatePositiveCases_Ascii()
203 WifiConfigurationTestUtil.createEapSuiteBNetwork(), in testValidatePositiveCases_Ascii()
213 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_Hex()
225 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_MaskedPskString()
251 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadAsciiSsidLength()
[all …]
DScanResultMatchInfoTest.java41 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi\""); in testScanResultMatchesWifiConfiguration()
46 conf = WifiConfigurationTestUtil.createOpenNetwork("\"WIFIght the inevitable\""); in testScanResultMatchesWifiConfiguration()
52 WifiConfigurationTestUtil.createWapiPskNetwork(); in testScanResultMatchesWifiConfiguration()
58 WifiConfigurationTestUtil.createWapiPskNetwork(); in testScanResultMatchesWifiConfiguration()
71 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi-5G\""); in testDifferentBssidScanResultsMatch()
86 WifiConfigurationTestUtil.createPskNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
88 WifiConfigurationTestUtil.createOpenNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
90 WifiConfigurationTestUtil.createOpenNetwork("\"Mom, Click Here For Internet\""); in testDifferentNetworkScanResultsDontMatch()
107 WifiConfigurationTestUtil.createPskNetwork("\"Transition is Hard\""); in testEqualityRulesForTransitionMode()
140 WifiConfigurationTestUtil.createPskNetwork("\"Psk Tsk\""); in testEqualityRulesForPsk()
[all …]
DWifiConfigManagerTest.java94 private static final int TEST_CREATOR_UID = WifiConfigurationTestUtil.TEST_UID;
274 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore()
303 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
325 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork()
333 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddSingleOpenNetwork()
345 WifiConfiguration wapiPskNetwork = WifiConfigurationTestUtil.createWapiPskNetwork(); in testAddWapiPskNetwork()
353 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddWapiPskNetwork()
365 WifiConfiguration wapiPskNetwork = WifiConfigurationTestUtil.createWapiPskNetwork(); in testAddWapiPskHexNetwork()
375 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddWapiPskHexNetwork()
387 WifiConfiguration wapiCertNetwork = WifiConfigurationTestUtil.createWapiCertNetwork(); in testAddWapiCertNetwork()
[all …]
DConfigurationMapTest.java53 WifiConfigurationTestUtil.generateWifiConfig(
55 WifiConfigurationTestUtil.generateWifiConfig(
57 WifiConfigurationTestUtil.generateWifiConfig(
59 WifiConfigurationTestUtil.generateWifiConfig(
61 WifiConfigurationTestUtil.generateWifiConfig(
63 WifiConfigurationTestUtil.generateWifiConfig(
191 return WifiConfigurationTestUtil.createScanDetailForNetwork(config, "", 0, 0, 0, 0) in createScanResultForNetwork()
280 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createOpenNetwork()); in testScanResultDoesMatchCorrespondingNetworks()
281 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createPskNetwork()); in testScanResultDoesMatchCorrespondingNetworks()
282 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createWepNetwork()); in testScanResultDoesMatchCorrespondingNetworks()
[all …]
DNetworkListStoreDataTest.java369 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig()
373 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
376 WifiConfiguration eapNetwork = WifiConfigurationTestUtil.createEapNetwork(); in getTestNetworksConfig()
380 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
382 WifiConfiguration saeNetwork = WifiConfigurationTestUtil.createSaeNetwork(); in getTestNetworksConfig()
386 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
491 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigStore( in deserializeSharedConfigurations()
551 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag()
573 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithMismatchConfigKey()
589 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkListWithOneNetworkIllegalArgException()
[all …]
DWifiNetworkSuggestionsManagerTest.java283 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true); in testAddNetworkSuggestionsSuccess()
335 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true); in testRemoveNetworkSuggestionsSuccess()
386 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true); in testAddRemoveSuggestionBeforeUserDataLoaded()
399 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true); in testAddRemoveEnterpriseNetworkSuggestion()
401 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true); in testAddRemoveEnterpriseNetworkSuggestion()
420 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true); in testAddRemoveEnterpriseNetworkSuggestion()
435 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true); in testAddInsecureEnterpriseNetworkSuggestion()
443 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true); in testAddInsecureEnterpriseNetworkSuggestion()
460 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true); in testRemoveAllNetworkSuggestionsSuccess()
503 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true); in testReplaceNetworkSuggestionsSuccess()
[all …]
DNetworkRequestStoreDataTest.java118 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromSingleApp()
136 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromMultipleApps()
144 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromMultipleApps()
162 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
165 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
174 WifiConfigurationTestUtil.createSaeNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
177 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
DSupplicantStaNetworkHalTest.java155 WifiConfiguration config = WifiConfigurationTestUtil.createOweNetwork(); in testOweNetworkWifiConfigurationSaveLoad()
165 WifiConfiguration config = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testOpenNetworkWifiConfigurationSaveLoad()
178 WifiConfiguration config = WifiConfigurationTestUtil.createSaeNetwork(); in testSaePasswordNetworkWifiConfigurationSaveLoad()
196 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskPassphraseNetworkWifiConfigurationSaveLoad()
224 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoad()
241 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveRemovesPskQuotes()
253 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); in testWepNetworkWifiConfigurationSaveLoad()
264 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
266 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
275 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapTlsNoneNetworkWifiConfigurationSaveLoad()
[all …]
DNetworkSuggestionStoreDataTest.java290 WifiConfiguration configuration = WifiConfigurationTestUtil.createEapNetwork(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
292 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
307 WifiConfigurationTestUtil.assertConfigurationEqual( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
309 WifiConfigurationTestUtil.assertWifiEnterpriseConfigEqualForConfigStore( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
323 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
331 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
349 WifiConfigurationTestUtil.createOpenNetwork(), null, false, true, true, true); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
351 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
361 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
363 WifiConfigurationTestUtil.createOpenNetwork(), null, false, true, true, true); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
DWifiCarrierInfoManagerTest.java423 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityEapSim()
430 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapSim()
447 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getSimIdentityEapAka()
454 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAka()
471 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA_PRIME, in getSimIdentityEapAkaPrime()
478 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAkaPrime()
516 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentity_WithRfc4648()
552 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentityFailed()
572 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentity2DigitMnc()
589 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityUnknownMccMnc()
[all …]
DWakeupControllerTest.java107 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
352 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults()
354 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithSavedScanResults()
387 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions()
390 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithNetworkSuggestions()
427 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
432 WifiConfiguration oweNetwork = WifiConfigurationTestUtil.createOweNetwork(quotedSsid2); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
468 WifiConfiguration openNetworkDfs = WifiConfigurationTestUtil in startFiltersOutDfsScanResults()
471 WifiConfiguration openNetwork24 = WifiConfigurationTestUtil in startFiltersOutDfsScanResults()
501 WifiConfiguration openNetwork = WifiConfigurationTestUtil in onResultsUpdatesWakeupLockForSavedNetworks()
[all …]
DWifiKeyStoreTest.java151 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testAddKeysForAppInstalledCerts()
174 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapNetwork(); in testAddRemoveFromBothSavedAndSuggestionNetwork()
211 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapNetwork(); in test_remove_empty_alias_enterprise_config()
239 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigureSuiteBRsa3072()
265 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigureSuiteBEcdsa()
DConnectionFailureNotifierTest.java122 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionFailureSendRandomizationSettingsNotification()
160 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testWifiConfigurationMismatch()
173 .thenReturn(WifiConfigurationTestUtil.createOpenNetwork()); in testWifiConfigurationMismatch()
DWifiNetworkFactoryTest.java665 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPeriodicScanCancelOnUserSelectNetwork()
1066 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1090 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
1111 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetwork()
1149 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1169 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1179 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1207 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
1764 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2152 WifiConfigurationTestUtil.createPskNetwork(), TEST_UID_1, TEST_PACKAGE_NAME_1); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedNForgot()
[all …]
DWakeupEvaluatorTest.java71 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
74 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
DWifiNetworkSelectorTestUtil.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
20 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_SAE;
21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_WAPI_PSK;
22 import static com.android.server.wifi.WifiConfigurationTestUtil.generateWifiConfig;
149 savedConfigs[i] = WifiConfigurationTestUtil.createEapNetwork( in setupScanDetailsAndConfigForEapSimNetwork()
DWifiConnectivityManagerTest.java20 import static com.android.server.wifi.WifiConfigurationTestUtil.generateWifiConfig;
395 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in mockWifiConfigManager()
1832 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in verifyFullBandScanWhenConnected()
1904 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming()
1953 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in checkPartialScanRequestedWithHighRssiNoActiveStreamWithoutFwRoaming()
1999 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()
2996 WifiConfiguration network1 = WifiConfigurationTestUtil.createEapNetwork(); in testRetrievePnoList()
2997 WifiConfiguration network2 = WifiConfigurationTestUtil.createPskNetwork(); in testRetrievePnoList()
2998 WifiConfiguration network3 = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testRetrievePnoList()
3041 WifiConfiguration network1 = WifiConfigurationTestUtil.createEapNetwork(); in testRetrievePnoListFrequencies()
[all …]
DWifiCandidatesTest.java67 mConfig1 = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
74 mConfig2 = WifiConfigurationTestUtil.createEphemeralNetwork(); in setUp()
345 WifiConfiguration config1 = WifiConfigurationTestUtil.createPasspointNetwork(); in testMultiplePasspointCandidatesWithSameFQDN()
DSavedNetworkNominatorTest.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
20 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
202 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], in ignoreNetworksIfAutojoinNotAllowed()
DWifiNetworkSelectorTest.java21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_EAP;
22 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
23 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
446 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected()
457 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected()
787 WifiConfigurationTestUtil.assertConfigurationEqual(networkSelectorChoice, candidate); in userConnectChoiceOverridesNetworkNominators()
804 WifiConfigurationTestUtil.assertConfigurationEqual(userChoice, candidate); in userConnectChoiceOverridesNetworkNominators()
1429 WifiConfiguration existingConfig = WifiConfigurationTestUtil.createPasspointNetwork(); in testPasspointCandidateUpdateWithLatestScanDetail()
DWifiConfigStoreTest.java534 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData()
537 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in testReadWifiConfigStoreData()
552 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigStore( in testReadWifiConfigStoreData()
570 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData()
573 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in testWriteWifiConfigStoreData()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DLruConnectionTrackerTest.java28 import com.android.server.wifi.WifiConfigurationTestUtil;
55 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testAddRemoveNetwork()
65 WifiConfiguration network1 = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionOrderStore()
66 WifiConfiguration network2 = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionOrderStore()
67 WifiConfiguration network3 = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionOrderStore()
68 WifiConfiguration network4 = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionOrderStore()
69 WifiConfiguration network5 = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionOrderStore()
93 WifiConfiguration network1 = WifiConfigurationTestUtil.createOpenNetwork(); in testIsMostRecentlyNetwork()
94 WifiConfiguration network2 = WifiConfigurationTestUtil.createOpenNetwork(); in testIsMostRecentlyNetwork()
95 WifiConfiguration network3 = WifiConfigurationTestUtil.createOpenNetwork(); in testIsMostRecentlyNetwork()
[all …]
DXmlUtilTest.java34 import com.android.server.wifi.WifiConfigurationTestUtil;
93 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
102 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testOpenHiddenWifiConfigurationSerializeDeserialize()
111 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskNetwork()); in testPskWifiConfigurationSerializeDeserialize()
121 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPskWifiConfigurationSerializeDeserializeWithEncryption()
136 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskHiddenNetwork()); in testPskHiddenWifiConfigurationSerializeDeserialize()
145 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createWepNetwork()); in testWepWifiConfigurationSerializeDeserialize()
156 WifiConfigurationTestUtil.createEapNetwork()); in testEapWifiConfigurationSerializeDeserialize()
166 WifiConfigurationTestUtil.createStaticIpConfigurationWithPacProxy()); in testStaticIpConfigurationWithPacProxySerializeDeserialize()
176 WifiConfigurationTestUtil.createStaticIpConfigurationWithStaticProxy()); in testStaticIpConfigurationWithStaticProxySerializeDeserialize()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_EAP;
51 import com.android.server.wifi.WifiConfigurationTestUtil;
103 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in generateWifiConfig()
333 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork( in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()

12