Searched refs:ConnectedScore (Results 1 – 12 of 12) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiScoreReport.java | 76 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 …]
|
D | ConnectedScore.java | 24 public abstract class ConnectedScore { class 46 public ConnectedScore(Clock clock) { in ConnectedScore() method in ConnectedScore
|
D | AggressiveConnectedScore.java | 24 public class AggressiveConnectedScore extends ConnectedScore {
|
D | WifiNetworkAgent.java | 78 super(context, looper, TAG, nc, lp, ConnectedScore.WIFI_INITIAL_SCORE, config, provider); in WifiNetworkAgent()
|
D | VelocityBasedConnectedScore.java | 30 public class VelocityBasedConnectedScore extends ConnectedScore {
|
D | WifiNetworkSelector.java | 80 public static final int WIFI_POOR_SCORE = ConnectedScore.WIFI_TRANSITION_SCORE - 10;
|
D | WifiMetrics.java | 177 private static final int MAX_WIFI_SCORE = ConnectedScore.WIFI_MAX_SCORE;
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreReportTest.java | 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 …]
|
D | VelocityBasedConnectedScoreTest.java | 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);
|
D | WifiNetworkSelectorTest.java | 735 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in noSelectionWhenCurrentNetworkNotInScanResults() 798 when(mWifiInfo.getScore()).thenReturn(ConnectedScore.WIFI_TRANSITION_SCORE); in includeCurrentNetworkWhenCurrentNetworkNotNominated()
|
D | WifiMetricsTest.java | 1453 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/ |
D | Android.bp | 150 "com.android.server.wifi.ConnectedScore", 151 "com.android.server.wifi.ConnectedScore$*", 152 "com.android.server.wifi.ConnectedScore.**",
|