Home
last modified time | relevance | path

Searched refs:AngleMeasurement (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Uwb/framework/java/android/uwb/
DAngleOfArrivalMeasurement.java34 private final AngleMeasurement mAzimuthAngleMeasurement;
35 private final AngleMeasurement mAltitudeAngleMeasurement;
37 private AngleOfArrivalMeasurement(@NonNull AngleMeasurement azimuthAngleMeasurement, in AngleOfArrivalMeasurement()
38 @Nullable AngleMeasurement altitudeAngleMeasurement) { in AngleOfArrivalMeasurement()
58 public AngleMeasurement getAzimuth() { in getAzimuth()
75 public AngleMeasurement getAltitude() { in getAltitude()
120 new Builder(in.readParcelable(AngleMeasurement.class.getClassLoader()));
122 builder.setAltitude(in.readParcelable(AngleMeasurement.class.getClassLoader()));
146 private final AngleMeasurement mAzimuthAngleMeasurement;
147 private AngleMeasurement mAltitudeAngleMeasurement = null;
[all …]
DAngleMeasurement.java36 public final class AngleMeasurement implements Parcelable { class
51 public AngleMeasurement( in AngleMeasurement() method in AngleMeasurement
116 if (obj instanceof AngleMeasurement) { in equals()
117 AngleMeasurement other = (AngleMeasurement) obj; in equals()
145 public static final @android.annotation.NonNull Creator<AngleMeasurement> CREATOR =
146 new Creator<AngleMeasurement>() {
148 public AngleMeasurement createFromParcel(Parcel in) {
149 return new AngleMeasurement(in.readDouble(), in.readDouble(), in.readDouble());
153 public AngleMeasurement[] newArray(int size) {
154 return new AngleMeasurement[size];
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DAngleMeasurementTest.java23 import android.uwb.AngleMeasurement;
43 AngleMeasurement measurement = new AngleMeasurement(radians, errorRadians, confidence); in testConstructs()
79 new AngleMeasurement(radians, errorRadians, confidence); in constructExpectFailure()
89 AngleMeasurement measurement = UwbTestUtils.getAngleMeasurement(); in testParcel()
92 AngleMeasurement fromParcel = AngleMeasurement.CREATOR.createFromParcel(parcel); in testParcel()
DAngleOfArrivalMeasurementTest.java23 import android.uwb.AngleMeasurement;
41 AngleMeasurement azimuth = UwbTestUtils.getAngleMeasurement(); in testBuilder()
42 AngleMeasurement altitude = UwbTestUtils.getAngleMeasurement(); in testBuilder()
DUwbTestUtils.java23 import android.uwb.AngleMeasurement;
44 public static AngleMeasurement getAngleMeasurement() { in getAngleMeasurement()
45 return new AngleMeasurement( in getAngleMeasurement()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbControlee.java21 import android.uwb.AngleMeasurement;
181 AngleMeasurement azimuthMeasurement = null; in updateBuilder()
182 AngleMeasurement elevationMeasurement = null; in updateBuilder()
189 azimuthMeasurement = new AngleMeasurement( in updateBuilder()
198 elevationMeasurement = new AngleMeasurement( in updateBuilder()
DUwbTestUtils.java31 import android.uwb.AngleMeasurement;
254 AngleMeasurement aoaAzimuth = null; in generateRangingDataAndRangingReport()
255 AngleMeasurement aoaElevation = null; in generateRangingDataAndRangingReport()
259 aoaAzimuth = new AngleMeasurement( in generateRangingDataAndRangingReport()
265 aoaElevation = new AngleMeasurement( in generateRangingDataAndRangingReport()
274 AngleMeasurement aoaDestAzimuth = null; in generateRangingDataAndRangingReport()
275 AngleMeasurement aoaDestElevation = null; in generateRangingDataAndRangingReport()
280 new AngleMeasurement( in generateRangingDataAndRangingReport()
287 new AngleMeasurement( in generateRangingDataAndRangingReport()
DUwbSessionNotificationManager.java22 import android.uwb.AngleMeasurement;
873 AngleMeasurement azimuthAngleMeasurement = new AngleMeasurement( in computeAngleOfArrivalMeasurement()
881 AngleMeasurement altitudeAngleMeasurement = new AngleMeasurement( in computeAngleOfArrivalMeasurement()
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DConversions.java24 import android.uwb.AngleMeasurement;
110 AngleMeasurement azimuthMeasurement = aoaMeasurement.getAzimuth(); in convertToPosition()
118 AngleMeasurement altitudeMeasurement = aoaMeasurement.getAltitude(); in convertToPosition()
140 private static boolean isMeasurementAllZero(AngleMeasurement measurement) { in isMeasurementAllZero()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbControleeTest.java26 import android.uwb.AngleMeasurement;
72 AngleMeasurement am = new AngleMeasurement(testRads, 0.0, 1.0); in testFilterMeasurement()
DUwbMetricsTest.java29 import android.uwb.AngleMeasurement;
116 private AngleMeasurement mFilteredAzimuthMeasurement;
118 private AngleMeasurement mFilteredElevationMeasurement;
/packages/modules/Uwb/framework/tests/src/android/uwb/
DUwbTestUtils.java26 public static AngleMeasurement getAngleMeasurement() { in getAngleMeasurement()
27 return new AngleMeasurement( in getAngleMeasurement()
/packages/modules/Uwb/framework/api/
Dsystem-current.txt4 public final class AngleMeasurement implements android.os.Parcelable {
5 …ctor public AngleMeasurement(@FloatRange(from=-3.141592653589793, to=3.141592653589793) double, @F…
11 …field @NonNull public static final android.os.Parcelable.Creator<android.uwb.AngleMeasurement> CRE…
16 method @Nullable public android.uwb.AngleMeasurement getAltitude();
17 method @NonNull public android.uwb.AngleMeasurement getAzimuth();
23 ctor public AngleOfArrivalMeasurement.Builder(@NonNull android.uwb.AngleMeasurement);
25 …c android.uwb.AngleOfArrivalMeasurement.Builder setAltitude(@NonNull android.uwb.AngleMeasurement);