Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java2080 WifiConfiguration network2 = WifiConfigurationTestUtil.createPskNetwork(); in testRetrievePnoList() local
2083 verifyAddNetworkToWifiConfigManager(network2); in testRetrievePnoList()
2088 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList()
2108 assertEquals(network2.SSID, pnoNetworks.get(2).ssid); in testRetrievePnoList()
2117 assertEquals(network2.SSID, pnoNetworks.get(1).ssid); in testRetrievePnoList()
2132 WifiConfiguration network2 = WifiConfigurationTestUtil.createPskNetwork(); in testRetrievePnoListFrequencies() local
2134 verifyAddNetworkToWifiConfigManager(network2); in testRetrievePnoListFrequencies()
2138 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoListFrequencies()
2147 assertEquals(network2.SSID, pnoNetworks.get(1).ssid); in testRetrievePnoListFrequencies()
2177 assertEquals(network2.SSID, pnoNetworks.get(1).ssid); in testRetrievePnoListFrequencies()
[all …]
DWakeupConfigStoreDataTest.java131 ScanResultMatchInfo network2 = new ScanResultMatchInfo(); in deserializeSerializedData() local
132 network2.networkSsid = ",.23;4@, .#,%(,"; in deserializeSerializedData()
133 network2.networkType = 1; in deserializeSerializedData()
139 Set<ScanResultMatchInfo> networks = Sets.newArraySet(network1, network2, network3); in deserializeSerializedData()
DWifiConfigurationUtilTest.java805 WifiConfiguration network2 = WifiConfigurationTestUtil.createEapNetwork(TEST_SSID); in testIsSameNetworkReturnsFalseOnDifferentEapIdentity() local
807 network2.enterpriseConfig.setIdentity("Identity2"); in testIsSameNetworkReturnsFalseOnDifferentEapIdentity()
808 assertFalse(WifiConfigurationUtil.isSameNetwork(network1, network2)); in testIsSameNetworkReturnsFalseOnDifferentEapIdentity()
818 WifiConfiguration network2 = WifiConfigurationTestUtil.createEapNetwork(TEST_SSID); in testIsSameNetworkReturnsFalseOnDifferentEapAnonymousIdentity() local
820 network2.enterpriseConfig.setAnonymousIdentity("Identity2"); in testIsSameNetworkReturnsFalseOnDifferentEapAnonymousIdentity()
821 assertFalse(WifiConfigurationUtil.isSameNetwork(network1, network2)); in testIsSameNetworkReturnsFalseOnDifferentEapAnonymousIdentity()
831 WifiConfiguration network2 = WifiConfigurationTestUtil.createEapNetwork(TEST_SSID); in testIsSameNetworkReturnsTrueOnDifferentEapAnonymousIdentityInEapSim() local
833 network2.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testIsSameNetworkReturnsTrueOnDifferentEapAnonymousIdentityInEapSim()
835 network2.enterpriseConfig.setAnonymousIdentity("Identity2"); in testIsSameNetworkReturnsTrueOnDifferentEapAnonymousIdentityInEapSim()
836 assertTrue(WifiConfigurationUtil.isSameNetwork(network1, network2)); in testIsSameNetworkReturnsTrueOnDifferentEapAnonymousIdentityInEapSim()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java136 ScoredNetwork network2 = buildScoredNetwork(key2, mockRssiCurve); in updateScoresShouldAddNewNetwork() local
139 mScoreCache.updateScores(ImmutableList.of(network2)); in updateScoresShouldAddNewNetwork()
211 ScoredNetwork network2 = buildScoredNetwork( in leastRecentlyUsedScore_shouldBeEvictedFromCache() local
216 mScoreCache.updateScores(ImmutableList.of(network2)); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java2408 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()
2424 Log.v(TAG, "shouldNetworksBeLinked link due to same gw " + network2.SSID in shouldNetworksBeLinked()
2443 + network2.SSID + " and " + network1.SSID in shouldNetworksBeLinked()
2461 private void linkNetworks(WifiConfiguration network1, WifiConfiguration network2) { in linkNetworks() argument
2463 Log.v(TAG, "linkNetworks will link " + network2.configKey() in linkNetworks()
2466 if (network2.linkedConfigurations == null) { in linkNetworks()
2467 network2.linkedConfigurations = new HashMap<>(); in linkNetworks()
[all …]