Searched refs:selectNetwork (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiStateMachineTest.java | 654 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()
|
D | WifiConfigManagerTest.java | 409 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/ |
D | WifiConfigStore.java | 861 public boolean selectNetwork(WifiConfiguration config, Collection<WifiConfiguration> configs) { in selectNetwork() method in WifiConfigStore 866 if (!mWifiNative.selectNetwork(config.networkId)) { in selectNetwork()
|
D | WifiConfigManager.java | 688 boolean selectNetwork(WifiConfiguration config, boolean updatePriorities, int uid) { in selectNetwork() method in WifiConfigManager 1314 return mWifiConfigStore.selectNetwork( in selectNetworkWithoutBroadcast()
|
D | WifiNative.java | 525 public boolean selectNetwork(int netId) { in selectNetwork() method in WifiNative
|
D | WifiStateMachine.java | 5774 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()
|