Home
last modified time | relevance | path

Searched refs:cmmState (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java388 public boolean isNetworkSelectionNeededForCmm(@NonNull ClientModeManagerState cmmState) { in isNetworkSelectionNeededForCmm() argument
389 if (cmmState.connected) { in isNetworkSelectionNeededForCmm()
392 localLog(cmmState.ifaceName + ": Switching networks in connected state is not " in isNetworkSelectionNeededForCmm()
402 localLog(cmmState.ifaceName + ": Too short since last network selection: " in isNetworkSelectionNeededForCmm()
410 if (isNetworkSufficient(cmmState.wifiInfo)) { in isNetworkSelectionNeededForCmm()
411 localLog(cmmState.ifaceName in isNetworkSelectionNeededForCmm()
416 localLog(cmmState.ifaceName + ": Current connected network is not sufficient."); in isNetworkSelectionNeededForCmm()
419 } else if (cmmState.disconnected || cmmState.ipProvisioningTimedOut) { in isNetworkSelectionNeededForCmm()
424 localLog(cmmState.ifaceName + ": ClientModeImpl is in neither CONNECTED nor " in isNetworkSelectionNeededForCmm()
432 for (ClientModeManagerState cmmState : cmmStates) { in isNetworkSelectionNeeded()
[all …]
DWifiConnectivityManager.java621 WifiNetworkSelector.ClientModeManagerState cmmState = in handleScanResults() local
624 primaryCmmState = cmmState; in handleScanResults()
626 cmmStates.add(cmmState); in handleScanResults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java523 ClientModeManagerState cmmState = new ClientModeManagerState(mClientModeManager); in testIsNetworkSelectionNeededForCmmWhenIpProvisioningTimedOut() local
524 assertFalse(mWifiNetworkSelector.isNetworkSelectionNeededForCmm(cmmState)); in testIsNetworkSelectionNeededForCmmWhenIpProvisioningTimedOut()
528 cmmState = new ClientModeManagerState(mClientModeManager); in testIsNetworkSelectionNeededForCmmWhenIpProvisioningTimedOut()
529 assertTrue(mWifiNetworkSelector.isNetworkSelectionNeededForCmm(cmmState)); in testIsNetworkSelectionNeededForCmmWhenIpProvisioningTimedOut()