Searched refs:Speed (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 140 @IntDef({Speed.NONE, Speed.SLOW, Speed.MODERATE, Speed.FAST, Speed.VERY_FAST}) 142 public @interface Speed { annotation in AccessPoint 267 @Speed private int mSpeed = Speed.NONE; 536 if (mSpeed != Speed.NONE) { in toString() 632 @Speed private int generateAverageSpeedForSsid() { in generateAverageSpeedForSsid() 634 return Speed.NONE; in generateAverageSpeedForSsid() 650 if (speed != Speed.NONE) { in generateAverageSpeedForSsid() 655 int speed = count == 0 ? Speed.NONE : totalSpeed / count; in generateAverageSpeedForSsid() 1595 @Speed 1597 if (speed < Speed.SLOW) { in roundToClosestSpeedEnum() [all …]
|
D | TestAccessPointBuilder.java | 31 import com.android.settingslib.wifi.AccessPoint.Speed; 50 private int mSpeed = Speed.NONE;
|
D | WifiUtils.kt | 231 if (accessPoint.speed != AccessPoint.Speed.NONE) { in <lambda>() 350 if (speed != AccessPoint.Speed.NONE) { in <lambda>() 360 @AccessPoint.Speed in <lambda>() 365 val timedScore = scoredNetworkCache[result.BSSID] ?: return AccessPoint.Speed.NONE in <lambda>()
|
D | AccessPointPreference.java | 42 import com.android.settingslib.wifi.AccessPoint.Speed; 79 private int mWifiSpeed = Speed.NONE;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | TronUtils.java | 21 import com.android.settingslib.wifi.AccessPoint.Speed; 30 public static void logWifiSettingsSpeed(Context context, @Speed int speedEnum) { in logWifiSettingsSpeed()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 66 import com.android.settingslib.wifi.AccessPoint.Speed; 94 new RssiCurve(-150, 10, new byte[]{Speed.FAST}); 187 AccessPoint fastAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.FAST).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed() 188 AccessPoint slowAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.SLOW).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed() 384 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST); 389 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.VERY_FAST); 400 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.FAST); 405 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.FAST); 416 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.MODERATE); 421 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.MODERATE); [all …]
|
D | WifiTrackerTest.java | 104 private static final int BADGE_1 = AccessPoint.Speed.MODERATE; 114 private static final int BADGE_2 = AccessPoint.Speed.FAST; 655 assertEquals(AccessPoint.Speed.NONE, ap.getSpeed()); in noSpeedsShouldBeInsertedIntoAccessPointWhenScoringUiDisabled() 657 assertEquals(AccessPoint.Speed.NONE, ap.getSpeed()); in noSpeedsShouldBeInsertedIntoAccessPointWhenScoringUiDisabled()
|
/frameworks/base/services/core/jni/gnss/ |
D | Utils.cpp | 179 SET(Speed, (float)location.speedMetersPerSec); in translateGnssLocation() 230 SET(Speed, location.speedMetersPerSec); in translateGnssLocation()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 95 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST); in testVerboseSummaryString_showsScanResultSpeedLabel()
|