Home
last modified time | relevance | path

Searched refs:WIFI_TRANSITION_SCORE (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java97 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 …]
DVelocityBasedConnectedScore.java172 if (mFilter.mx == null) return WIFI_TRANSITION_SCORE + 1; in generateScore()
183 int score = (int) (Math.round(forecastRssi) - badRssi) + WIFI_TRANSITION_SCORE; in generateScore()
DConnectedScore.java30 public static final int WIFI_TRANSITION_SCORE = WIFI_MAX_SCORE - 10; field in ConnectedScore
DAggressiveConnectedScore.java55 int score = (mRssi - threshRssi) + WIFI_TRANSITION_SCORE; in generateScore()
DWifiNetworkSelector.java78 public static final int WIFI_POOR_SCORE = ConnectedScore.WIFI_TRANSITION_SCORE - 10;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DVelocityBasedConnectedScoreTest.java104 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);
DWifiScoreReportTest.java274 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 …]
DWifiNetworkSelectorTest.java670 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in noSelectionWhenCurrentNetworkNotInScanResults()