Searched refs:WIFI_TRANSITION_SCORE (Results 1 – 8 of 8) sorted by relevance
139 if (score < ConnectedScore.WIFI_TRANSITION_SCORE) { in notifyScoreUpdate()140 if (mLegacyIntScore >= ConnectedScore.WIFI_TRANSITION_SCORE) { in notifyScoreUpdate()146 if (score > ConnectedScore.WIFI_TRANSITION_SCORE) { in notifyScoreUpdate()147 if (mLegacyIntScore <= ConnectedScore.WIFI_TRANSITION_SCORE) { in notifyScoreUpdate()250 mNetworkAgent.sendNetworkScore(mIsUsable ? ConnectedScore.WIFI_TRANSITION_SCORE + 1 in notifyStatusUpdate()251 : ConnectedScore.WIFI_TRANSITION_SCORE - 1); in notifyStatusUpdate()364 mLegacyIntScore = ConnectedScore.WIFI_TRANSITION_SCORE + 1; in reportNetworkScoreToConnectivityServiceIfNecessary()513 mLastKnownNudCheckScore = ConnectedScore.WIFI_TRANSITION_SCORE; in reset()557 if (mWifiInfo.getScore() > ConnectedScore.WIFI_TRANSITION_SCORE in calculateAndReportScore()558 && score <= ConnectedScore.WIFI_TRANSITION_SCORE in calculateAndReportScore()[all …]
179 if (mFilter.mx == null) return WIFI_TRANSITION_SCORE + 1; in generateScore()190 int score = (int) (Math.round(forecastRssi) - badRssi) + WIFI_TRANSITION_SCORE; in generateScore()
33 public static final int WIFI_TRANSITION_SCORE = WIFI_MAX_SCORE - 10; field in ConnectedScore
55 int score = (mRssi - threshRssi) + WIFI_TRANSITION_SCORE; in generateScore()
80 public static final int WIFI_POOR_SCORE = ConnectedScore.WIFI_TRANSITION_SCORE - 10;
104 assertTrue(score > ConnectedScore.WIFI_TRANSITION_SCORE); in noCrashWhenNoData()125 assertTrue(score > ConnectedScore.WIFI_TRANSITION_SCORE); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()130 assertTrue(score < ConnectedScore.WIFI_TRANSITION_SCORE); in allowLowRssiIfErrorRateIsLowAndSomeDataIsMoving()151 assertTrue(score < ConnectedScore.WIFI_TRANSITION_SCORE);
480 assertTrue(score > ConnectedScore.WIFI_TRANSITION_SCORE); in allowLowRssiIfDataIsMoving()506 assertTrue(score < ConnectedScore.WIFI_TRANSITION_SCORE); in giveUpOnBadRssiWhenDataIsNotMoving()534 assertTrue(oops, score < ConnectedScore.WIFI_TRANSITION_SCORE);560 assertTrue(oops, minScore > ConnectedScore.WIFI_TRANSITION_SCORE); in stayOnIfRssiDoesNotGetBelowEntryThreshold()581 assertTrue(mWifiInfo.getScore() > ConnectedScore.WIFI_TRANSITION_SCORE); in allowTerribleRssiIfDataIsMovingWell()587 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE); in allowTerribleRssiIfDataIsMovingWell()593 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE); in allowTerribleRssiIfDataIsMovingWell()627 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE);655 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE); in askForMoreNudChecksWhenNudKnobIsBigger()744 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE); in stayAtBelowTransitionScoreForCertainPeriodOfTime()[all …]
735 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in noSelectionWhenCurrentNetworkNotInScanResults()798 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in includeCurrentNetworkWhenCurrentNetworkNotNominated()