Searched refs:network2 (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 1985 WifiConfiguration network2 = WifiConfigurationTestUtil.createPskNetwork(); in testRetrievePnoList() local 1988 verifyAddNetworkToWifiConfigManager(network2); in testRetrievePnoList() 1993 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoList() 2013 assertEquals(network2.SSID, pnoNetworks.get(2).ssid); in testRetrievePnoList() 2022 assertEquals(network2.SSID, pnoNetworks.get(1).ssid); in testRetrievePnoList() 2037 WifiConfiguration network2 = WifiConfigurationTestUtil.createPskNetwork(); in testRetrievePnoListFrequencies() local 2039 verifyAddNetworkToWifiConfigManager(network2); in testRetrievePnoListFrequencies() 2043 assertTrue(mWifiConfigManager.enableNetwork(network2.networkId, false, TEST_CREATOR_UID)); in testRetrievePnoListFrequencies() 2052 assertEquals(network2.SSID, pnoNetworks.get(1).ssid); in testRetrievePnoListFrequencies() 2082 assertEquals(network2.SSID, pnoNetworks.get(1).ssid); in testRetrievePnoListFrequencies() [all …]
|
D | WakeupConfigStoreDataTest.java | 127 ScanResultMatchInfo network2 = new ScanResultMatchInfo(); in deserializeSerializedData() local 128 network2.networkSsid = ",.23;4@, .#,%(,"; in deserializeSerializedData() 129 network2.networkType = 1; in deserializeSerializedData() 135 Set<ScanResultMatchInfo> networks = Sets.newArraySet(network1, network2, network3); in deserializeSerializedData()
|
D | WifiConfigurationUtilTest.java | 805 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/ |
D | WifiNetworkScoreCacheTest.java | 136 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/ |
D | WifiConfigManager.java | 2326 WifiConfiguration network1, WifiConfiguration network2, in shouldNetworksBeLinked() argument 2331 if (!TextUtils.equals(network1.preSharedKey, network2.preSharedKey)) { in shouldNetworksBeLinked() 2338 if (network1.defaultGwMacAddress != null && network2.defaultGwMacAddress != null) { in shouldNetworksBeLinked() 2340 if (network1.defaultGwMacAddress.equals(network2.defaultGwMacAddress)) { in shouldNetworksBeLinked() 2342 Log.v(TAG, "shouldNetworksBeLinked link due to same gw " + network2.SSID in shouldNetworksBeLinked() 2361 + network2.SSID + " and " + network1.SSID in shouldNetworksBeLinked() 2379 private void linkNetworks(WifiConfiguration network1, WifiConfiguration network2) { in linkNetworks() argument 2381 Log.v(TAG, "linkNetworks will link " + network2.configKey() in linkNetworks() 2384 if (network2.linkedConfigurations == null) { in linkNetworks() 2385 network2.linkedConfigurations = new HashMap<>(); in linkNetworks() [all …]
|