Searched refs:network1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 2079 WifiConfiguration network1 = WifiConfigurationTestUtil.createEapNetwork(); in testRetrievePnoList() local 2082 verifyAddNetworkToWifiConfigManager(network1); in testRetrievePnoList() 2087 assertTrue(mWifiConfigManager.enableNetwork(network1.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList() 2094 network1.networkId, createScanDetailForNetwork(network1).getScanResult(), 54)); in testRetrievePnoList() 2107 assertEquals(network1.SSID, pnoNetworks.get(1).ssid); in testRetrievePnoList() 2116 assertEquals(network1.SSID, pnoNetworks.get(0).ssid); in testRetrievePnoList() 2131 WifiConfiguration network1 = WifiConfigurationTestUtil.createEapNetwork(); in testRetrievePnoListFrequencies() local 2133 verifyAddNetworkToWifiConfigManager(network1); in testRetrievePnoListFrequencies() 2137 assertTrue(mWifiConfigManager.enableNetwork(network1.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoListFrequencies() 2139 assertTrue(mWifiConfigManager.updateNetworkAfterConnect(network1.networkId)); in testRetrievePnoListFrequencies() [all …]
|
D | WifiConfigurationUtilTest.java | 759 WifiConfiguration network1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsTrueOnSameNetwork() local 760 assertTrue(WifiConfigurationUtil.isSameNetwork(network, network1)); in testIsSameNetworkReturnsTrueOnSameNetwork() 771 WifiConfiguration network1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID() local 772 network1.getNetworkSelectionStatus().setNetworkSelectionBSSID(TEST_BSSID_1); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID() 773 assertTrue(WifiConfigurationUtil.isSameNetwork(network, network1)); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID() 783 WifiConfiguration network1 = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID_1); in testIsSameNetworkReturnsFalseOnDifferentSSID() local 784 assertFalse(WifiConfigurationUtil.isSameNetwork(network, network1)); in testIsSameNetworkReturnsFalseOnDifferentSSID() 794 WifiConfiguration network1 = WifiConfigurationTestUtil.createEapNetwork(TEST_SSID); in testIsSameNetworkReturnsFalseOnDifferentSecurityType() local 795 assertFalse(WifiConfigurationUtil.isSameNetwork(network, network1)); in testIsSameNetworkReturnsFalseOnDifferentSecurityType() 804 WifiConfiguration network1 = WifiConfigurationTestUtil.createEapNetwork(TEST_SSID); in testIsSameNetworkReturnsFalseOnDifferentEapIdentity() local [all …]
|
D | WakeupConfigStoreDataTest.java | 127 ScanResultMatchInfo network1 = new ScanResultMatchInfo(); in deserializeSerializedData() local 128 network1.networkSsid = "ssid 1"; in deserializeSerializedData() 129 network1.networkType = 0; in deserializeSerializedData() 139 Set<ScanResultMatchInfo> networks = Sets.newArraySet(network1, network2, network3); in deserializeSerializedData()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 2408 WifiConfiguration network1, WifiConfiguration network2, in shouldNetworksBeLinked() argument 2413 if (!TextUtils.equals(network1.preSharedKey, network2.preSharedKey)) { in shouldNetworksBeLinked() 2420 if (network1.defaultGwMacAddress != null && network2.defaultGwMacAddress != null) { in shouldNetworksBeLinked() 2422 if (network1.defaultGwMacAddress.equals(network2.defaultGwMacAddress)) { in shouldNetworksBeLinked() 2425 + " and " + network1.SSID + " GW " + network1.defaultGwMacAddress); in shouldNetworksBeLinked() 2443 + network2.SSID + " and " + network1.SSID in shouldNetworksBeLinked() 2461 private void linkNetworks(WifiConfiguration network1, WifiConfiguration network2) { in linkNetworks() argument 2464 + " and " + network1.configKey()); in linkNetworks() 2469 if (network1.linkedConfigurations == null) { in linkNetworks() 2470 network1.linkedConfigurations = new HashMap<>(); in linkNetworks() [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkScoreCacheTest.java | 210 ScoredNetwork network1 = mValidScoredNetwork; in leastRecentlyUsedScore_shouldBeEvictedFromCache() local 215 mScoreCache.updateScores(ImmutableList.of(network1)); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
|