Home
last modified time | relevance | path

Searched refs:ConnectedScore (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java76 private int mLegacyIntScore = ConnectedScore.WIFI_INITIAL_SCORE;
101 private final ConnectedScore mAggressiveConnectedScore;
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()
511 mLegacyIntScore = ConnectedScore.WIFI_INITIAL_SCORE; in reset()
[all …]
DConnectedScore.java24 public abstract class ConnectedScore { class
46 public ConnectedScore(Clock clock) { in ConnectedScore() method in ConnectedScore
DAggressiveConnectedScore.java24 public class AggressiveConnectedScore extends ConnectedScore {
DWifiNetworkAgent.java78 super(context, looper, TAG, nc, lp, ConnectedScore.WIFI_INITIAL_SCORE, config, provider); in WifiNetworkAgent()
DVelocityBasedConnectedScore.java30 public class VelocityBasedConnectedScore extends ConnectedScore {
DWifiNetworkSelector.java80 public static final int WIFI_POOR_SCORE = ConnectedScore.WIFI_TRANSITION_SCORE - 10;
DWifiMetrics.java177 private static final int MAX_WIFI_SCORE = ConnectedScore.WIFI_MAX_SCORE;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
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 …]
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);
DWifiNetworkSelectorTest.java735 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in noSelectionWhenCurrentNetworkNotInScanResults()
798 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in includeCurrentNetworkWhenCurrentNetworkNotNominated()
DWifiMetricsTest.java1453 sb_wifi_limits.append("Wifi Score limit is " + ConnectedScore.WIFI_MAX_SCORE in assertDeserializedMetricsCorrect()
1456 ConnectedScore.WIFI_MAX_SCORE <= WIFI_SCORE_RANGE_MAX); in assertDeserializedMetricsCorrect()
1463 sb_wifi_limits.append("Wifi Usability Score limit is " + ConnectedScore.WIFI_MAX_SCORE in assertDeserializedMetricsCorrect()
1466 ConnectedScore.WIFI_MAX_SCORE <= WIFI_SCORE_RANGE_MAX); in assertDeserializedMetricsCorrect()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp150 "com.android.server.wifi.ConnectedScore",
151 "com.android.server.wifi.ConnectedScore$*",
152 "com.android.server.wifi.ConnectedScore.**",