Home
last modified time | relevance | path

Searched refs:createOpenNetwork (Results 1 – 25 of 26) sorted by relevance

12

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
H A DLruConnectionTrackerTest.java55 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()
96 WifiConfiguration network4 = WifiConfigurationTestUtil.createOpenNetwork(); in testIsMostRecentlyNetwork()
H A DXmlUtilTest.java97 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationUtilTest.java199 WifiConfigurationTestUtil.createOpenNetwork(), in testValidatePositiveCases_AsciiSsidString()
277 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadAsciiSsidLength()
637 WifiConfigurationTestUtil.createOpenNetwork()); in testValidateNetworkSpecifierPositiveCases_SsidPattern()
651 WifiConfigurationTestUtil.createOpenNetwork()); in testValidateNetworkSpecifierPositiveCases_BssidPattern()
665 WifiConfigurationTestUtil.createOpenNetwork()); in testValidateNetworkSpecifierPositiveCases_BothSsidPatternAndBssidPattern()
680 WifiConfigurationTestUtil.createOpenNetwork()); in testValidateNetworkSpecifierPositiveCases_SsidPatternAndBssidPatternAndBand()
695 WifiConfigurationTestUtil.createOpenNetwork()); in testValidateNetworkSpecifierNegativeCases_NoSsidBssid()
709 WifiConfigurationTestUtil.createOpenNetwork()); in testValidateNetworkSpecifierNegativeCases_MatchNoneSsidPattern()
723 WifiConfigurationTestUtil.createOpenNetwork()); in testValidateNetworkSpecifierNegativeCases_MatchNoneBssidPattern()
737 WifiConfigurationTestUtil.createOpenNetwork()); in testValidateNetworkSpecifierNegativeCases_InvalidBssidPattern()
[all …]
H A DWifiConfigManagerTest.java1849 WifiConfigurationTestUtil.createOpenNetwork()); in testMatchScanDetailToNetworksAndCache()
2535 WifiConfiguration c = WifiConfigurationTestUtil.createOpenNetwork(); in setUpWifiConfigurationForEnhancedRandomization()
6075 WifiConfigurationTestUtil.createOpenNetwork(); in testSetUserConnectChoice()
6080 WifiConfigurationTestUtil.createOpenNetwork(); in testSetUserConnectChoice()
6128 WifiConfigurationTestUtil.createOpenNetwork(); in testSetUserConnectChoiceForSuggestionAndPasspointNetwork()
6667 WifiConfigurationTestUtil.createOpenNetwork(), in testOpenOweValidationTransitionDisableIndication()
6741 WifiConfigurationTestUtil.createOpenNetwork(), in testNonApplicableTransitionDisableIndicationNotAffectOpenOweType()
6776 Arrays.asList(WifiConfigurationTestUtil.createOpenNetwork()); in testLoadFromSharedAndUserStoreHandleFailureOnUserBuilds()
6945 WifiConfigurationTestUtil.createOpenNetwork(TEST_SSID), in testMergeOweToOpenNetwork()
6957 WifiConfigurationTestUtil.createOpenNetwork(TEST_SSID), in testMergeOpenToOweNetwork()
[all …]
H A DWifiNetworkSuggestionsManagerTest.java1627 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testOnNetworkConnectionSuccessWithMultipleMatch()
3336 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSuggestionWithValidCarrierIdWithCarrierProvisionPermission()
3355 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSuggestionWithValidCarrierIdWithoutCarrierProvisionPermission()
3373 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSuggestionWithDefaultCarrierIdWithoutCarrierProvisionPermission()
3956 WifiConfigurationTestUtil.createOpenNetwork(), in getMatchingScanResultsTestWithPasspointAndNonPasspointMatch()
4008 WifiConfigurationTestUtil.createOpenNetwork(), in getMatchingScanResultsTestWithMatchNothing()
4045 WifiConfigurationTestUtil.createOpenNetwork(), in getMatchingScanResultsTestWithInvalidWifiConfiguration()
4185 WifiConfiguration network1 = WifiConfigurationTestUtil.createOpenNetwork(); in testGetPnoAvailableSuggestions()
4186 WifiConfiguration network2 = WifiConfigurationTestUtil.createOpenNetwork(); in testGetPnoAvailableSuggestions()
4216 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in getAllScanOptimizationSuggestionNetworks_returnsActiveScorerWithoutUserApproval()
[all …]
H A DNetworkListStoreDataTest.java624 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag()
645 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithMismatchConfigKey()
661 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkListWithOneNetworkIllegalArgException()
687 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorUidResetsToSystem()
714 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
741 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid()
765 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithValidCreatorUid()
836 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork( in testWifiConfigSaveToStoreOrder()
H A DConfigurationMapTest.java315 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createOpenNetwork()); in testScanResultDoesMatchCorrespondingNetworks()
327 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchWithOtherNetworks()
341 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchAfterNetworkRemove()
359 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchAfterClear()
374 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchForWifiNetworkSpecifier()
393 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchForWifiNetworkSuggestion()
H A DNetworkSuggestionStoreDataTest.java338 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()
H A DNonCarrierMergedNetworksStatusTrackerTest.java50 mTestNonCarrierMergedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
102 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
125 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testClearWillUndoDisableAllNonCarrierMergedNetworks()
H A DWakeupControllerTest.java135 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
393 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults()
428 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions()
470 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
512 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in getGoodSavedNetworksAndSuggestionsIgnoreInvalidatedCaptivePortal()
533 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in getGoodSavedNetworksAndSuggestionsIncludeValidatedCaptivePortal()
555 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssidDfs)); in startFiltersOutDfsScanResults()
558 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssid24)); in startFiltersOutDfsScanResults()
588 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForSavedNetworks()
616 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForNetworkSuggestions()
H A DConnectionFailureNotifierTest.java114 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionFailureSendRandomizationSettingsNotification()
152 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testWifiConfigurationMismatch()
165 .thenReturn(WifiConfigurationTestUtil.createOpenNetwork()); in testWifiConfigurationMismatch()
H A DWifiBackupRestoreTest.java329 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkBackupRestore()
619 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testMultipleNetworksAllBackupRestore()
650 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksNonEnterpriseBackupRestore()
687 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore()
735 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksSystemAppBackupRestore()
753 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkSupplicantBackupRestore()
890 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllSupplicantBackupRestore()
911 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkSupplicantBackupRestoreWithNoIpConfigData()
935 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksAllSupplicantBackupRestoreWithNoIpConfigData()
973 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksSystemAppSupplicantBackupRestore()
H A DScanResultMatchInfoTest.java104 conf = WifiConfigurationTestUtil.createOpenNetwork("\"WIFIght the inevitable\""); in testScanResultMatchesWifiConfiguration()
147 WifiConfigurationTestUtil.createOpenNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
149 WifiConfigurationTestUtil.createOpenNetwork("\"Mom, Click Here For Internet\""); in testDifferentNetworkScanResultsDontMatch()
418 WifiConfigurationTestUtil.createOpenNetwork("\"Downgrade\""); in testOweToOpenDoesNotDowngrade()
H A DNetworkRequestStoreDataTest.java165 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
177 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
H A DWakeupEvaluatorTest.java87 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
90 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
H A 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()
H A DScanDetailCacheTest.java53 mWifiConfiguration = WifiConfigurationTestUtil.createOpenNetwork(); in setup()
H A DWifiConfigurationTestUtil.java293 public static WifiConfiguration createOpenNetwork() { in createOpenNetwork() method in WifiConfigurationTestUtil
294 return createOpenNetwork(createNewSSID()); in createOpenNetwork()
297 public static WifiConfiguration createOpenNetwork(String ssid) { in createOpenNetwork() method in WifiConfigurationTestUtil
321 WifiConfiguration configuration = createOpenNetwork(); in createEphemeralNetwork()
327 WifiConfiguration configuration = createOpenNetwork(); in createOpenHiddenNetwork()
H A DWifiConnectivityManagerTest.java462 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()
4114 WifiConfiguration configuration1 = WifiConfigurationTestUtil.createOpenNetwork(); in testFetchChannelSetForPartialScanMaxCount()
4115 WifiConfiguration configuration2 = WifiConfigurationTestUtil.createOpenNetwork(); in testFetchChannelSetForPartialScanMaxCount()
4134 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in testFetchChannelSetForNetwork()
4152 WifiConfiguration configuration = WifiConfigurationTestUtil.createOpenNetwork(); in testFetchChannelSetForNetworkIncludeCurrentNetwork()
[all …]
H A DWifiCandidatesTest.java91 mConfig1 = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
H A DWifiCarrierInfoManagerTest.java2029 WifiConfiguration config1 = WifiConfigurationTestUtil.createOpenNetwork(); in testShouldDisableMacRandomization()
2030 WifiConfiguration config2 = WifiConfigurationTestUtil.createOpenNetwork(); in testShouldDisableMacRandomization()
2069 WifiConfiguration config1 = WifiConfigurationTestUtil.createOpenNetwork(); in testOnlyDisableMacRandomizationOnCarrierNetworks()
2070 WifiConfiguration config2 = WifiConfigurationTestUtil.createOpenNetwork(); in testOnlyDisableMacRandomizationOnCarrierNetworks()
H A DWifiServiceImplTest.java5612 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testFactoryReset()
5675 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsNotAllowedForAppsTargetingQSdk()
5697 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsTargetingBelowQSdk()
5719 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSettingsApp()
5745 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSystemApp()
5769 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsWithSystemAlertPermission()
5793 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForDOApp()
5816 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForPOApp()
5828 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in verifyAddOrUpdateNetworkPrivilegedDoesNotThrowException()
5846 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkPrivilegedNotAllowedForNormalApps()
[all …]
H A DClientModeImplTest.java601 mConnectedNetwork = spy(WifiConfigurationTestUtil.createOpenNetwork()); in setUp()
872 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectFromNonSettingsApp()
896 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequest()
1088 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in roamRaceWithConnect()
1600 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnected()
1628 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()
1828 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in connectWhileObtainingIp()
5670 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testConnectionWhileDisconnecting()
H A DWifiNetworkFactoryTest.java1228 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1253 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
2424 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
3485 WifiConfigurationTestUtil.createOpenNetwork()); in getScanResultCapsForType()
H A DWifiConfigStoreTest.java564 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData()

12