Searched refs:Speed (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 107 @IntDef({Speed.NONE, Speed.SLOW, Speed.MODERATE, Speed.FAST, Speed.VERY_FAST}) 109 public @interface Speed { annotation in AccessPoint 200 @Speed private int mSpeed = Speed.NONE; 442 if (mSpeed != Speed.NONE) { in toString() 533 @Speed private int generateAverageSpeedForSsid() { in generateAverageSpeedForSsid() 535 return Speed.NONE; in generateAverageSpeedForSsid() 551 if (speed != Speed.NONE) { in generateAverageSpeedForSsid() 556 int speed = count == 0 ? Speed.NONE : totalSpeed / count; in generateAverageSpeedForSsid() 1161 @Speed 1163 if (speed < Speed.SLOW) { in roundToClosestSpeedEnum() [all …]
|
D | WifiUtils.java | 98 if (accessPoint.getSpeed() != AccessPoint.Speed.NONE) { in getVisibilityStatus() 183 if (speed != AccessPoint.Speed.NONE) { in verboseScanResultSummary() 193 @AccessPoint.Speed 198 return AccessPoint.Speed.NONE; in getSpecificApSpeed()
|
D | TestAccessPointBuilder.java | 29 import com.android.settingslib.wifi.AccessPoint.Speed; 48 private int mSpeed = Speed.NONE;
|
D | AccessPointPreference.java | 42 import com.android.settingslib.wifi.AccessPoint.Speed; 79 private int mWifiSpeed = Speed.NONE;
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 56 import com.android.settingslib.wifi.AccessPoint.Speed; 78 new RssiCurve(-150, 10, new byte[]{Speed.FAST}); 147 AccessPoint fastAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.FAST).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed() 148 AccessPoint slowAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.SLOW).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed() 344 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST); 349 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.VERY_FAST); 360 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.FAST); 365 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.FAST); 376 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.MODERATE); 381 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.MODERATE); [all …]
|
D | WifiTrackerTest.java | 97 private static final int BADGE_1 = AccessPoint.Speed.MODERATE; 105 private static final int BADGE_2 = AccessPoint.Speed.FAST; 566 assertEquals(AccessPoint.Speed.NONE, ap.getSpeed()); in noSpeedsShouldBeInsertedIntoAccessPointWhenScoringUiDisabled() 568 assertEquals(AccessPoint.Speed.NONE, ap.getSpeed()); in noSpeedsShouldBeInsertedIntoAccessPointWhenScoringUiDisabled()
|
/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/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 86 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST); in testVerboseSummaryString_showsScanResultSpeedLabel()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 342 SET(Speed, location.speedMetersPerSec); in translateLocation()
|