Searched refs:WIFI_TRANSITION_SCORE (Results 1 – 8 of 8) sorted by relevance
97 if (score < ConnectedScore.WIFI_TRANSITION_SCORE) { in notifyScoreUpdate()98 if (mScore >= ConnectedScore.WIFI_TRANSITION_SCORE) { in notifyScoreUpdate()272 mLastKnownNudCheckScore = ConnectedScore.WIFI_TRANSITION_SCORE; in reset()315 if (mWifiInfo.getScore() > ConnectedScore.WIFI_TRANSITION_SCORE in calculateAndReportScore()316 && score <= ConnectedScore.WIFI_TRANSITION_SCORE in calculateAndReportScore()322 score = ConnectedScore.WIFI_TRANSITION_SCORE + 1; in calculateAndReportScore()325 if (mWifiInfo.getScore() > ConnectedScore.WIFI_TRANSITION_SCORE in calculateAndReportScore()326 && score <= ConnectedScore.WIFI_TRANSITION_SCORE) { in calculateAndReportScore()335 score = ConnectedScore.WIFI_TRANSITION_SCORE + 1; in calculateAndReportScore()339 if (mWifiInfo.getScore() >= ConnectedScore.WIFI_TRANSITION_SCORE in calculateAndReportScore()[all …]
172 if (mFilter.mx == null) return WIFI_TRANSITION_SCORE + 1; in generateScore()183 int score = (int) (Math.round(forecastRssi) - badRssi) + WIFI_TRANSITION_SCORE; in generateScore()
30 public static final int WIFI_TRANSITION_SCORE = WIFI_MAX_SCORE - 10; field in ConnectedScore
55 int score = (mRssi - threshRssi) + WIFI_TRANSITION_SCORE; in generateScore()
78 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);
274 assertTrue(score > ConnectedScore.WIFI_TRANSITION_SCORE); in allowLowRssiIfDataIsMoving()297 assertTrue(score < ConnectedScore.WIFI_TRANSITION_SCORE); in giveUpOnBadRssiWhenDataIsNotMoving()316 assertTrue(oops, score < ConnectedScore.WIFI_TRANSITION_SCORE);342 assertTrue(oops, minScore > ConnectedScore.WIFI_TRANSITION_SCORE); in stayOnIfRssiDoesNotGetBelowEntryThreshold()363 assertTrue(mWifiInfo.getScore() > ConnectedScore.WIFI_TRANSITION_SCORE); in allowTerribleRssiIfDataIsMovingWell()369 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE); in allowTerribleRssiIfDataIsMovingWell()375 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE); in allowTerribleRssiIfDataIsMovingWell()409 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE);437 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE); in askForMoreNudChecksWhenNudKnobIsBigger()526 assertTrue(mWifiInfo.getScore() < ConnectedScore.WIFI_TRANSITION_SCORE); in stayAtBelowTransitionScoreForCertainPeriodOfTime()[all …]
670 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in noSelectionWhenCurrentNetworkNotInScanResults()