Home
last modified time | relevance | path

Searched refs:isNetworkSufficient (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java416 assertTrue(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenSufficiencyCheckDisabled()
423 assertFalse(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenSufficiencyCheckDisabled()
427 assertTrue(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenSufficiencyCheckDisabled()
439 assertTrue(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenMetered()
443 assertFalse(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenMetered()
455 assertTrue(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenMarkedUnusable()
459 assertFalse(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenMarkedUnusable()
476 assertTrue(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenLowAospScore()
481 assertFalse(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenLowAospScore()
486 assertTrue(mWifiNetworkSelector.isNetworkSufficient(mWifiInfo)); in testNetworkInsufficientWhenLowAospScore()
[all …]
DWifiConnectivityManagerTest.java3724 when(mWifiNS.isNetworkSufficient(eq(mWifiInfo))).thenReturn(false); in verifyFullBandScanWhenConnected()
3769 when(mWifiNS.isNetworkSufficient(eq(mWifiInfo))).thenReturn(true); in verifyFullBandScanWhenConnected()
3782 when(mWifiNS.isNetworkSufficient(eq(mWifiInfo))).thenReturn(false); in verifyFullBandScanWhenConnected()
3805 when(mWifiNS.isNetworkSufficient(eq(mWifiInfo))).thenReturn(false); in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming()
3862 when(mWifiNS.isNetworkSufficient(eq(mWifiInfo))).thenReturn(false); in checkPartialSCanRequestedWithHighRssiNoActiveStreamWithoutFwRoaming()
3914 when(mWifiNS.isNetworkSufficient(eq(mWifiInfo))).thenReturn(true); in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java277 public boolean isNetworkSufficient(WifiInfo wifiInfo) { in isNetworkSufficient() method in WifiNetworkSelector
410 if (isNetworkSufficient(cmmState.wifiInfo)) { in isNetworkSelectionNeededForCmm()
DWifiConnectivityManager.java2152 && (mNetworkSelector.isNetworkSufficient(wifiInfo) in startPeriodicSingleScan()