Home
last modified time | relevance | path

Searched refs:RangingReport (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DRangingReportTest.java25 import android.uwb.RangingReport;
55 RangingReport.Builder builder = new RangingReport.Builder(); in testBuilder()
57 RangingReport report = tryBuild(builder, true); in testBuilder()
59 builder = new RangingReport.Builder(); in testBuilder()
80 private RangingReport tryBuild(RangingReport.Builder builder, in tryBuild()
82 RangingReport report = null; in tryBuild()
99 RangingReport report = UwbTestUtils.getRangingReports(5); in testParcel()
102 RangingReport fromParcel = RangingReport.CREATOR.createFromParcel(parcel); in testParcel()
DUwbTestUtils.java27 import android.uwb.RangingReport;
98 public static RangingReport getRangingReports(int numMeasurements) { in getRangingReports()
99 RangingReport.Builder builder = new RangingReport.Builder(); in getRangingReports()
DUwbManagerTest.java57 import android.uwb.RangingReport;
611 public RangingReport rangingReport;
677 public void onReportReceived(@NonNull RangingReport rangingReport) { in onReportReceived()
1016 void verify(RangingReport rangingReport) throws Exception; in verify()
1794 public RangingReport mRangingReport;
1835 public RangingReport onRangingReportReceived( in onRangingReportReceived()
1836 @NonNull RangingReport rangingReport) { in onRangingReportReceived()
/packages/modules/Uwb/framework/java/android/uwb/
DRangingReport.java37 public final class RangingReport implements Parcelable { class
41 private RangingReport(@NonNull List<RangingMeasurement> rangingMeasurements, in RangingReport() method in RangingReport
81 if (obj instanceof RangingReport) { in equals()
82 RangingReport other = (RangingReport) obj; in equals()
110 public static final @android.annotation.NonNull Creator<RangingReport> CREATOR =
111 new Creator<RangingReport>() {
113 public RangingReport createFromParcel(Parcel in) {
123 public RangingReport[] newArray(int size) {
124 return new RangingReport[size];
188 public RangingReport build() { in build()
[all …]
DIUwbOemExtensionCallback.aidl19 import android.uwb.RangingReport;
28 RangingReport onRangingReportReceived(in RangingReport bundle); in onRangingReportReceived()
DUwbOemExtensionCallbackListener.java161 public RangingReport onRangingReportReceived(RangingReport rangingReport) in onRangingReportReceived()
168 RangingReport vendorRangingReport = rangingReport; in onRangingReportReceived()
172 FutureTask<RangingReport> getOemRangingReport = new FutureTask<RangingReport>( in onRangingReportReceived()
DIUwbRangingCallbacks.aidl21 import android.uwb.RangingReport;
137 void onRangingResult(in SessionHandle sessionHandle, in RangingReport result); in onRangingResult()
DRangingReport.aidl19 parcelable RangingReport;
DUwbManager.java397 @NonNull RangingReport onRangingReportReceived( in onRangingReportReceived()
398 @NonNull RangingReport rangingReport); in onRangingReportReceived()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/
DRangingReport.java21 public class RangingReport { class
77 private RangingReport(float distanceM, @ProximityState int proximityState) { in RangingReport() method in RangingReport
100 public RangingReport build() { in build()
101 return new RangingReport(mDistanceM, mProximityState); in build()
DUwbRangingSession.java23 import static com.android.server.remoteauth.ranging.RangingReport.PROXIMITY_STATE_INSIDE;
24 import static com.android.server.remoteauth.ranging.RangingReport.PROXIMITY_STATE_OUTSIDE;
196 RangingReport rangingReport = in convertCallback()
197 new RangingReport.Builder() in convertCallback()
DRangingSession.java99 @NonNull SessionInfo sessionInfo, @NonNull RangingReport rangingReport); in onRangingReport()
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/ranging/
DRangingReportTest.java18 import static com.android.server.remoteauth.ranging.RangingReport.PROXIMITY_STATE_INSIDE;
24 import com.android.server.remoteauth.ranging.RangingReport.ProximityState;
38 final RangingReport rangingReport = in testBuildingRangingReport_success()
39 new RangingReport.Builder() in testBuildingRangingReport_success()
DUwbRangingSessionTest.java27 import static com.android.server.remoteauth.ranging.RangingReport.PROXIMITY_STATE_INSIDE;
336 ArgumentCaptor<RangingReport> captor3 = ArgumentCaptor.forClass(RangingReport.class); in testStart_initiatorWithADSucceed()
339 RangingReport rangingReport = captor3.getValue(); in testStart_initiatorWithADSucceed()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DUwbOemExtensionCallbackListenerTest.java164 RangingReport mRangingReport = new RangingReport.Builder().build(); in testOnRangingReportReceived()
165 RangingReport mRangingReport1 = new RangingReport.Builder().build(); in testOnRangingReportReceived()
168 RangingReport report = mUwbOemExtensionCallbackListener.onRangingReportReceived( in testOnRangingReportReceived()
DUwbTestUtils.java61 public static RangingReport getRangingReports(int numMeasurements) { in getRangingReports()
62 RangingReport.Builder builder = new RangingReport.Builder(); in getRangingReports()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionNotificationManagerTest.java55 import android.uwb.RangingReport;
153 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResultWithoutUwbRangingPermission()
170 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResult_forTwoWay_WithAoa()
187 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResult_forTwoWay_WithNoAoa()
204 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResult_forTwoWay_WithNoAoaElevation()
221 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResult_forTwoWay_WithNoAoaAzimuth()
243 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResult_forTwoWay_WithAoaAndDestAoa()
265 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResult_forTwoWay_WithAoaAndNoDestAzimuth()
287 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResult_forTwoWay_WithAoaAndNoDestElevation()
309 Pair<UwbRangingData, RangingReport> testRangingDataAndRangingReport = in testOnRangingResult_forTwoWay_WithNoAoaAndDestAoa()
[all …]
DUwbShellCommandTest.java50 import android.uwb.RangingReport;
351 new RangingReport.Builder().addMeasurement(getRangingMeasurement()).build()); in testRangingReportFiraRanging()
365 new RangingReport.Builder().addMeasurement(getRangingMeasurement()).build()); in testRangingReportAllFiraRanging()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbTestUtils.java35 import android.uwb.RangingReport;
237 public static Pair<UwbRangingData, RangingReport> generateRangingDataAndRangingReport( in generateRangingDataAndRangingReport()
295 RangingReport rangingReport = buildRangingReport(macAddress, rangingMeasurementType, in generateRangingDataAndRangingReport()
307 private static RangingReport buildRangingReport(byte[] macAddress, int rangingMeasurementType, in buildRangingReport()
354 return new RangingReport.Builder() in buildRangingReport()
DUwbSessionNotificationManager.java28 import android.uwb.RangingReport;
84 RangingReport rangingReport = null; in onRangingResult()
665 private static RangingReport getRangingReport( in getRangingReport()
723 RangingReport.Builder rangingReportBuilder = new RangingReport.Builder() in getRangingReport()
DUwbShellCommand.java91 import android.uwb.RangingReport;
351 public void onRangingResult(SessionHandle sessionHandle, RangingReport rangingReport) { in onRangingResult()
424 public final ArrayDeque<RangingReport> lastRangingReports =
445 public void addRangingReport(@NonNull RangingReport rangingReport) { in addRangingReport()
1332 for (RangingReport rangingReport : sessionInfo.lastRangingReports) { in onCommand()
1341 for (RangingReport rangingReport : sessionInfo.lastRangingReports) { in onCommand()
/packages/modules/Uwb/framework/api/
Dsystem-current.txt89 public final class RangingReport implements android.os.Parcelable {
94 …field @NonNull public static final android.os.Parcelable.Creator<android.uwb.RangingReport> CREATO…
97 public static final class RangingReport.Builder {
98 ctor public RangingReport.Builder();
99 …method @NonNull public android.uwb.RangingReport.Builder addMeasurement(@NonNull android.uwb.Rangi…
100 …method @NonNull public android.uwb.RangingReport.Builder addMeasurements(@NonNull java.util.List<a…
101 …method @NonNull public android.uwb.RangingReport.Builder addRangingReportMetadata(@NonNull android…
102 method @NonNull public android.uwb.RangingReport build();
146 method public void onReportReceived(@NonNull android.uwb.RangingReport);
283 …method @NonNull public android.uwb.RangingReport onRangingReportReceived(@NonNull android.uwb.Rang…
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DRangingDevice.java38 import android.uwb.RangingReport;
227 RangingReport rangingReport, RangingSessionCallback callback) { in onRangingDataReceived()
379 public void onReportReceived(RangingReport rangingReport) { in convertCallback()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/
DRangingReportMetadata.java20 import android.uwb.RangingReport;
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarData.java20 import android.uwb.RangingReport;

12