Home
last modified time | relevance | path

Searched refs:selectNetwork (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateMachineTest.java654 when(mWifiNative.selectNetwork(0)).thenReturn(true); in enableNetworkAndVerifySuccess()
660 verify(mWifiNative).selectNetwork(0); in enableNetworkAndVerifySuccess()
668 verify(mWifiNative, never()).selectNetwork(anyInt()); in enableNetworkAndVerifyFailure()
844 verify(mWifiNative).selectNetwork(0); in connect()
878 verify(mWifiNative).selectNetwork(0); in testDhcpFailure()
906 verify(mWifiNative).selectNetwork(0); in testBadNetworkEvent()
DWifiConfigManagerTest.java409 when(mWifiNative.selectNetwork(config.networkId)).thenReturn(true); in testSelectNetwork()
411 mWifiConfigManager.selectNetwork(config, false, config.creatorUid); in testSelectNetwork()
417 verify(mWifiNative, never()).selectNetwork(anyInt()); in testSelectNetwork()
427 verify(mWifiNative).selectNetwork(config.networkId); in testSelectNetwork()
428 verify(mWifiNative, never()).selectNetwork(intThat(not(config.networkId))); in testSelectNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java861 public boolean selectNetwork(WifiConfiguration config, Collection<WifiConfiguration> configs) { in selectNetwork() method in WifiConfigStore
866 if (!mWifiNative.selectNetwork(config.networkId)) { in selectNetwork()
DWifiConfigManager.java688 boolean selectNetwork(WifiConfiguration config, boolean updatePriorities, int uid) { in selectNetwork() method in WifiConfigManager
1314 return mWifiConfigStore.selectNetwork( in selectNetworkWithoutBroadcast()
DWifiNative.java525 public boolean selectNetwork(int netId) { in selectNetwork() method in WifiNative
DWifiStateMachine.java5774 if (mWifiConfigManager.selectNetwork(config, /* updatePriorities = */ false, in processMessage()
5937 if (mWifiConfigManager.selectNetwork(config, /* updatePriorities = */ true, in processMessage()
7246 if (mWifiConfigManager.selectNetwork(config, /* updatePriorities = */ false, in processMessage()