Home
last modified time | relevance | path

Searched refs:tryEnableNetwork (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkEvaluator.java131 && !mWifiConfigManager.tryEnableNetwork(existingNetwork.networkId)) { in evaluateNetworks()
DNetworkSuggestionEvaluator.java111 && !mWifiConfigManager.tryEnableNetwork(wCmConfiguredNetwork.networkId)) { in evaluateNetworks()
DWifiConfigManager.java1757 private boolean tryEnableNetwork(WifiConfiguration config) { in tryEnableNetwork() method in WifiConfigManager
1786 public boolean tryEnableNetwork(int networkId) { in tryEnableNetwork() method in WifiConfigManager
1791 return tryEnableNetwork(config); in tryEnableNetwork()
DWifiNetworkSelector.java612 mWifiConfigManager.tryEnableNetwork(network.networkId); in updateConfiguredNetworks()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionEvaluatorTest.java563 verify(mWifiConfigManager).tryEnableNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
606 when(mWifiConfigManager.tryEnableNetwork(suggestions[0].wifiConfiguration.networkId)) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
625 verify(mWifiConfigManager).tryEnableNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
DCarrierNetworkEvaluatorTest.java379 when(mWifiConfigManager.tryEnableNetwork(CARRIER1_NET_ID)) in testAvailableButBlacklisted()
DWifiNetworkSelectorTest.java575 verify(mWifiConfigManager, times(savedConfigs.length)).tryEnableNetwork(anyInt()); in updateConfiguredNetworks()
DWifiConfigManagerTest.java1170 assertFalse(mWifiConfigManager.tryEnableNetwork(result.getNetworkId())); in testTryEnableNetwork()
1183 assertTrue(mWifiConfigManager.tryEnableNetwork(result.getNetworkId())); in testTryEnableNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java235 && !mWifiConfigManager.tryEnableNetwork(existingNetwork.networkId)) { in createWifiConfigForProvider()