Home
last modified time | relevance | path

Searched refs:getSpeed (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/location/tests/locationtests/src/android/location/
DLocationTest.java201 assertEquals(message, loc.getSpeed(), 1, 0); in testSpeed()
209 assertEquals(message, loc.getSpeed(), 0, 0); in testSpeed()
257 assertEquals(expectedSpeed, deserialized.getSpeed()); in testParcel()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java376 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.VERY_FAST);
392 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.FAST);
408 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.MODERATE);
424 assertThat(ap.getSpeed()).isEqualTo(AccessPoint.Speed.SLOW);
1039 assertThat(ap.getSpeed()).isEqualTo(expectedSpeed); in testSpeedLabelAveragesAllBssidScores()
1060 assertThat(ap.getSpeed()).isEqualTo(speed1); in testSpeedLabelAverageIgnoresNoSpeedScores()
1102 assertThat(ap.getSpeed()).isEqualTo(fallbackSpeed); in testSpeedLabelFallbackScoreIgnoresNullCurves()
1130 assertThat(ap.getSpeed()).isEqualTo(Speed.FAST); in testRecentNetworkScoresAreUsedForSpeedLabelGeneration()
1143 assertThat(ap.getSpeed()).isEqualTo(Speed.FAST); in testNetworkScoresAreUsedForSpeedLabelGenerationWhenWithinAgeRange()
1156 assertThat(ap.getSpeed()).isEqualTo(Speed.NONE); in testOldNetworkScoresAreNotUsedForSpeedLabelGeneration()
[all …]
DWifiTrackerTest.java617 assertEquals(BADGE_1, ap.getSpeed()); in scoreCacheUpdateScoresShouldInsertSpeedIntoAccessPoint()
619 assertEquals(BADGE_2, ap.getSpeed()); in scoreCacheUpdateScoresShouldInsertSpeedIntoAccessPoint()
656 assertEquals(AccessPoint.Speed.NONE, ap.getSpeed()); in noSpeedsShouldBeInsertedIntoAccessPointWhenScoringUiDisabled()
658 assertEquals(AccessPoint.Speed.NONE, ap.getSpeed()); in noSpeedsShouldBeInsertedIntoAccessPointWhenScoringUiDisabled()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DCSVFormatter.java65 rowOutput.append(entry.getLocation().getSpeed()); in getOutput()
DTrackerEntry.java184 cValues.put(SPEED, mLocation.getSpeed()); in getAsContentValues()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DAccessPointPreferenceTest.java81 when(mockAccessPoint.getSpeed()).thenReturn(0); in refresh_shouldUpdateIcon()
/frameworks/base/media/java/android/media/
DPlaybackParams.java230 public float getSpeed() { in getSpeed() method in PlaybackParams
DMediaPlayer.java1937 isPlaying() ? getPlaybackParams().getSpeed() : 0.f); in getTimestamp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java436 if (getSpeed() != other.getSpeed()) { in compareTo()
437 return other.getSpeed() - getSpeed(); in compareTo()
1459 int getSpeed() { return mSpeed;} in getSpeed() method in AccessPoint
DWifiUtils.java99 if (accessPoint.getSpeed() != AccessPoint.Speed.NONE) { in getVisibilityStatus()
DAccessPointPreference.java239 int wifiSpeed = mAccessPoint.getSpeed(); in refresh()
/frameworks/base/location/java/android/location/
DLocation.java723 public float getSpeed() { in getSpeed() method in Location
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java790 float speedMetersPerSec = location.getSpeed(); in injectBestLocation()
1326 mItarSpeedLimitExceeded = location.getSpeed() > ITAR_SPEED_LIMIT_METERS_PER_SECOND; in handleReportLocation()
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java1822 getState() == PLAYER_STATE_PLAYING ? getPlaybackParams().getSpeed() : 0.f);
/frameworks/base/api/
Dcurrent.txt22910 method public float getSpeed();
25997 method public float getSpeed();
/frameworks/base/config/
Dboot-image-profile.txt9210 HSPLandroid/location/Location;->getSpeed()F
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13813 method public float getSpeed();