Home
last modified time | relevance | path

Searched refs:linkedConfigurations (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkHistory.java151 if (config.linkedConfigurations != null) { in writeKnownNetworkHistory()
152 numlink = config.linkedConfigurations.size(); in writeKnownNetworkHistory()
263 if (config.linkedConfigurations != null) { in writeKnownNetworkHistory()
265 + config.linkedConfigurations.size()); in writeKnownNetworkHistory()
267 for (String key : config.linkedConfigurations.keySet()) { in writeKnownNetworkHistory()
477 if (config.linkedConfigurations == null) { in readNetworkHistory()
478 config.linkedConfigurations = new HashMap<>(); in readNetworkHistory()
480 config.linkedConfigurations.put(value, -1); in readNetworkHistory()
DWifiConfigManager.java2058 if (network2.linkedConfigurations == null) { in linkNetworks()
2059 network2.linkedConfigurations = new HashMap<>(); in linkNetworks()
2061 if (network1.linkedConfigurations == null) { in linkNetworks()
2062 network1.linkedConfigurations = new HashMap<>(); in linkNetworks()
2066 network2.linkedConfigurations.put(network1.configKey(), 1); in linkNetworks()
2067 network1.linkedConfigurations.put(network2.configKey(), 1); in linkNetworks()
2077 if (network2.linkedConfigurations != null in unlinkNetworks()
2078 && (network2.linkedConfigurations.get(network1.configKey()) != null)) { in unlinkNetworks()
2083 network2.linkedConfigurations.remove(network1.configKey()); in unlinkNetworks()
2085 if (network1.linkedConfigurations != null in unlinkNetworks()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1400 public HashMap<String, Integer> linkedConfigurations; field in WifiConfiguration
1450 if (config.linkedConfigurations != null && linkedConfigurations != null) { in isLinked()
1451 if (config.linkedConfigurations.get(configKey()) != null in isLinked()
1452 && linkedConfigurations.get(config.configKey()) != null) { in isLinked()
1659 if (this.linkedConfigurations != null) { in toString()
1660 for (String key : this.linkedConfigurations.keySet()) { in toString()
1972 if ((source.linkedConfigurations != null) in WifiConfiguration()
1973 && (source.linkedConfigurations.size() > 0)) { in WifiConfiguration()
1974 linkedConfigurations = new HashMap<String, Integer>(); in WifiConfiguration()
1975 linkedConfigurations.putAll(source.linkedConfigurations); in WifiConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java197 configuration.linkedConfigurations = new HashMap<>(); in testEapWifiConfigurationSerializeDeserializeForConfigStore()
198 configuration.linkedConfigurations.put(TEST_DUMMY_CONFIG_KEY, Integer.valueOf(1)); in testEapWifiConfigurationSerializeDeserializeForConfigStore()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1510 assertEquals(2, network.linkedConfigurations.size()); in testNetworkLinkUsingGwMacAddress()
1515 assertNotNull(network.linkedConfigurations.get(otherNetwork.configKey())); in testNetworkLinkUsingGwMacAddress()
1548 assertEquals(2, network.linkedConfigurations.size()); in testNetworkLinkUsingBSSIDMatch()
1553 assertNotNull(network.linkedConfigurations.get(otherNetwork.configKey())); in testNetworkLinkUsingBSSIDMatch()
1580 assertNull(network.linkedConfigurations); in testNoNetworkLinkUsingBSSIDMatchForNonWpaNetworks()
1619 assertNull(network.linkedConfigurations); in testNoNetworkLinkUsingBSSIDMatchForNetworksWithHighScanDetailCacheSize()
1647 assertEquals(1, network.linkedConfigurations.size()); in testNetworkLinkUsingBSSIDMatchAndThenUnlinkDueToGwMacAddress()
1652 assertNotNull(network.linkedConfigurations.get(otherNetwork.configKey())); in testNetworkLinkUsingBSSIDMatchAndThenUnlinkDueToGwMacAddress()
1670 assertNull(network.linkedConfigurations); in testNetworkLinkUsingBSSIDMatchAndThenUnlinkDueToGwMacAddress()
DWifiConfigurationTestUtil.java461 assertEquals(expected.linkedConfigurations, actual.linkedConfigurations); in assertConfigurationEqualForConfigStore()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java438 out, XML_TAG_LINKED_NETWORKS_LIST, configuration.linkedConfigurations); in writeToXmlForConfigStore()
577 configuration.linkedConfigurations = (HashMap<String, Integer>) value; in parseFromXml()