Searched refs:openNetwork (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 247 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig() local 248 openNetwork.creatorName = TEST_CREATOR_NAME; in getTestNetworksConfig() 249 openNetwork.shared = shared; in getTestNetworksConfig() 250 openNetwork.setIpConfiguration( in getTestNetworksConfig() 252 openNetwork.setRandomizedMacAddress(TEST_RANDOMIZED_MAC); in getTestNetworksConfig() 253 openNetwork.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in getTestNetworksConfig() 261 networkList.add(openNetwork); in getTestNetworksConfig() 274 private byte[] getTestNetworksXmlBytes(WifiConfiguration openNetwork, in getTestNetworksXmlBytes() argument 277 openNetwork.configKey().replaceAll("\"", """), in getTestNetworksXmlBytes() 278 openNetwork.SSID.replaceAll("\"", """), in getTestNetworksXmlBytes() [all …]
|
D | WifiConfigManagerTest.java | 285 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore() local 287 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID).isSuccess()); in testAddNetworkIsRejectedBeforeLoadFromStore() 314 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() local 316 networks.add(openNetwork); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 317 verifyAddNetworkToWifiConfigManager(openNetwork); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 336 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork() local 338 networks.add(openNetwork); in testAddSingleOpenNetwork() 340 verifyAddNetworkToWifiConfigManager(openNetwork); in testAddSingleOpenNetwork() 355 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() local 357 networks.add(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() [all …]
|
D | WifiConfigStoreTest.java | 517 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData() local 518 openNetwork.creatorName = TEST_CREATOR_NAME; in testReadWifiConfigStoreData() 519 openNetwork.setIpConfiguration( in testReadWifiConfigStoreData() 521 openNetwork.setRandomizedMacAddress(TEST_RANDOMIZED_MAC); in testReadWifiConfigStoreData() 523 userConfigs.add(openNetwork); in testReadWifiConfigStoreData() 535 openNetwork.configKey().replaceAll("\"", """), in testReadWifiConfigStoreData() 536 openNetwork.SSID.replaceAll("\"", """), in testReadWifiConfigStoreData() 537 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testReadWifiConfigStoreData() 538 openNetwork.getRandomizedMacAddress(), testSsid.replaceAll("\"", """)); in testReadWifiConfigStoreData() 562 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData() local [all …]
|
D | WifiBackupRestoreTest.java | 563 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 …]
|
D | WakeupControllerTest.java | 333 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults() local 334 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults() 338 .thenReturn(Arrays.asList(openNetwork, wepNetwork)); in startInitializesWakeupLockWithSavedScanResults() 368 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions() local 370 new WifiNetworkSuggestion(openNetwork, false, false, -1, ""); in startInitializesWakeupLockWithNetworkSuggestions() 408 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() local 409 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 411 .thenReturn(Arrays.asList(openNetwork)); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 482 WifiConfiguration openNetwork = WifiConfigurationTestUtil in onResultsUpdatesWakeupLockForSavedNetworks() local 484 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in onResultsUpdatesWakeupLockForSavedNetworks() [all …]
|