Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
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()
352 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testReplaceNetworkSuggestionsSuccess()
385 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnInPlaceModification()
415 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnExceedsMaxPerApp()
428 WifiConfigurationTestUtil.createOpenNetwork(), false, false, TEST_UID_1, in testAddNetworkSuggestionsFailureOnExceedsMaxPerApp()
[all …]
DWifiConfigurationUtilTest.java208 WifiConfigurationTestUtil.createOpenNetwork(), in testValidatePositiveCases_Ascii()
274 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadAsciiSsidLength()
288 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadUtf8SsidLength()
303 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_MalformedAsciiSsidString()
315 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadHexSsidLength()
330 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_MalformedHexSsidString()
450 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_BadKeyMgmtOpenPsk()
491 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_InvalidKeyMgmt()
503 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_InvalidProtocol()
516 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testValidateNegativeCases_InvalidAuthAlgorithm()
[all …]
DNetworkSuggestionStoreDataTest.java192 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()
DNetworkListStoreDataTest.java247 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig()
415 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag()
432 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithMismatchConfigKey()
448 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkListWithOneNetworkIllegalArgException()
473 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorUidResetsToSystem()
500 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
527 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid()
551 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithValidCreatorUid()
DWifiConfigManagerTest.java285 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore()
314 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
336 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork()
355 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
388 WifiConfiguration ephemeralNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
417 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddingNetworkWithMatchingMacAddressOverridesField()
445 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsPersistedOverForgetNetwork()
476 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore()
508 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testUpdateSingleOpenNetwork()
538 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testCannotUpdateMacRandomizationSettingWithoutPermission()
[all …]
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()
DConfigurationMapTest.java275 verifyScanResultMatchWithNetwork(WifiConfigurationTestUtil.createOpenNetwork()); in testScanResultDoesMatchCorrespondingNetworks()
287 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchWithOtherNetworks()
302 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchAfterNetworkRemove()
320 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testScanResultDoesNotMatchAfterClear()
DWifiBackupRestoreTest.java242 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkBackupRestore()
532 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testMultipleNetworksAllBackupRestore()
563 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksNonEnterpriseBackupRestore()
600 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore()
648 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksSystemAppBackupRestore()
666 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkSupplicantBackupRestore()
801 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllSupplicantBackupRestore()
822 configurations.add(WifiConfigurationTestUtil.createOpenNetwork()); in testSingleOpenNetworkSupplicantBackupRestoreWithNoIpConfigData()
846 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksAllSupplicantBackupRestoreWithNoIpConfigData()
884 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksSystemAppSupplicantBackupRestore()
DScanResultMatchInfoTest.java46 conf = WifiConfigurationTestUtil.createOpenNetwork("\"WIFIght the inevitable\""); in testScanResultMatchesWifiConfiguration()
76 WifiConfigurationTestUtil.createOpenNetwork("\"Series Of Tubes\""); in testDifferentNetworkScanResultsDontMatch()
78 WifiConfigurationTestUtil.createOpenNetwork("\"Mom, Click Here For Internet\""); in testDifferentNetworkScanResultsDontMatch()
DWakeupControllerTest.java333 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults()
368 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions()
408 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
450 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssidDfs)); in startFiltersOutDfsScanResults()
453 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssid24)); in startFiltersOutDfsScanResults()
483 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForSavedNetworks()
511 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForNetworkSuggestions()
DWakeupEvaluatorTest.java71 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
74 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
DNetworkRequestStoreDataTest.java165 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
177 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
DWifiConfigurationTestUtil.java256 public static WifiConfiguration createOpenNetwork() { in createOpenNetwork() method in WifiConfigurationTestUtil
257 return createOpenNetwork(createNewSSID()); in createOpenNetwork()
260 public static WifiConfiguration createOpenNetwork(String ssid) { in createOpenNetwork() method in WifiConfigurationTestUtil
266 WifiConfiguration configuration = createOpenNetwork(); in createEphemeralNetwork()
272 WifiConfiguration configuration = createOpenNetwork(); in createOpenHiddenNetwork()
DWifiCandidatesTest.java62 mConfig1 = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
DWifiConfigStoreTest.java517 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData()
562 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData()
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()
1345 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnected()
1372 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()
DWifiServiceImplTest.java3655 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testFactoryReset()
3732 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsNotAllowedForAppsTargetingQSDK()
3752 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsTargetingBelowQSDK()
3771 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSettingsApp()
3794 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSystemApp()
3815 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsWithSystemAlertPermission()
3837 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForDOApp()
3858 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForPOApp()
DWifiNetworkFactoryTest.java1016 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1040 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
1714 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2740 WifiConfigurationTestUtil.createOpenNetwork()); in getScanResultCapsForType()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java92 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
DTelephonyUtilTest.java268 assertFalse(TelephonyUtil.isSimConfig(WifiConfigurationTestUtil.createOpenNetwork())); in isSimConfig()