Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
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 …]
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.java189 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()
412 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithUnknownTag()
429 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithMismatchConfigKey()
445 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkListWithOneNetworkIllegalArgException()
470 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorUidResetsToSystem()
497 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithInvalidCreatorNameResetsToPackageNameForCreatorUid()
524 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithNullCreatorNameResetsToPackageNameForCreatorUid()
548 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in parseNetworkWithValidCreatorUid()
DWifiConfigManagerTest.java263 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore()
290 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork()
309 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
342 WifiConfiguration ephemeralNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
370 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddingNetworkWithMatchingMacAddressOverridesField()
394 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsPersistedOverForgetNetwork()
423 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore()
455 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testUpdateSingleOpenNetwork()
485 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testCannotUpdateMacRandomizationSettingWithoutPermission()
510 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
[all …]
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()
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()
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()
DWakeupControllerTest.java329 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults()
364 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions()
404 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
446 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssidDfs)); in startFiltersOutDfsScanResults()
449 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssid24)); in startFiltersOutDfsScanResults()
479 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForSavedNetworks()
507 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForNetworkSuggestions()
DWakeupEvaluatorTest.java71 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
74 WifiConfigurationTestUtil.createOpenNetwork( in getSavedNetworks()
DNetworkRequestStoreDataTest.java162 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
174 WifiConfigurationTestUtil.createOpenNetwork().SSID, in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
DWifiConfigurationTestUtil.java255 public static WifiConfiguration createOpenNetwork() { in createOpenNetwork() method in WifiConfigurationTestUtil
256 return createOpenNetwork(createNewSSID()); in createOpenNetwork()
259 public static WifiConfiguration createOpenNetwork(String ssid) { in createOpenNetwork() method in WifiConfigurationTestUtil
265 WifiConfiguration configuration = createOpenNetwork(); in createEphemeralNetwork()
271 WifiConfiguration configuration = createOpenNetwork(); in createOpenHiddenNetwork()
DWifiCandidatesTest.java61 mConfig1 = WifiConfigurationTestUtil.createOpenNetwork(); in setUp()
DWifiConfigStoreTest.java497 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData()
542 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData()
DWifiServiceImplTest.java3501 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testFactoryReset()
3576 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsNotAllowedForAppsTargetingQSDK()
3596 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsTargetingBelowQSDK()
3615 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSettingsApp()
3638 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForSystemApp()
3659 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForAppsWithSystemAlertPermission()
3681 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForDOApp()
3702 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in testAddOrUpdateNetworkIsAllowedForPOApp()
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()
1225 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnected()
1252 WifiConfiguration config = WifiConfigurationTestUtil.createOpenNetwork(); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()
DWifiNetworkFactoryTest.java1015 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithoutActiveRequest()
1039 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkSpecifierHandleUserSelectionConnectToNetworkWithDifferentActiveRequest()
1637 WifiConfiguration selectedNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2474 WifiConfigurationTestUtil.createOpenNetwork()); in getScanResultCapsForType()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java82 serializeDeserializeWifiConfiguration(WifiConfigurationTestUtil.createOpenNetwork()); in testOpenWifiConfigurationSerializeDeserialize()
DTelephonyUtilTest.java268 assertFalse(TelephonyUtil.isSimConfig(WifiConfigurationTestUtil.createOpenNetwork())); in isSimConfig()