/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/ranging/ |
D | RangingReportTest.java | 38 final RangingReport rangingReport = in testBuildingRangingReport_success() local 44 assertEquals(rangingReport.getDistanceM(), TEST_DISTANCE_M, 0.0f); in testBuildingRangingReport_success() 45 assertEquals(rangingReport.getProximityState(), TEST_PROXIMITY_STATE); in testBuildingRangingReport_success()
|
D | UwbRangingSessionTest.java | 339 RangingReport rangingReport = captor3.getValue(); in testStart_initiatorWithADSucceed() local 340 assertEquals(rangingReport.getDistanceM(), TEST_DISTANCE, 0.0f); in testStart_initiatorWithADSucceed() 341 assertEquals(rangingReport.getProximityState(), PROXIMITY_STATE_INSIDE); in testStart_initiatorWithADSucceed()
|
/packages/modules/Uwb/framework/java/android/uwb/ |
D | UwbOemExtensionCallbackListener.java | 161 public RangingReport onRangingReportReceived(RangingReport rangingReport) in onRangingReportReceived() argument 165 return rangingReport; in onRangingReportReceived() 168 RangingReport vendorRangingReport = rangingReport; in onRangingReportReceived() 173 () -> mCallback.onRangingReportReceived(rangingReport) in onRangingReportReceived() 179 return vendorRangingReport == null ? rangingReport in onRangingReportReceived()
|
D | UwbManager.java | 398 @NonNull RangingReport rangingReport); in onRangingReportReceived()
|
D | RangingSession.java | 317 void onReportReceived(@NonNull RangingReport rangingReport); in onReportReceived() argument
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | UwbManagerTest.java | 611 public RangingReport rangingReport; field in UwbManagerTest.RangingSessionCallback 677 public void onReportReceived(@NonNull RangingReport rangingReport) { in onReportReceived() argument 679 this.rangingReport = rangingReport; in onReportReceived() 1016 void verify(RangingReport rangingReport) throws Exception; in verify() argument 1064 assertThat(rangingSessionCallback.rangingReport).isNotNull(); in verifyFiraRangingSession() 1068 verifyRangingReport.verify(rangingSessionCallback.rangingReport); in verifyFiraRangingSession() 1265 (rangingReport) -> { in testDlTdoaRangingSession() 1267 rangingReport.getMeasurements().get(0); in testDlTdoaRangingSession() 1339 (rangingReport) -> { in testAdvertisingRangingSession() 1340 assertThat(rangingReport.getMeasurements()).isNotNull(); in testAdvertisingRangingSession() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbSessionNotificationManager.java | 84 RangingReport rangingReport = null; in onRangingResult() local 86 rangingReport = getRangingReport(rangingData, uwbSession.getProtocolName(), in onRangingResult() 92 if (rangingReport == null) { in onRangingResult() 98 RangingMeasurement filteredRangingMeasurement = rangingReport.getMeasurements().get(0); in onRangingResult() 108 rangingReport = mUwbInjector.getUwbServiceCore().getOemExtensionCallback() in onRangingResult() 109 .onRangingReportReceived(rangingReport); in onRangingResult() 116 uwbRangingCallbacks.onRangingResult(sessionHandle, rangingReport); in onRangingResult()
|
D | UwbShellCommand.java | 351 public void onRangingResult(SessionHandle sessionHandle, RangingReport rangingReport) { in onRangingResult() argument 352 mPw.println("Ranging Result: " + rangingReport); in onRangingResult() 353 mSessionInfo.addRangingReport(rangingReport); in onRangingResult() 445 public void addRangingReport(@NonNull RangingReport rangingReport) { in addRangingReport() argument 449 lastRangingReports.add(rangingReport); in addRangingReport() 1332 for (RangingReport rangingReport : sessionInfo.lastRangingReports) { in onCommand() 1333 pw.println(rangingReport); in onCommand() 1341 for (RangingReport rangingReport : sessionInfo.lastRangingReports) { in onCommand() 1342 pw.println(rangingReport); in onCommand()
|
D | UwbTestUtils.java | 295 RangingReport rangingReport = buildRangingReport(macAddress, rangingMeasurementType, in generateRangingDataAndRangingReport() local 297 return Pair.create(uwbRangingData, rangingReport); in generateRangingDataAndRangingReport()
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | RangingDevice.java | 227 RangingReport rangingReport, RangingSessionCallback callback) { in onRangingDataReceived() argument 228 List<RangingMeasurement> measurements = rangingReport.getMeasurements(); in onRangingDataReceived() 379 public void onReportReceived(RangingReport rangingReport) { in convertCallback() argument 382 () -> onRangingDataReceived(rangingReport, callback)); in convertCallback()
|
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/ |
D | UwbRangingSession.java | 196 RangingReport rangingReport = in convertCallback() local 201 executor.execute(() -> callback.onRangingReport(mSessionInfo, rangingReport)); in convertCallback()
|
D | RangingSession.java | 99 @NonNull SessionInfo sessionInfo, @NonNull RangingReport rangingReport); in onRangingReport() argument
|
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/snippet/ |
D | UwbManagerSnippet.java | 189 public RangingReport rangingReport; field in UwbManagerSnippet.RangingSessionCallback 277 rangingReport = report; in onReportReceived() 716 rangingSessionCallback.rangingReport.getMeasurements(); in getRangingMeasurement()
|