Home
last modified time | relevance | path

Searched refs:getAltitude (Results 1 – 23 of 23) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExerciseRouteInternal.java202 public double getAltitude() { in getAltitude() method in ExerciseRouteInternal.LocationInternal
233 parcel.writeDouble(getAltitude()); in writeToParcel()
251 if (getAltitude() != Constants.DEFAULT_DOUBLE) { in toExternalExerciseRouteLocation()
252 builder.setAltitude(Length.fromMeters(getAltitude())); in toExternalExerciseRouteLocation()
267 && (getAltitude() == that.getAltitude()); in equals()
278 getAltitude()); in hashCode()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbControlee.java122 if (aoaMeasurement.getAltitude() != null in filterMeasurement()
123 && aoaMeasurement.getAltitude().getConfidenceLevel() > 0) { in filterMeasurement()
125 elevation = (float) aoaMeasurement.getAltitude().getRadians(); in filterMeasurement()
126 elevationFom = aoaMeasurement.getAltitude().getConfidenceLevel(); in filterMeasurement()
196 if (aoaMeasurement.getAltitude() != null) { in updateBuilder()
200 aoaMeasurement.getAltitude().getErrorRadians(), in updateBuilder()
DUwbMetrics.java349 .getAngleOfArrivalMeasurement().getAltitude().getRadians()); in addFilteredResults()
351 .getAngleOfArrivalMeasurement().getAltitude() in addFilteredResults()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExerciseRoute.java242 public Length getAltitude() { in getAltitude() method in ExerciseRoute.Location
262 if (getAltitude() != null) { in toExerciseRouteLocationInternal()
263 locationInternal.setAltitude(getAltitude().getInMeters()); in toExerciseRouteLocationInternal()
273 return Objects.equals(getAltitude(), that.getAltitude()) in equals()
289 getAltitude()); in hashCode()
/packages/modules/Uwb/framework/java/android/uwb/
DAngleOfArrivalMeasurement.java75 public AngleMeasurement getAltitude() { in getAltitude() method in AngleOfArrivalMeasurement
91 && Objects.equals(mAltitudeAngleMeasurement, other.getAltitude()); in equals()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DExerciseRouteTest.java55 assertThat(point.getAltitude()).isNull(); in testExerciseRouteLocation_buildViaBuilder_buildCorrectObject()
76 assertThat(point.getAltitude()).isEqualTo(Length.fromMeters(altitude)); in testExerciseRouteLocation_setExtraFieldsViaBuilder_buildCorrectObject()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DAfcLocation.java51 mHeight = location.getAltitude(); in AfcLocation()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DAngleOfArrivalMeasurementTest.java50 assertEquals(altitude, measurement.getAltitude()); in testBuilder()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/rtt/
DResponderLocationTest.java292 assertEquals(11.2, responderLocation.getAltitude(), ALT_TOLERANCE_METERS); in testLciValidSubelement()
306 assertEquals(11.2, location.getAltitude(), ALT_TOLERANCE_METERS); in testLciValidSubelement()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DExerciseRouteRecordHelper.java107 contentValues.put(ROUTE_LOCATION_ALTITUDE_COLUMN_NAME, location.getAltitude()); in populateRouteLocationTo()
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DConversions.java118 AngleMeasurement altitudeMeasurement = aoaMeasurement.getAltitude(); in convertToPosition()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DLocationListeners.java205 location.getAltitude(),
/packages/apps/Camera2/src/com/android/camera/util/
DExifUtil.java87 double altitude = location.getAltitude(); in addLocationToExif()
DCameraUtil.java799 (loc.hasAltitude() ? loc.getAltitude() : 0), in setGpsParameters()
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/snippet/
DUwbManagerSnippet.java826 || rangingMeasurement.getAngleOfArrivalMeasurement().getAltitude() == null) { in getAoAAltitudeMeasurement()
829 return rangingMeasurement.getAngleOfArrivalMeasurement().getAltitude().getRadians(); in getAoAAltitudeMeasurement()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java463 jsonWriter.name(ALTITUDE).value(location.getAltitude()); in storeLocation()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbMetricsTest.java151 when(mFilteredAngleOfArrivalMeasurement.getAltitude()) in setUp()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java652 parameters.setGpsAltitude(loc.getAltitude()); in setGpsParameters()
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DResponderLocation.java1133 public double getAltitude() { in getAltitude() method in ResponderLocation
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java539 .map(ExerciseRoute.Location::getAltitude) in getExerciseSessionRecordValues()
/packages/modules/Uwb/framework/api/
Dsystem-current.txt16 method @Nullable public android.uwb.AngleMeasurement getAltitude();
/packages/modules/Wifi/framework/api/
Dcurrent.txt1790 method public double getAltitude();
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt774 method @Nullable public android.health.connect.datatypes.units.Length getAltitude();