Searched refs:isNetworkSufficient (Results 1 – 4 of 4) sorted by relevance
416 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 …]
3724 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()
277 public boolean isNetworkSufficient(WifiInfo wifiInfo) { in isNetworkSufficient() method in WifiNetworkSelector410 if (isNetworkSufficient(cmmState.wifiInfo)) { in isNetworkSelectionNeededForCmm()
2152 && (mNetworkSelector.isNetworkSufficient(wifiInfo) in startPeriodicSingleScan()