Searched refs:openNetwork (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 369 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in getTestNetworksConfig() local 370 openNetwork.creatorName = TEST_CREATOR_NAME; in getTestNetworksConfig() 371 openNetwork.shared = shared; in getTestNetworksConfig() 372 openNetwork.setIpConfiguration( in getTestNetworksConfig() 374 openNetwork.setRandomizedMacAddress(TEST_RANDOMIZED_MAC); in getTestNetworksConfig() 375 openNetwork.meteredOverride = WifiConfiguration.METERED_OVERRIDE_NOT_METERED; in getTestNetworksConfig() 390 networkList.add(openNetwork); in getTestNetworksConfig() 405 private byte[] getTestNetworksXmlBytes(WifiConfiguration openNetwork, in getTestNetworksXmlBytes() argument 408 openNetwork.getKey().replaceAll("\"", """), in getTestNetworksXmlBytes() 409 openNetwork.SSID.replaceAll("\"", """), in getTestNetworksXmlBytes() [all …]
|
D | WifiConfigManagerTest.java | 274 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddNetworkIsRejectedBeforeLoadFromStore() local 276 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID).isSuccess()); in testAddNetworkIsRejectedBeforeLoadFromStore() 303 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() local 305 networks.add(openNetwork); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 306 verifyAddNetworkToWifiConfigManager(openNetwork); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 325 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetwork() local 327 networks.add(openNetwork); in testAddSingleOpenNetwork() 329 verifyAddNetworkToWifiConfigManager(openNetwork); in testAddSingleOpenNetwork() 406 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() local 408 networks.add(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() [all …]
|
D | WifiConfigStoreTest.java | 534 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testReadWifiConfigStoreData() local 535 openNetwork.creatorName = TEST_CREATOR_NAME; in testReadWifiConfigStoreData() 536 openNetwork.setIpConfiguration( in testReadWifiConfigStoreData() 538 openNetwork.setRandomizedMacAddress(TEST_RANDOMIZED_MAC); in testReadWifiConfigStoreData() 540 userConfigs.add(openNetwork); in testReadWifiConfigStoreData() 544 openNetwork.getKey().replaceAll("\"", """), in testReadWifiConfigStoreData() 545 openNetwork.SSID.replaceAll("\"", """), in testReadWifiConfigStoreData() 546 openNetwork.shared, openNetwork.creatorUid, openNetwork.creatorName, in testReadWifiConfigStoreData() 547 openNetwork.getRandomizedMacAddress()); in testReadWifiConfigStoreData() 570 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testWriteWifiConfigStoreData() local [all …]
|
D | WakeupControllerTest.java | 107 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in setUp() local 108 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in setUp() 109 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Arrays.asList(openNetwork)); in setUp() 352 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithSavedScanResults() local 353 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResults() 357 .thenReturn(Arrays.asList(openNetwork, wepNetwork)); in startInitializesWakeupLockWithSavedScanResults() 387 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid); in startInitializesWakeupLockWithNetworkSuggestions() local 389 new WifiNetworkSuggestion(openNetwork, null, false, false, true, true); in startInitializesWakeupLockWithNetworkSuggestions() 427 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(quotedSsid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() local 428 openNetwork.getNetworkSelectionStatus().setHasEverConnected(true); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() [all …]
|
D | WifiBackupRestoreTest.java | 605 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksNonEnterpriseBackupRestore() local 606 configurations.add(openNetwork); in testMultipleNetworksNonEnterpriseBackupRestore() 607 expectedConfigurations.add(openNetwork); in testMultipleNetworksNonEnterpriseBackupRestore() 642 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore() local 643 openNetwork.setIpConfiguration( in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore() 645 configurations.add(openNetwork); in testMultipleNetworksWithDifferentIpConfigurationsAllBackupRestore() 690 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksSystemAppBackupRestore() local 691 configurations.add(openNetwork); in testMultipleNetworksSystemAppBackupRestore() 692 expectedConfigurations.add(openNetwork); in testMultipleNetworksSystemAppBackupRestore() 845 WifiConfiguration openNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testMultipleNetworksWithDifferentIpConfigurationsAllSupplicantBackupRestore() local [all …]
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | WifiPickerTrackerTest.java | 259 final ScanResult openNetwork = buildScanResult("Open Network", "bssid0", START_MILLIS); in testGetWifiEntries_wifiNetworkEntries_createdForEachSsidAndSecurityPair() local 265 openNetwork, in testGetWifiEntries_wifiNetworkEntries_createdForEachSsidAndSecurityPair()
|