Home
last modified time | relevance | path

Searched refs:WifiConfigurationTestUtil (Results 1 – 25 of 29) 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.java90 private static final int TEST_CREATOR_UID = WifiConfigurationTestUtil.TEST_UID;
263 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore()
290 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork()
298 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddSingleOpenNetwork()
309 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
329 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
342 WifiConfiguration ephemeralNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
359 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigManagerAddOrUpdate( in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
370 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddingNetworkWithMatchingMacAddressOverridesField()
394 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsPersistedOverForgetNetwork()
[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.java155 WifiConfiguration configuration = WifiConfigurationTestUtil.createEapNetwork(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
157 WifiConfigurationTestUtil.createPEAPWifiEnterpriseConfigWithGTCPhase2(); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
173 WifiConfigurationTestUtil.assertConfigurationEqual( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
175 WifiConfigurationTestUtil.assertWifiEnterpriseConfigEqualForConfigStore( in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
189 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
198 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_2, in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
217 WifiConfigurationTestUtil.createOpenNetwork(), false, true, TEST_UID_1, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
220 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_1, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
231 WifiConfigurationTestUtil.createOpenNetwork(), true, false, TEST_UID_2, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
234 WifiConfigurationTestUtil.createOpenNetwork(), false, true, TEST_UID_2, in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
DNetworkListStoreDataTest.java244 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig()
248 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
251 WifiConfiguration eapNetwork = WifiConfigurationTestUtil.createEapNetwork(); in getTestNetworksConfig()
255 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in getTestNetworksConfig()
347 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigStore( in deserializeSharedConfigurations()
412 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag()
429 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithMismatchConfigKey()
445 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkListWithOneNetworkIllegalArgException()
446 WifiConfiguration eapNetwork = WifiConfigurationTestUtil.createEapNetwork(); in parseNetworkListWithOneNetworkIllegalArgException()
470 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorUidResetsToSystem()
[all …]
DWifiNetworkSuggestionsManagerTest.java184 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsSuccess()
187 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testAddNetworkSuggestionsSuccess()
229 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testRemoveNetworkSuggestionsSuccess()
232 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testRemoveNetworkSuggestionsSuccess()
273 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testRemoveAllNetworkSuggestionsSuccess()
276 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_2, in testRemoveAllNetworkSuggestionsSuccess()
310 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testReplaceNetworkSuggestionsSuccess()
342 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnInPlaceModification()
372 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnExceedsMaxPerApp()
385 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnExceedsMaxPerApp()
[all …]
DNetworkRequestStoreDataTest.java115 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromSingleApp()
133 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromMultipleApps()
141 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeSingleNetworkRequestFromMultipleApps()
159 WifiConfigurationTestUtil.createPskNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
162 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
171 WifiConfigurationTestUtil.createSaeNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
174 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
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 …]
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.java329 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults()
331 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithSavedScanResults()
364 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions()
367 WifiConfiguration wepNetwork = WifiConfigurationTestUtil.createWepNetwork(); in startInitializesWakeupLockWithNetworkSuggestions()
404 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
409 WifiConfiguration oweNetwork = WifiConfigurationTestUtil.createOweNetwork(quotedSsid2); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
445 WifiConfiguration openNetworkDfs = WifiConfigurationTestUtil in startFiltersOutDfsScanResults()
448 WifiConfiguration openNetwork24 = WifiConfigurationTestUtil in startFiltersOutDfsScanResults()
478 WifiConfiguration openNetwork = WifiConfigurationTestUtil in onResultsUpdatesWakeupLockForSavedNetworks()
506 WifiConfiguration openNetwork = WifiConfigurationTestUtil in onResultsUpdatesWakeupLockForNetworkSuggestions()
DWifiNetworkFactoryTest.java1015 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1039 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
1060 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetwork()
1097 mSelectedNetwork = WifiConfigurationTestUtil.createPskNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
1637 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2027 WifiConfigurationTestUtil.createPskNetwork(), TEST_UID_1, TEST_PACKAGE_NAME_1); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchPreviouslyApproved()
2074 WifiConfigurationTestUtil.createPskNetwork(), TEST_UID_1, TEST_PACKAGE_NAME_1); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchPreviouslyApprovedNForgot()
2114 ssidPatternMatch, bssidPatternMatch, WifiConfigurationTestUtil.createPskNetwork(), in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchNotPreviouslyApproved()
2153 ssidPatternMatch, bssidPatternMatch, WifiConfigurationTestUtil.createPskNetwork(), in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchPreviouslyApproved()
2196 ssidPatternMatch, bssidPatternMatch, WifiConfigurationTestUtil.createPskNetwork(), in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchAfterApprovalsRemove()
[all …]
DWakeupEvaluatorTest.java71 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
74 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
DWifiConfigStoreTest.java497 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData()
500 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in testReadWifiConfigStoreData()
523 WifiConfigurationTestUtil.assertConfigurationsEqualForConfigStore( in testReadWifiConfigStoreData()
542 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData()
545 WifiConfigurationTestUtil.createDHCPIpConfigurationWithNoProxy()); in testWriteWifiConfigStoreData()
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()
DWifiCandidatesTest.java61 mConfig1 = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
67 mConfig2 = WifiConfigurationTestUtil.createEphemeralNetwork(); in setUp()
DClientModeImplTest.java502 mConnectedNetwork = spy(WifiConfigurationTestUtil.createOpenNetwork()); in setUp()
728 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in canSaveNetworkConfig()
783 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in saveNetworkConfigFailsWithConfigAddFailure()
803 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in saveNetworkConfigFailsWithConfigEnableFailure()
954 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectFromNonSettingsApp()
980 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequest()
1040 mConnectedNetwork = spy(WifiConfigurationTestUtil.createEapNetwork( in testSetAnonymousIdentityWhenConnectionIsEstablished()
1080 WifiConfiguration config = spy(WifiConfigurationTestUtil.createPasspointNetwork()); in connectPasspointAp()
1096 assertEquals(WifiConfigurationTestUtil.TEST_FQDN, wifiInfo.getPasspointFqdn()); in connectPasspointAp()
1097 assertEquals(WifiConfigurationTestUtil.TEST_PROVIDER_FRIENDLY_NAME, in connectPasspointAp()
[all …]
DWifiServiceImplTest.java178 WifiConfigurationTestUtil.generateWifiConfig(
180 WifiConfigurationTestUtil.generateWifiConfig(
182 WifiConfigurationTestUtil.generateWifiConfig(
184 WifiConfigurationTestUtil.generateWifiConfig(
186 WifiConfigurationTestUtil.generateWifiConfig(
188 WifiConfigurationTestUtil.generateWifiConfig(
1290 WifiConfigurationTestUtil.assertConfigurationsEqualForBackup( in testConfiguredNetworkListAreVisibleFromPermittedApp()
1347 WifiConfigurationTestUtil.assertConfigurationsEqualForBackup( in testPrivilegedConfiguredNetworkListAreVisibleFromPermittedApp()
2513 WifiConfiguration config = WifiConfigurationTestUtil.createPasspointNetwork(); in testAddPasspointProfileViaAddNetwork()
3501 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testFactoryReset()
[all …]
DNetworkSuggestionEvaluatorTest.java22 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
23 import static com.android.server.wifi.WifiConfigurationTestUtil.generateWifiConfig;
DWifiMetricsTest.java515 testSavedNetworks.add(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in buildSavedNetworkList()
518 testSavedNetworks.add(WifiConfigurationTestUtil.createPskNetwork()); in buildSavedNetworkList()
522 testSavedNetworks.add(WifiConfigurationTestUtil.createPasspointNetwork()); in buildSavedNetworkList()
525 testSavedNetworks.add(WifiConfigurationTestUtil.createOweNetwork()); in buildSavedNetworkList()
528 testSavedNetworks.add(WifiConfigurationTestUtil.createSaeNetwork()); in buildSavedNetworkList()
531 testSavedNetworks.add(WifiConfigurationTestUtil.createEapSuiteBNetwork()); in buildSavedNetworkList()
/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.java32 import com.android.server.wifi.WifiConfigurationTestUtil;
82 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
91 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenHiddenNetwork()); in testOpenHiddenWifiConfigurationSerializeDeserialize()
100 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskNetwork()); in testPskWifiConfigurationSerializeDeserialize()
109 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createPskHiddenNetwork()); in testPskHiddenWifiConfigurationSerializeDeserialize()
118 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createWepNetwork()); in testWepWifiConfigurationSerializeDeserialize()
129 WifiConfigurationTestUtil.createEapNetwork()); in testEapWifiConfigurationSerializeDeserialize()
139 WifiConfigurationTestUtil.createStaticIpConfigurationWithPacProxy()); in testStaticIpConfigurationWithPacProxySerializeDeserialize()
149 WifiConfigurationTestUtil.createStaticIpConfigurationWithStaticProxy()); in testStaticIpConfigurationWithStaticProxySerializeDeserialize()
160 WifiConfigurationTestUtil.createPartialStaticIpConfigurationWithPacProxy()); in testPartialStaticIpConfigurationWithPacProxySerializeDeserialize()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java51 import com.android.server.wifi.WifiConfigurationTestUtil;
410 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork( in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()

12