Home
last modified time | relevance | path

Searched refs:WifiConfigurationTestUtil (Results 1 – 25 of 35) 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 …]
DWifiConfigManagerTest.java121 private static final int TEST_CREATOR_UID = WifiConfigurationTestUtil.TEST_UID;
357 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore()
386 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
408 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork()
416 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddSingleOpenNetwork()
428 WifiConfiguration wapiPskNetwork = WifiConfigurationTestUtil.createWapiPskNetwork(); in testAddWapiPskNetwork()
436 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddWapiPskNetwork()
448 WifiConfiguration wapiPskNetwork = WifiConfigurationTestUtil.createWapiPskNetwork(); in testAddWapiPskHexNetwork()
458 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddWapiPskHexNetwork()
470 WifiConfiguration wapiCertNetwork = WifiConfigurationTestUtil.createWapiCertNetwork(); in testAddWapiCertNetwork()
[all …]
DWifiConfigurationUtilTest.java199 WifiConfigurationTestUtil.createOpenNetwork(), in testValidatePositiveCases_AsciiSsidString()
202 WifiConfigurationTestUtil.createPskNetwork(), in testValidatePositiveCases_AsciiSsidString()
205 WifiConfigurationTestUtil.createWepNetwork(), in testValidatePositiveCases_AsciiSsidString()
208 WifiConfigurationTestUtil.createEapNetwork(), in testValidatePositiveCases_AsciiSsidString()
211 WifiConfigurationTestUtil.createOweNetwork(), in testValidatePositiveCases_AsciiSsidString()
214 WifiConfigurationTestUtil.createSaeNetwork(), in testValidatePositiveCases_AsciiSsidString()
217 WifiConfigurationTestUtil.createEapSuiteBNetwork(), in testValidatePositiveCases_AsciiSsidString()
227 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_HexSsidString()
238 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_AnyBssidString()
251 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_MaskedPskString()
[all …]
DScanResultMatchInfoTest.java99 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi\""); in testScanResultMatchesWifiConfiguration()
104 conf = WifiConfigurationTestUtil.createOpenNetwork("\"WIFIght the inevitable\""); in testScanResultMatchesWifiConfiguration()
112 conf = WifiConfigurationTestUtil.createWapiPskNetwork(); in testScanResultMatchesWifiConfiguration()
117 conf = WifiConfigurationTestUtil.createWapiPskNetwork(); in testScanResultMatchesWifiConfiguration()
130 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi-5G\""); in testDifferentBssidScanResultsMatch()
145 WifiConfigurationTestUtil.createPskNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
147 WifiConfigurationTestUtil.createOpenNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
149 WifiConfigurationTestUtil.createOpenNetwork("\"Mom, Click Here For Internet\""); in testDifferentNetworkScanResultsDontMatch()
166 WifiConfigurationTestUtil.createPskNetwork("\"Transition is Hard\""); in testEqualityRulesForTransitionMode()
199 WifiConfigurationTestUtil.createPskNetwork("\"Psk Tsk\""); in testEqualityRulesForPsk()
[all …]
DConfigurationMapTest.java58 WifiConfigurationTestUtil.generateWifiConfig(
60 WifiConfigurationTestUtil.SECURITY_NONE),
61 WifiConfigurationTestUtil.generateWifiConfig(
63 WifiConfigurationTestUtil.SECURITY_NONE),
64 WifiConfigurationTestUtil.generateWifiConfig(
66 WifiConfigurationTestUtil.SECURITY_NONE),
67 WifiConfigurationTestUtil.generateWifiConfig(
69 WifiConfigurationTestUtil.SECURITY_NONE),
70 WifiConfigurationTestUtil.generateWifiConfig(
72 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;
439 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenOweNetwork(); in getTestNetworksConfig()
443 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
446 WifiConfiguration eapNetwork = WifiConfigurationTestUtil.createWpa2Wpa3EnterpriseNetwork(); in getTestNetworksConfig()
450 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
452 WifiConfiguration saeNetwork = WifiConfigurationTestUtil.createSaeNetwork(); in getTestNetworksConfig()
456 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
562 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigStore( in deserializeSharedConfigurations()
624 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag()
[all …]
DWifiNetworkSuggestionsManagerTest.java331 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true, in testAddNetworkSuggestionsSuccess()
387 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true, in testRemoveNetworkSuggestionsSuccess()
444 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true, in testAddRemoveSuggestionBeforeUserDataLoaded()
458 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddRemoveEnterpriseNetworkSuggestion()
461 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddRemoveEnterpriseNetworkSuggestion()
481 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddRemoveEnterpriseNetworkSuggestion()
498 final WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testAddNetworkSuggestionWithInvalidKeyChainKeyAlias()
519 final WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testAddNetworkSuggestionWithValidKeyChainKeyAlias()
539 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddInsecureEnterpriseNetworkSuggestion()
548 WifiConfigurationTestUtil.createEapNetwork(), null, false, false, true, true, in testAddInsecureEnterpriseNetworkSuggestion()
[all …]
DSupplicantStaNetworkHalTest.java202 WifiConfiguration config = WifiConfigurationTestUtil.createOweNetwork(); in testOweNetworkWifiConfigurationSaveLoad()
212 WifiConfiguration config = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testOpenNetworkWifiConfigurationSaveLoad()
225 WifiConfiguration config = WifiConfigurationTestUtil.createSaeNetwork(); in testSaePasswordNetworkWifiConfigurationSaveLoad()
243 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskPassphraseNetworkWifiConfigurationSaveLoad()
268 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoad()
285 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveRemovesPskQuotes()
300 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); in testWepNetworkWifiConfigurationSaveLoad()
311 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
313 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
322 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapTlsNoneNetworkWifiConfigurationSaveLoad()
[all …]
DWifiKeyStoreTest.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.TEST_UID;
166 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testAddKeysForAppInstalledCerts()
189 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapNetwork(); in testAddRemoveFromBothSavedAndSuggestionNetwork()
226 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapNetwork(); in test_remove_empty_alias_enterprise_config()
256 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigureSuiteBRsa3072()
284 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigureSuiteBEcdsa()
312 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigurationFailureSuiteB()
338 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigurationFailureSuiteBNon3072Rsa()
365 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigurationFailureSuiteB2048Rsa()
396 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapSuiteBNetwork( in testConfigurationFailureSuiteBNon3072RsaInList()
[all …]
DWifiCarrierInfoManagerTest.java501 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityEapSim()
508 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapSim()
525 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getSimIdentityEapAka()
532 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAka()
549 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA_PRIME, in getSimIdentityEapAkaPrime()
556 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAkaPrime()
596 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentity_WithRfc4648()
633 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentityFailed()
652 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentity2DigitMnc()
668 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityUnknownMccMnc()
[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()
DNetworkSuggestionStoreDataTest.java298 WifiConfiguration configuration = WifiConfigurationTestUtil.createEapNetwork(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
300 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
320 WifiConfigurationTestUtil.assertConfigurationEqual( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
322 WifiConfigurationTestUtil.assertWifiEnterpriseConfigEqualForConfigStore( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
338 WifiConfigurationTestUtil.createOpenNetwork(), null, false, false, true, true, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
348 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
368 WifiConfigurationTestUtil.createOpenNetwork(), null, false, true, true, true, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
371 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
384 WifiConfigurationTestUtil.createOpenNetwork(), null, true, false, true, true, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
387 WifiConfigurationTestUtil.createOpenNetwork(), null, false, true, true, true, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
DWifiNetworkSelectorTest.java22 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_EAP;
23 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
24 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_OWE;
25 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
26 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_SAE;
495 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected()
508 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected()
868 WifiConfigurationTestUtil.assertConfigurationEqual(networkSelectorChoice, candidate); in userConnectChoiceOverridesNetworkNominators()
890 WifiConfigurationTestUtil.assertConfigurationEqual(userChoice, candidate); in userConnectChoiceOverridesNetworkNominators()
936 WifiConfigurationTestUtil.assertConfigurationEqual(userChoice, candidate); in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
[all …]
DWakeupControllerTest.java135 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
393 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults()
395 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithSavedScanResults()
428 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions()
432 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithNetworkSuggestions()
470 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
475 WifiConfiguration oweNetwork = WifiConfigurationTestUtil.createOweNetwork(quotedSsid2); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
512 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in getGoodSavedNetworksAndSuggestionsIgnoreInvalidatedCaptivePortal()
533 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in getGoodSavedNetworksAndSuggestionsIncludeValidatedCaptivePortal()
554 WifiConfiguration openNetworkDfs = WifiConfigurationTestUtil in startFiltersOutDfsScanResults()
[all …]
DWifiNetworkFactoryTest.java838 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPeriodicScanCancelOnUserSelectNetwork()
1228 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1253 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
1274 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetwork()
1313 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1332 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1342 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1370 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
2319 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testHandleNewNetworkRequestWithSpecifierWhenAwaitingCmRetrieval()
2424 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
[all …]
DNonCarrierMergedNetworksStatusTrackerTest.java50 mTestNonCarrierMergedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
102 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
125 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testClearWillUndoDisableAllNonCarrierMergedNetworks()
DConnectionFailureNotifierTest.java114 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionFailureSendRandomizationSettingsNotification()
152 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testWifiConfigurationMismatch()
165 .thenReturn(WifiConfigurationTestUtil.createOpenNetwork()); in testWifiConfigurationMismatch()
DWifiConnectivityManagerTest.java26 import static com.android.server.wifi.WifiConfigurationTestUtil.generateWifiConfig;
412 WifiConfigurationTestUtil.SECURITY_NONE); in mockWifiNetworkSelector()
462 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in mockWifiConfigManager()
1703 WifiConfiguration candidateOtherConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testRetryConnectionIgnoresDisabledNetworks()
2695 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in verifyFullBandScanWhenConnected()
2770 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming()
2826 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in checkPartialSCanRequestedWithHighRssiNoActiveStreamWithoutFwRoaming()
2873 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()
3164 WifiConfigurationTestUtil.SECURITY_NONE); in clearBssidBlocklistWhenPreparingForForcedConnection()
3244 WifiConfigurationTestUtil.SECURITY_NONE); in useConfigSpecifiedBssidToConnectWhenFirmwareRoamingOn()
[all …]
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;
150 savedConfigs[i] = WifiConfigurationTestUtil.createEapNetwork( in setupScanDetailsAndConfigForEapSimNetwork()
DScanDetailCacheTest.java53 mWifiConfiguration = WifiConfigurationTestUtil.createOpenNetwork(); in setup()
107 return WifiConfigurationTestUtil.createScanDetailForNetwork(configuration, bssid, level, in createScanDetailForNetwork()
DWifiServiceImplTest.java54 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
244 WifiConfigurationTestUtil.generateWifiConfig(
247 WifiConfigurationTestUtil.generateWifiConfig(
250 WifiConfigurationTestUtil.generateWifiConfig(
253 WifiConfigurationTestUtil.generateWifiConfig(
256 WifiConfigurationTestUtil.generateWifiConfig(
259 WifiConfigurationTestUtil.generateWifiConfig(
1382 WifiConfigurationTestUtil.assertConfigurationEqualForSoftAp( in testGetWifiApConfigurationSuccess()
1627 WifiConfigurationTestUtil.assertConfigurationEqualForSoftAp( in testStartSoftApWithPermissionsAndValidConfig()
1664 WifiConfigurationTestUtil.assertConfigurationEqualForSoftAp( in testStartSoftApWithoutNetworkStackWithMainlineNetworkStackSucceeds()
[all …]
DWifiBlocklistMonitorTest.java965 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in verifyConsistentWatchdogAndSsidBlocklist()
989 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSelectionStatus()
1022 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet()
1043 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSelectionStatusEnableClearsDisableCounters()
1134 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testTryEnableNetworkExponentialBackoff()
1156 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testTryEnableNetworkExponentialBackoffCapped()
1174 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testTryEnableNetworkNoBssidsInBlocklist()
DClientModeImplTest.java601 mConnectedNetwork = spy(WifiConfigurationTestUtil.createOpenNetwork()); in setUp()
872 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectFromNonSettingsApp()
896 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequest()
1006 WifiConfigurationTestUtil.TEST_PROVIDER_FRIENDLY_NAME); in connect()
1024 WifiConfigurationTestUtil.TEST_PROVIDER_FRIENDLY_NAME); in connect()
1051 mConnectedNetwork = spy(WifiConfigurationTestUtil.createEapNetwork( in setupEapSimConnection()
1088 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in roamRaceWithConnect()
1187 mConnectedNetwork = spy(WifiConfigurationTestUtil.createEapNetwork( in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym()
1243 mConnectedNetwork = spy(WifiConfigurationTestUtil.createEapNetwork( in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym()
1297 mConnectedNetwork = spy(WifiConfigurationTestUtil.createEapNetwork( in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
[all …]
/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.java35 import com.android.server.wifi.WifiConfigurationTestUtil;
97 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
106 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testOpenHiddenWifiConfigurationSerializeDeserialize()
115 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskNetwork()); in testPskWifiConfigurationSerializeDeserialize()
125 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPskWifiConfigurationSerializeDeserializeWithEncryption()
140 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskHiddenNetwork()); in testPskHiddenWifiConfigurationSerializeDeserialize()
149 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createWepNetwork()); in testWepWifiConfigurationSerializeDeserialize()
159 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapWifiConfigurationSerializeDeserialize()
174 WifiConfigurationTestUtil.createStaticIpConfigurationWithPacProxy()); in testStaticIpConfigurationWithPacProxySerializeDeserialize()
184 WifiConfigurationTestUtil.createStaticIpConfigurationWithStaticProxy()); in testStaticIpConfigurationWithStaticProxySerializeDeserialize()
[all …]

12