Home
last modified time | relevance | path

Searched refs:Speed (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java107 @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 …]
DWifiUtils.java98 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()
DTestAccessPointBuilder.java29 import com.android.settingslib.wifi.AccessPoint.Speed;
48 private int mSpeed = Speed.NONE;
DAccessPointPreference.java42 import com.android.settingslib.wifi.AccessPoint.Speed;
79 private int mWifiSpeed = Speed.NONE;
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java56 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 …]
DWifiTrackerTest.java97 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/
DTronUtils.java21 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/
DWifiUtilsTest.java86 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST); in testVerboseSummaryString_showsScanResultSpeedLabel()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp342 SET(Speed, location.speedMetersPerSec); in translateLocation()