Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java120 @IntDef({Speed.NONE, Speed.SLOW, Speed.MODERATE, Speed.FAST, Speed.VERY_FAST})
122 public @interface Speed { annotation in AccessPoint
243 @Speed private int mSpeed = Speed.NONE;
496 if (mSpeed != Speed.NONE) { in toString()
592 @Speed private int generateAverageSpeedForSsid() { in generateAverageSpeedForSsid()
594 return Speed.NONE; in generateAverageSpeedForSsid()
610 if (speed != Speed.NONE) { in generateAverageSpeedForSsid()
615 int speed = count == 0 ? Speed.NONE : totalSpeed / count; in generateAverageSpeedForSsid()
1467 @Speed
1469 if (speed < Speed.SLOW) { in roundToClosestSpeedEnum()
[all …]
DWifiUtils.java99 if (accessPoint.getSpeed() != AccessPoint.Speed.NONE) { in getVisibilityStatus()
184 if (speed != AccessPoint.Speed.NONE) { in verboseScanResultSummary()
194 @AccessPoint.Speed
199 return AccessPoint.Speed.NONE; in getSpecificApSpeed()
DTestAccessPointBuilder.java30 import com.android.settingslib.wifi.AccessPoint.Speed;
49 private int mSpeed = Speed.NONE;
DAccessPointPreference.java42 import com.android.settingslib.wifi.AccessPoint.Speed;
79 private int mWifiSpeed = Speed.NONE;
/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/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java65 import com.android.settingslib.wifi.AccessPoint.Speed;
94 new RssiCurve(-150, 10, new byte[]{Speed.FAST});
174 AccessPoint fastAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.FAST).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed()
175 AccessPoint slowAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.SLOW).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed()
371 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST);
376 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.VERY_FAST);
387 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.FAST);
392 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.FAST);
403 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.MODERATE);
408 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.MODERATE);
[all …]
DWifiTrackerTest.java104 private static final int BADGE_1 = AccessPoint.Speed.MODERATE;
114 private static final int BADGE_2 = AccessPoint.Speed.FAST;
656 assertEquals(AccessPoint.Speed.NONE, ap.getSpeed()); in noSpeedsShouldBeInsertedIntoAccessPointWhenScoringUiDisabled()
658 assertEquals(AccessPoint.Speed.NONE, ap.getSpeed()); in noSpeedsShouldBeInsertedIntoAccessPointWhenScoringUiDisabled()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java87 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST); in testVerboseSummaryString_showsScanResultSpeedLabel()
/frameworks/base/proto/src/
Dwifi.proto2436 // Counts the occurrences of Link Speed values when a link probe succeeds.
2439 // Counts the occurrences of Link Speed values when a link probe fails.
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp471 SET(Speed, location.speedMetersPerSec); in translateGnssLocation()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs3356 [pbr::OriginalName("SPEED")] Speed = 1, enumerator