Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java139 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 …]
DVelocityBasedConnectedScore.java179 if (mFilter.mx == null) return WIFI_TRANSITION_SCORE + 1; in generateScore()
190 int score = (int) (Math.round(forecastRssi) - badRssi) + WIFI_TRANSITION_SCORE; in generateScore()
DConnectedScore.java33 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.java80 public static final int WIFI_POOR_SCORE = ConnectedScore.WIFI_TRANSITION_SCORE - 10;
/packages/modules/Wifi/service/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.java480 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 …]
DWifiNetworkSelectorTest.java735 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in noSelectionWhenCurrentNetworkNotInScanResults()
798 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in includeCurrentNetworkWhenCurrentNetworkNotNominated()