Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java209 dumpString.contains(WifiConfigurationTestUtil.TEST_SSID)); in cleanUp()
212 dumpString.contains(WifiConfigurationTestUtil.TEST_PSK)); in cleanUp()
214 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[0])); in cleanUp()
216 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[1])); in cleanUp()
218 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[2])); in cleanUp()
220 dumpString.contains(WifiConfigurationTestUtil.TEST_WEP_KEYS[3])); in cleanUp()
242 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkBackupRestore()
247 WifiConfigurationTestUtil.assertConfigurationsEqualForBackup( in testSingleOpenNetworkBackupRestore()
258 configurations.add(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testSingleOpenHiddenNetworkBackupRestore()
263 WifiConfigurationTestUtil.assertConfigurationsEqualForBackup( in testSingleOpenHiddenNetworkBackupRestore()
[all …]
DWifiConfigurationUtilTest.java208 WifiConfigurationTestUtil.createOpenNetwork(), in testValidatePositiveCases_Ascii()
211 WifiConfigurationTestUtil.createPskNetwork(), in testValidatePositiveCases_Ascii()
214 WifiConfigurationTestUtil.createWepNetwork(), in testValidatePositiveCases_Ascii()
217 WifiConfigurationTestUtil.createEapNetwork(), in testValidatePositiveCases_Ascii()
220 WifiConfigurationTestUtil.createOweNetwork(), in testValidatePositiveCases_Ascii()
223 WifiConfigurationTestUtil.createSaeNetwork(), in testValidatePositiveCases_Ascii()
226 WifiConfigurationTestUtil.createEapSuiteBNetwork(), in testValidatePositiveCases_Ascii()
236 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_Hex()
248 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testValidatePositiveCases_MaskedPskString()
274 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadAsciiSsidLength()
[all …]
DWifiConfigManagerTest.java94 private static final int TEST_CREATOR_UID = WifiConfigurationTestUtil.TEST_UID;
285 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore()
314 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
336 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork()
344 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddSingleOpenNetwork()
355 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
375 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
388 WifiConfiguration ephemeralNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
405 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
417 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddingNetworkWithMatchingMacAddressOverridesField()
[all …]
DScanResultMatchInfoTest.java41 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi\""); in testScanResultMatchesWifiConfiguration()
46 conf = WifiConfigurationTestUtil.createOpenNetwork("\"WIFIght the inevitable\""); in testScanResultMatchesWifiConfiguration()
59 WifiConfigurationTestUtil.createPskNetwork("\"PrettyFlyForAWifi-5G\""); in testDifferentBssidScanResultsMatch()
74 WifiConfigurationTestUtil.createPskNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
76 WifiConfigurationTestUtil.createOpenNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
78 WifiConfigurationTestUtil.createOpenNetwork("\"Mom, Click Here For Internet\""); in testDifferentNetworkScanResultsDontMatch()
95 WifiConfigurationTestUtil.createPskNetwork("\"Transition is Hard\""); in testEqualityRulesForTransitionMode()
128 WifiConfigurationTestUtil.createPskNetwork("\"Psk Tsk\""); in testEqualityRulesForPsk()
162 WifiConfigurationTestUtil.createSaeNetwork(); in testEqualityRulesForSae()
195 WifiConfigurationTestUtil.createPskNetwork("\"Transition is Hard\""); in testHashForTransitionMode()
[all …]
DConfigurationMapTest.java53 WifiConfigurationTestUtil.generateWifiConfig(
55 WifiConfigurationTestUtil.generateWifiConfig(
57 WifiConfigurationTestUtil.generateWifiConfig(
59 WifiConfigurationTestUtil.generateWifiConfig(
61 WifiConfigurationTestUtil.generateWifiConfig(
63 WifiConfigurationTestUtil.generateWifiConfig(
186 return WifiConfigurationTestUtil.createScanDetailForNetwork(config, "", 0, 0, 0, 0) in createScanResultForNetwork()
275 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createOpenNetwork()); in testScanResultDoesMatchCorrespondingNetworks()
276 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createPskNetwork()); in testScanResultDoesMatchCorrespondingNetworks()
277 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createWepNetwork()); in testScanResultDoesMatchCorrespondingNetworks()
[all …]
DNetworkSuggestionStoreDataTest.java158 WifiConfiguration configuration = WifiConfigurationTestUtil.createEapNetwork(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
160 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
176 WifiConfigurationTestUtil.assertConfigurationEqual( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
178 WifiConfigurationTestUtil.assertWifiEnterpriseConfigEqualForConfigStore( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
192 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
201 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_2, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
220 WifiConfigurationTestUtil.createOpenNetwork(), false, true, TEST_UID_1, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
223 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_1, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
234 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_2, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
237 WifiConfigurationTestUtil.createOpenNetwork(), false, true, TEST_UID_2, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
DWifiNetworkSuggestionsManagerTest.java188 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsSuccess()
191 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testAddNetworkSuggestionsSuccess()
233 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testRemoveNetworkSuggestionsSuccess()
236 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testRemoveNetworkSuggestionsSuccess()
279 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testRemoveAllNetworkSuggestionsSuccess()
282 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testRemoveAllNetworkSuggestionsSuccess()
315 WifiConfigurationTestUtil.createEapNetwork(), false, false, TEST_UID_1, in testAddRemoveEnterpriseNetworkSuggestion()
318 WifiConfigurationTestUtil.createEapNetwork(), false, false, TEST_UID_2, in testAddRemoveEnterpriseNetworkSuggestion()
338 WifiConfigurationTestUtil.createEapNetwork(), false, false, TEST_UID_1, in testAddRemoveEnterpriseNetworkSuggestion()
352 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testReplaceNetworkSuggestionsSuccess()
[all …]
DNetworkListStoreDataTest.java247 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig()
251 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
254 WifiConfiguration eapNetwork = WifiConfigurationTestUtil.createEapNetwork(); in getTestNetworksConfig()
258 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
350 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigStore( in deserializeSharedConfigurations()
415 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag()
432 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithMismatchConfigKey()
448 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkListWithOneNetworkIllegalArgException()
449 WifiConfiguration eapNetwork = WifiConfigurationTestUtil.createEapNetwork(); in parseNetworkListWithOneNetworkIllegalArgException()
473 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorUidResetsToSystem()
[all …]
DSupplicantStaNetworkHalTest.java129 WifiConfiguration config = WifiConfigurationTestUtil.createOweNetwork(); in testOweNetworkWifiConfigurationSaveLoad()
139 WifiConfiguration config = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testOpenNetworkWifiConfigurationSaveLoad()
153 WifiConfiguration config = WifiConfigurationTestUtil.createSaeNetwork(); in testSaePasswordNetworkWifiConfigurationSaveLoad()
171 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskPassphraseNetworkWifiConfigurationSaveLoad()
187 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveLoad()
204 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); in testPskNetworkWifiConfigurationSaveRemovesPskQuotes()
216 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); in testWepNetworkWifiConfigurationSaveLoad()
227 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
229 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in testEapPeapGtcNetworkWifiConfigurationSaveLoad()
238 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); in testEapTlsNoneNetworkWifiConfigurationSaveLoad()
[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()
DSavedNetworkEvaluatorTest.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
20 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
272 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in chooseStrongerRssi2GNetwork()
300 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in chooseStrongerRssi5GNetwork()
327 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in chooseSecureNetworkOverOpenNetwork()
354 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in choose5GNetworkOver2GNetwork()
386 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in stickToCurrentNetwork()
419 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in stickToCurrentBSSID()
459 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[2], candidate); in currentBssidAwardForAllBssidsWithinTheSameNetworkWhenFirmwareRoamingSupported()
470 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in currentBssidAwardForAllBssidsWithinTheSameNetworkWhenFirmwareRoamingSupported()
[all …]
DScoredNetworkEvaluatorTest.java20 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
310 WifiConfigurationTestUtil.assertConfigurationEqual(ephemeralNetworkConfig, candidate); in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable()
351 WifiConfigurationTestUtil.assertConfigurationEqual(ephemeralNetworkConfig, candidate); in testEvaluateNetworks_chooseEphemeralNetworkBecauseOfNoSavedNetwork()
395 WifiConfigurationTestUtil.assertConfigurationEqual(ephemeralNetworkConfigs[1], candidate); in testEvaluateNetworks_chooseHigherScoredEphemeralNetwork()
465 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in testEvaluateNetworks_chooseSavedNetworkWithExternalScore()
501 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in testEvaluateNetworks_chooseSavedNetworkWithHigherExternalScore()
538 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in testEvaluateNetworks_chooseExternallyScoredOverUntrustedNetworksWithSameScore()
595 WifiConfigurationTestUtil.assertConfigurationEqual(ephemeralNetworkConfig, candidate); in testEvaluateNetworks_chooseUntrustedWithHigherScoreThanExternallyScoredNetwork()
670 WifiConfigurationTestUtil.assertConfigurationEqual(ephemeralNetworkConfigs[1], candidate); in testEvaluateNetworks_chooseActiveEphemeralNetwork()
[all …]
DWakeupControllerTest.java333 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults()
335 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithSavedScanResults()
368 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions()
371 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithNetworkSuggestions()
408 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
413 WifiConfiguration oweNetwork = WifiConfigurationTestUtil.createOweNetwork(quotedSsid2); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
449 WifiConfiguration openNetworkDfs = WifiConfigurationTestUtil in startFiltersOutDfsScanResults()
452 WifiConfiguration openNetwork24 = WifiConfigurationTestUtil in startFiltersOutDfsScanResults()
482 WifiConfiguration openNetwork = WifiConfigurationTestUtil in onResultsUpdatesWakeupLockForSavedNetworks()
510 WifiConfiguration openNetwork = WifiConfigurationTestUtil in onResultsUpdatesWakeupLockForNetworkSuggestions()
DMacAddressUtilTest.java63 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testCalculatePersistentMacForConfiguration()
81 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testCalculatePersistentMacCatchesException()
DConnectionFailureNotifierTest.java120 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionFailureSendRandomizationSettingsNotification()
159 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testWifiConfigurationMismatch()
173 .thenReturn(WifiConfigurationTestUtil.createOpenNetwork()); in testWifiConfigurationMismatch()
DWifiNetworkFactoryTest.java1016 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1040 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
1061 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetwork()
1105 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1127 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1137 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
1165 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
1714 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2103 WifiConfigurationTestUtil.createPskNetwork(), TEST_UID_1, TEST_PACKAGE_NAME_1); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedWithNoCache()
2152 WifiConfigurationTestUtil.createPskNetwork(), TEST_UID_1, TEST_PACKAGE_NAME_1); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedNForgot()
[all …]
DWakeupEvaluatorTest.java71 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
74 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
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;
386 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected()
396 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected()
444 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in openNetworkIsNotSufficient()
756 WifiConfigurationTestUtil.assertConfigurationEqual(networkSelectorChoice, candidate); in userConnectChoiceOverridesNetworkEvaluators()
772 WifiConfigurationTestUtil.assertConfigurationEqual(userChoice, candidate); in userConnectChoiceOverridesNetworkEvaluators()
DClientModeImplTest.java513 mConnectedNetwork = spy(WifiConfigurationTestUtil.createOpenNetwork()); in setUp()
739 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in canSaveNetworkConfig()
794 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in saveNetworkConfigFailsWithConfigAddFailure()
814 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in saveNetworkConfigFailsWithConfigEnableFailure()
965 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectFromNonSettingsApp()
991 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequest()
1053 mConnectedNetwork = spy(WifiConfigurationTestUtil.createEapNetwork( in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym()
1104 mConnectedNetwork = spy(WifiConfigurationTestUtil.createEapNetwork( in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym()
1153 mConnectedNetwork = spy(WifiConfigurationTestUtil.createEapNetwork( in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
1200 WifiConfiguration config = spy(WifiConfigurationTestUtil.createPasspointNetwork()); in connectPasspointAp()
[all …]
DWifiConfigStoreTest.java517 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData()
520 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in testReadWifiConfigStoreData()
543 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigStore( in testReadWifiConfigStoreData()
562 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData()
565 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in testWriteWifiConfigStoreData()
DWifiCandidatesTest.java62 mConfig1 = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
68 mConfig2 = WifiConfigurationTestUtil.createEphemeralNetwork(); in setUp()
DWifiServiceImplTest.java183 WifiConfigurationTestUtil.generateWifiConfig(
185 WifiConfigurationTestUtil.generateWifiConfig(
187 WifiConfigurationTestUtil.generateWifiConfig(
189 WifiConfigurationTestUtil.generateWifiConfig(
191 WifiConfigurationTestUtil.generateWifiConfig(
193 WifiConfigurationTestUtil.generateWifiConfig(
1429 WifiConfigurationTestUtil.assertConfigurationsEqualForBackup( in testConfiguredNetworkListAreVisibleFromPermittedApp()
1486 WifiConfigurationTestUtil.assertConfigurationsEqualForBackup( in testPrivilegedConfiguredNetworkListAreVisibleFromPermittedApp()
2668 WifiConfiguration config = WifiConfigurationTestUtil.createPasspointNetwork(); in testAddPasspointProfileViaAddNetwork()
3655 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testFactoryReset()
[all …]
DWifiKeyStoreTest.java162 WifiConfiguration savedNetwork = WifiConfigurationTestUtil.createEapNetwork(); in testAddFromBothSavedAndSuggestionNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DTelephonyUtilTest.java33 import com.android.server.wifi.WifiConfigurationTestUtil;
81 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityEapSim()
85 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapSim()
101 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getSimIdentityEapAka()
105 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAka()
121 WifiConfigurationTestUtil.createEapNetwork( in getSimIdentityEapAkaPrime()
126 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAkaPrime()
163 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentity_WithRfc4648()
196 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentityFailed()
215 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentity2DigitMnc()
[all …]
DXmlUtilTest.java33 import com.android.server.wifi.WifiConfigurationTestUtil;
92 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
101 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testOpenHiddenWifiConfigurationSerializeDeserialize()
110 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskNetwork()); in testPskWifiConfigurationSerializeDeserialize()
120 WifiConfiguration pskNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testPskWifiConfigurationSerializeDeserializeWithEncryption()
135 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskHiddenNetwork()); in testPskHiddenWifiConfigurationSerializeDeserialize()
144 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createWepNetwork()); in testWepWifiConfigurationSerializeDeserialize()
155 WifiConfigurationTestUtil.createEapNetwork()); in testEapWifiConfigurationSerializeDeserialize()
165 WifiConfigurationTestUtil.createStaticIpConfigurationWithPacProxy()); in testStaticIpConfigurationWithPacProxySerializeDeserialize()
175 WifiConfigurationTestUtil.createStaticIpConfigurationWithStaticProxy()); in testStaticIpConfigurationWithStaticProxySerializeDeserialize()
[all …]

12