Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/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 …]
DScanResultMatchInfoTest.java99 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi\""); in testScanResultMatchesWifiConfiguration()
104 conf = WifiConfigurationTestUtil.createPskNetwork("0123456789"); in testScanResultMatchesWifiConfiguration()
109 conf = WifiConfigurationTestUtil.createOpenNetwork("\"WIFIght the inevitable\""); in testScanResultMatchesWifiConfiguration()
117 conf = WifiConfigurationTestUtil.createWapiPskNetwork(); in testScanResultMatchesWifiConfiguration()
122 conf = WifiConfigurationTestUtil.createWapiPskNetwork(); in testScanResultMatchesWifiConfiguration()
135 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi-5G\""); in testDifferentBssidScanResultsMatch()
150 WifiConfigurationTestUtil.createPskNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
152 WifiConfigurationTestUtil.createOpenNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
154 WifiConfigurationTestUtil.createOpenNetwork("\"Mom, Click Here For Internet\""); in testDifferentNetworkScanResultsDontMatch()
171 WifiConfigurationTestUtil.createPskNetwork("\"Transition is Hard\""); in testEqualityRulesForTransitionMode()
[all …]
DWifiConfigurationUtilTest.java232 WifiConfigurationTestUtil.createOpenNetwork(), SUPPORTED_FEATURES_ALL, in testValidatePositiveCases_AsciiSsidString()
235 WifiConfigurationTestUtil.createPskNetwork(), SUPPORTED_FEATURES_ALL, in testValidatePositiveCases_AsciiSsidString()
238 WifiConfigurationTestUtil.createWepNetwork(), SUPPORTED_FEATURES_ALL, in testValidatePositiveCases_AsciiSsidString()
241 WifiConfigurationTestUtil.createEapNetwork(), SUPPORTED_FEATURES_ALL, in testValidatePositiveCases_AsciiSsidString()
244 WifiConfigurationTestUtil.createOweNetwork(), SUPPORTED_FEATURES_ALL, in testValidatePositiveCases_AsciiSsidString()
247 WifiConfigurationTestUtil.createSaeNetwork(), SUPPORTED_FEATURES_ALL, in testValidatePositiveCases_AsciiSsidString()
250 WifiConfigurationTestUtil.createEapSuiteBNetwork(), SUPPORTED_FEATURES_ALL, in testValidatePositiveCases_AsciiSsidString()
260 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_HexSsidString()
272 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_AnyBssidString()
286 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_MaskedPskString()
[all …]
DWifiConfigManagerTest.java142 private static final int TEST_CREATOR_UID = WifiConfigurationTestUtil.TEST_UID;
439 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore()
473 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
492 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork()
500 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddSingleOpenNetwork()
512 WifiConfiguration wapiPskNetwork = WifiConfigurationTestUtil.createWapiPskNetwork(); in testAddWapiPskNetwork()
520 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddWapiPskNetwork()
532 WifiConfiguration wapiPskNetwork = WifiConfigurationTestUtil.createWapiPskNetwork(); in testAddWapiPskHexNetwork()
542 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddWapiPskHexNetwork()
554 WifiConfiguration wapiCertNetwork = WifiConfigurationTestUtil.createWapiCertNetwork(); in testAddWapiCertNetwork()
[all …]
DConfigurationMapTest.java62 WifiConfigurationTestUtil.generateWifiConfig(
64 WifiConfigurationTestUtil.SECURITY_NONE),
65 WifiConfigurationTestUtil.generateWifiConfig(
67 WifiConfigurationTestUtil.SECURITY_NONE),
68 WifiConfigurationTestUtil.generateWifiConfig(
70 WifiConfigurationTestUtil.SECURITY_NONE),
71 WifiConfigurationTestUtil.generateWifiConfig(
73 WifiConfigurationTestUtil.SECURITY_NONE),
74 WifiConfigurationTestUtil.generateWifiConfig(
76 WifiConfigurationTestUtil.SECURITY_NONE),
[all …]
DNetworkListStoreDataTest.java21 import static com.android.server.wifi.WifiConfigurationTestUtil.TEST_EAP_PASSWORD;
22 import static com.android.server.wifi.WifiConfigurationTestUtil.TEST_IDENTITY;
642 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenOweNetwork(); in getTestNetworksConfig()
646 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
649 WifiConfiguration eapNetwork = WifiConfigurationTestUtil.createWpa2Wpa3EnterpriseNetwork(); in getTestNetworksConfig()
653 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
656 WifiConfiguration saeNetwork = WifiConfigurationTestUtil.createSaeNetwork(); in getTestNetworksConfig()
660 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
766 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigStore( in deserializeSharedConfigurations()
829 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag()
[all …]
DSupplicantStaNetworkHalAidlImplTest.java136 WifiConfiguration config = WifiConfigurationTestUtil.createOweNetwork(); in testOweNetworkWifiConfigurationSaveLoad()
146 WifiConfiguration config = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testOpenNetworkWifiConfigurationSaveLoad()
156 WifiConfiguration config = WifiConfigurationTestUtil.createSaeNetwork(); in testSaePasswordNetworkWifiConfigurationSaveLoad()
169 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskPassphraseNetworkWifiConfigurationSaveLoad()
192 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoad()
210 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoadWpaDeprecated()
226 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveRemovesPskQuotes()
241 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); in testWepNetworkWifiConfigurationSaveLoad()
252 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
254 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
[all …]
DSupplicantStaNetworkHalHidlImplTest.java205 WifiConfiguration config = WifiConfigurationTestUtil.createOweNetwork(); in testOweNetworkWifiConfigurationSaveLoad()
215 WifiConfiguration config = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testOpenNetworkWifiConfigurationSaveLoad()
228 WifiConfiguration config = WifiConfigurationTestUtil.createSaeNetwork(); in testSaePasswordNetworkWifiConfigurationSaveLoad()
246 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskPassphraseNetworkWifiConfigurationSaveLoad()
271 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoad()
290 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoadWpaDeprecated()
308 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveRemovesPskQuotes()
323 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); in testWepNetworkWifiConfigurationSaveLoad()
334 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
336 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
[all …]
DWifiNetworkSuggestionsManagerTest.java354 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true, in testAddNetworkSuggestionsSuccess()
410 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true, in testRemoveNetworkSuggestionsSuccess()
467 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true, in testAddRemoveSuggestionBeforeUserDataLoaded()
481 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddRemoveEnterpriseNetworkSuggestion()
484 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddRemoveEnterpriseNetworkSuggestion()
504 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddRemoveEnterpriseNetworkSuggestion()
523 final WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testAddNetworkSuggestionWithInvalidKeyChainKeyAlias()
544 final WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testAddNetworkSuggestionWithValidKeyChainKeyAlias()
564 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddInsecureEnterpriseNetworkSuggestion()
573 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddInsecureEnterpriseNetworkSuggestion()
[all …]
DNetworkRequestStoreDataTest.java117 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromSingleApp()
134 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromMultipleApps()
141 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromMultipleApps()
158 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
161 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
170 WifiConfigurationTestUtil.createSaeNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
173 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
DWifiKeyStoreTest.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.TEST_UID;
184 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testAddKeysForAppInstalledCerts()
207 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapNetwork(); in testAddRemoveFromBothSavedAndSuggestionNetwork()
244 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapNetwork(); in test_remove_empty_alias_enterprise_config()
274 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigureSuiteBRsa3072()
302 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigureSuiteBEcdsa()
333 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigureSuiteBRsa3072UserAndTofu()
361 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigurationFailureSuiteB()
387 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigurationFailureSuiteBNon3072Rsa()
414 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigurationFailureSuiteB2048Rsa()
[all …]
DNetworkSuggestionStoreDataTest.java298 WifiConfiguration configuration = WifiConfigurationTestUtil.createEapNetwork(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
300 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
321 WifiConfigurationTestUtil.assertConfigurationEqual( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
323 WifiConfigurationTestUtil.assertWifiEnterpriseConfigEqualForConfigStore( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
339 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
349 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
369 WifiConfigurationTestUtil.createOpenNetwork(), null, false, true, true, true, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
372 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
385 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
388 WifiConfigurationTestUtil.createOpenNetwork(), null, false, true, true, true, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
DWifiBlocklistMonitorTest.java265 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in verifyAddTestBssidToBlocklist()
280 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in verifyAddMultipleBssidsToBlocklist()
281 WifiConfiguration config2 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_2); in verifyAddMultipleBssidsToBlocklist()
307 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(ssid); in handleBssidConnectionFailureMultipleTimes()
527 WifiConfiguration config1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testSsidsDoNotBlocklist_NotAddedToBssidBlocklist()
530 WifiConfiguration config2 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_2); in testSsidsDoNotBlocklist_NotAddedToBssidBlocklist()
568 WifiConfiguration openNetwork1 = WifiConfigurationTestUtil.createOpenNetwork(); in testSsidsDoNotBlocklist_ConfigNotDisabled()
569 WifiConfiguration openNetwork2 = WifiConfigurationTestUtil.createOpenNetwork(); in testSsidsDoNotBlocklist_ConfigNotDisabled()
599 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testAbnormalDisconnectRecencyCheck()
628 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testBlocklistStreakExpeditesAddingToBlocklist()
[all …]
DWifiCarrierInfoManagerTest.java667 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityEapSim()
674 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapSim()
691 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getSimIdentityEapAka()
698 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAka()
715 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA_PRIME, in getSimIdentityEapAkaPrime()
722 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAkaPrime()
763 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentity_WithRfc4648()
785 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentityWithOobPseudonymEnabled()
823 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentityFailed()
842 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentity2DigitMnc()
[all …]
DWifiNetworkSelectorTest.java24 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_EAP;
25 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
26 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_OWE;
27 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
28 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_SAE;
29 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_WEP;
410 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkInsufficientWhenSufficiencyCheckDisabled()
433 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkInsufficientWhenMetered()
449 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkInsufficientWhenMarkedUnusable()
465 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkInsufficientWhenLowAospScore()
[all …]
DWakeupControllerTest.java146 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
431 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults()
434 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithSavedScanResults()
468 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions()
472 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithNetworkSuggestions()
510 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
516 WifiConfiguration oweNetwork = WifiConfigurationTestUtil.createOweNetwork(quotedSsid2); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
552 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in getGoodSavedNetworksAndSuggestionsIgnoreInvalidatedCaptivePortal()
573 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in getGoodSavedNetworksAndSuggestionsIncludeValidatedCaptivePortal()
594 WifiConfiguration openNetworkDfs = WifiConfigurationTestUtil in startFiltersOutDfsScanResults()
[all …]
DNonCarrierMergedNetworksStatusTrackerTest.java50 mTestNonCarrierMergedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
102 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
125 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testClearWillUndoDisableAllNonCarrierMergedNetworks()
DWifiNetworkFactoryTest.java889 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPeriodicScanCancelOnUserSelectNetwork()
1279 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1304 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
1326 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetwork()
1365 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1384 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1394 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1422 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
2427 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testHandleNewNetworkRequestWithSpecifierWhenAwaitingCmRetrieval()
2533 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
[all …]
DWifiConnectivityManagerTest.java24 import static com.android.server.wifi.WifiConfigurationTestUtil.generateWifiConfig;
557 WifiConfigurationTestUtil.SECURITY_NONE); in mockWifiNetworkSelector()
609 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in mockWifiConfigManager()
1189 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in secondaryLongLived_secondaryStaRequestSucceedsWithOemPaidConnectionAllowed()
1337 WifiConfigurationTestUtil.SECURITY_PSK); in getTestWifiConfig()
1561 WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID)); in testMultiInternetSecondaryConnectionRequest()
2304 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionOnFailure()
2401 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionIgnoreNetworkWithAutojoinDisabled()
2440 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionIgnoreNetworkWithAdminRestriction()
2496 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(CANDIDATE_SSID); in testRetryConnectionOnFailureCacheTimeout()
[all …]
DConnectionFailureNotifierTest.java127 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionFailureSendRandomizationSettingsNotification()
172 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testWifiConfigurationMismatch()
185 .thenReturn(WifiConfigurationTestUtil.createOpenNetwork()); in testWifiConfigurationMismatch()
DScanDetailCacheTest.java53 mWifiConfiguration = WifiConfigurationTestUtil.createOpenNetwork(); in setup()
107 return WifiConfigurationTestUtil.createScanDetailForNetwork(configuration, bssid, level, in createScanDetailForNetwork()
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;
155 savedConfigs[i] = WifiConfigurationTestUtil.createEapNetwork( in setupScanDetailsAndConfigForEapSimNetwork()
/packages/modules/Wifi/service/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.java44 import com.android.server.wifi.WifiConfigurationTestUtil;
107 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testOpenWifiConfigurationSerializeDeserialize()
118 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testOpenHiddenWifiConfigurationSerializeDeserialize()
127 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskNetwork()); in testPskWifiConfigurationSerializeDeserialize()
137 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPskWifiConfigurationSerializeDeserializeWithEncryption()
153 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in testWepWifiConfigurationSerializeDeserializeWithEncryption()
154 wepNetwork.wepKeys = WifiConfigurationTestUtil.TEST_WEP_KEYS_WITH_NULL; in testWepWifiConfigurationSerializeDeserializeWithEncryption()
175 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in testWepWifiConfigurationSerializeDeserializeWithEncryptionFailed()
176 wepNetwork.wepKeys = WifiConfigurationTestUtil.TEST_WEP_KEYS_WITH_NULL; in testWepWifiConfigurationSerializeDeserializeWithEncryptionFailed()
191 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskHiddenNetwork()); in testPskHiddenWifiConfigurationSerializeDeserialize()
[all …]
DNativeUtilTest.java30 import com.android.server.wifi.WifiConfigurationTestUtil;
261 WifiConfigurationTestUtil.createPskSaeNetwork(), in testPmfIsDisableWhenPmfEnabledAndAutoUpgradeOffloadSupported()
282 WifiConfigurationTestUtil.createPskSaeNetwork(), in testPairwiseCiphersMergedForSaeAutoUpgradeOffloadSupported()
294 WifiConfigurationTestUtil.createPskSaeNetwork(), in testPairwiseCiphersMergedForSaeAutoUpgradeOffloadSupported()
317 WifiConfigurationTestUtil.createPskSaeNetwork(), in testPairwiseCiphersNotMergedForSaeAutoUpgradeOffloadNotSupported()
326 WifiConfigurationTestUtil.createPskSaeNetwork(), in testPairwiseCiphersNotMergedForSaeAutoUpgradeOffloadNotSupported()

12