Home
last modified time | relevance | path

Searched refs:openNetwork (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkListStoreDataTest.java244 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig() local
245 openNetwork.creatorName = TEST_CREATOR_NAME; in getTestNetworksConfig()
246 openNetwork.shared = shared; in getTestNetworksConfig()
247 openNetwork.setIpConfiguration( in getTestNetworksConfig()
249 openNetwork.setRandomizedMacAddress(TEST_RANDOMIZED_MAC); in getTestNetworksConfig()
250 openNetwork.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in getTestNetworksConfig()
258 networkList.add(openNetwork); in getTestNetworksConfig()
271 private byte[] getTestNetworksXmlBytes(WifiConfiguration openNetwork, in getTestNetworksXmlBytes() argument
274 openNetwork.configKey().replaceAll("\"", """), in getTestNetworksXmlBytes()
275 openNetwork.SSID.replaceAll("\"", """), in getTestNetworksXmlBytes()
[all …]
DWifiConfigManagerTest.java263 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore() local
265 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID).isSuccess()); in testAddNetworkIsRejectedBeforeLoadFromStore()
290 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork() local
292 networks.add(openNetwork); in testAddSingleOpenNetwork()
294 verifyAddNetworkToWifiConfigManager(openNetwork); in testAddSingleOpenNetwork()
309 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() local
311 networks.add(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
312 WifiConfiguration ephemeralNetwork = new WifiConfiguration(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
317 NetworkUpdateResult result = addNetworkToWifiConfigManager(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
322 verifyNetworkAddBroadcast(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
[all …]
DWifiConfigStoreTest.java497 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData() local
498 openNetwork.creatorName = TEST_CREATOR_NAME; in testReadWifiConfigStoreData()
499 openNetwork.setIpConfiguration( in testReadWifiConfigStoreData()
501 openNetwork.setRandomizedMacAddress(TEST_RANDOMIZED_MAC); in testReadWifiConfigStoreData()
503 userConfigs.add(openNetwork); in testReadWifiConfigStoreData()
515 openNetwork.configKey().replaceAll("\"", """), in testReadWifiConfigStoreData()
516 openNetwork.SSID.replaceAll("\"", """), in testReadWifiConfigStoreData()
517 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testReadWifiConfigStoreData()
518 openNetwork.getRandomizedMacAddress(), testSsid.replaceAll("\"", """)); in testReadWifiConfigStoreData()
542 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData() local
[all …]
DWifiBackupRestoreTest.java563 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksNonEnterpriseBackupRestore() local
564 configurations.add(openNetwork); in testMultipleNetworksNonEnterpriseBackupRestore()
565 expectedConfigurations.add(openNetwork); in testMultipleNetworksNonEnterpriseBackupRestore()
600 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore() local
601 openNetwork.setIpConfiguration( in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore()
603 configurations.add(openNetwork); in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore()
648 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksSystemAppBackupRestore() local
649 configurations.add(openNetwork); in testMultipleNetworksSystemAppBackupRestore()
650 expectedConfigurations.add(openNetwork); in testMultipleNetworksSystemAppBackupRestore()
801 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllSupplicantBackupRestore() local
[all …]
DWakeupControllerTest.java329 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults() local
330 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults()
334 .thenReturn(Arrays.asList(openNetwork, wepNetwork)); in startInitializesWakeupLockWithSavedScanResults()
364 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions() local
366 new WifiNetworkSuggestion(openNetwork, false, false, -1, ""); in startInitializesWakeupLockWithNetworkSuggestions()
404 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() local
405 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
407 .thenReturn(Arrays.asList(openNetwork)); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
478 WifiConfiguration openNetwork = WifiConfigurationTestUtil in onResultsUpdatesWakeupLockForSavedNetworks() local
480 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in onResultsUpdatesWakeupLockForSavedNetworks()
[all …]