Home
last modified time | relevance | path

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

/packages/modules/Uwb/framework/java/android/uwb/
DDistanceMeasurement.java37 public final class DistanceMeasurement implements Parcelable { class
42 private DistanceMeasurement(double meters, double errorMeters, double confidenceLevel) { in DistanceMeasurement() method in DistanceMeasurement
90 if (obj instanceof DistanceMeasurement) { in equals()
91 DistanceMeasurement other = (DistanceMeasurement) obj; in equals()
119 public static final @android.annotation.NonNull Creator<DistanceMeasurement> CREATOR =
120 new Creator<DistanceMeasurement>() {
122 public DistanceMeasurement createFromParcel(Parcel in) {
131 public DistanceMeasurement[] newArray(int size) {
132 return new DistanceMeasurement[size];
208 public DistanceMeasurement build() { in build()
[all …]
DRangingMeasurement.java49 private final DistanceMeasurement mDistanceMeasurement;
58 long elapsedRealtimeNanos, @Nullable DistanceMeasurement distanceMeasurement, in RangingMeasurement()
144 public DistanceMeasurement getDistanceMeasurement() { in getDistanceMeasurement()
333 in.readParcelable(DistanceMeasurement.class.getClassLoader()));
377 private DistanceMeasurement mDistanceMeasurement = null;
427 public Builder setDistanceMeasurement(@NonNull DistanceMeasurement distanceMeasurement) { in setDistanceMeasurement()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DDistanceMeasurementTest.java23 import android.uwb.DistanceMeasurement;
45 DistanceMeasurement.Builder builder = new DistanceMeasurement.Builder(); in testBuilder()
55 DistanceMeasurement measurement = tryBuild(builder, true); in testBuilder()
62 private DistanceMeasurement tryBuild(DistanceMeasurement.Builder builder, in tryBuild()
64 DistanceMeasurement measurement = null; in tryBuild()
81 DistanceMeasurement measurement = UwbTestUtils.getDistanceMeasurement(); in testParcel()
84 DistanceMeasurement fromParcel = in testParcel()
85 DistanceMeasurement.CREATOR.createFromParcel(parcel); in testParcel()
DUwbTestUtils.java25 import android.uwb.DistanceMeasurement;
57 public static DistanceMeasurement getDistanceMeasurement() { in getDistanceMeasurement()
58 return new DistanceMeasurement.Builder() in getDistanceMeasurement()
DRangingMeasurementTest.java27 import android.uwb.DistanceMeasurement;
56 DistanceMeasurement distanceMeasurement = UwbTestUtils.getDistanceMeasurement(); in testBuilder()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbControleeTest.java28 import android.uwb.DistanceMeasurement;
74 DistanceMeasurement dm = new DistanceMeasurement.Builder() in testFilterMeasurement()
98 DistanceMeasurement dm = new DistanceMeasurement.Builder() in testNonAoaMeasurement()
DUwbMetricsTest.java31 import android.uwb.DistanceMeasurement;
112 private DistanceMeasurement mFilteredDistanceMeasurement;
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbControlee.java23 import android.uwb.DistanceMeasurement;
104 DistanceMeasurement distMeasurement = rawMeasurement.getDistanceMeasurement(); in filterMeasurement()
179 DistanceMeasurement distMeasurement = rawMeasurement.getDistanceMeasurement(); in updateBuilder()
215 DistanceMeasurement.Builder distanceBuilder = new DistanceMeasurement.Builder(); in updateBuilder()
DUwbTestUtils.java33 import android.uwb.DistanceMeasurement;
323 new DistanceMeasurement.Builder() in buildRangingReport()
DUwbSessionNotificationManager.java24 import android.uwb.DistanceMeasurement;
901 private static DistanceMeasurement buildDistanceMeasurement(int distance) { in buildDistanceMeasurement()
902 return new DistanceMeasurement.Builder() in buildDistanceMeasurement()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DUwbTestUtils.java39 public static DistanceMeasurement getDistanceMeasurement() { in getDistanceMeasurement()
40 return new DistanceMeasurement.Builder() in getDistanceMeasurement()
/packages/modules/Uwb/framework/api/
Dsystem-current.txt28 public final class DistanceMeasurement implements android.os.Parcelable {
34 …NonNull public static final android.os.Parcelable.Creator<android.uwb.DistanceMeasurement> CREATOR;
37 public static final class DistanceMeasurement.Builder {
38 ctor public DistanceMeasurement.Builder();
39 method @NonNull public android.uwb.DistanceMeasurement build();
40 …method @NonNull public android.uwb.DistanceMeasurement.Builder setConfidenceLevel(@FloatRange(from…
41 …method @NonNull public android.uwb.DistanceMeasurement.Builder setErrorMeters(@FloatRange(from=0.0…
42 method @NonNull public android.uwb.DistanceMeasurement.Builder setMeters(double);
49 method @Nullable public android.uwb.DistanceMeasurement getDistanceMeasurement();
79 …id.uwb.RangingMeasurement.Builder setDistanceMeasurement(@NonNull android.uwb.DistanceMeasurement);
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DConversions.java26 import android.uwb.DistanceMeasurement;
96 DistanceMeasurement distanceMeasurement = measurement.getDistanceMeasurement(); in convertToPosition()