/packages/modules/Uwb/framework/java/android/uwb/ |
D | IUwbRangingCallbacks.aidl | 35 void onRangingOpened(in SessionHandle sessionHandle); in onRangingOpened() 44 void onRangingOpenFailed(in SessionHandle sessionHandle, in onRangingOpenFailed() 59 void onRangingStarted(in SessionHandle sessionHandle, in onRangingStarted() 69 void onRangingStartFailed(in SessionHandle sessionHandle, in onRangingStartFailed() 79 void onRangingReconfigured(in SessionHandle sessionHandle, in onRangingReconfigured() 89 void onRangingReconfigureFailed(in SessionHandle sessionHandle, in onRangingReconfigureFailed() 101 void onRangingStopped(in SessionHandle sessionHandle, in onRangingStopped() 112 void onRangingStopFailed(in SessionHandle sessionHandle, in onRangingStopFailed() 123 void onRangingClosed(in SessionHandle sessionHandle, in onRangingClosed() 137 void onRangingResult(in SessionHandle sessionHandle, in RangingReport result); in onRangingResult() [all …]
|
D | RangingManager.java | 79 SessionHandle sessionHandle = in openSession() local 101 private boolean hasSession(SessionHandle sessionHandle) { in hasSession() 106 public void onRangingOpened(SessionHandle sessionHandle) { in onRangingOpened() 120 public void onRangingOpenFailed(SessionHandle sessionHandle, @RangingChangeReason int reason, in onRangingOpenFailed() 137 public void onRangingReconfigured(SessionHandle sessionHandle, PersistableBundle parameters) { in onRangingReconfigured() 152 public void onRangingReconfigureFailed(SessionHandle sessionHandle, in onRangingReconfigureFailed() 168 public void onRangingStarted(SessionHandle sessionHandle, PersistableBundle parameters) { in onRangingStarted() 182 public void onRangingStartFailed(SessionHandle sessionHandle, @RangingChangeReason int reason, in onRangingStartFailed() 197 public void onRangingStopped(SessionHandle sessionHandle, @RangingChangeReason int reason, in onRangingStopped() 212 public void onRangingStopFailed(SessionHandle sessionHandle, @RangingChangeReason int reason, in onRangingStopFailed() [all …]
|
D | IUwbAdapter.aidl | 122 in SessionHandle sessionHandle, in openRanging() 141 void startRanging(in SessionHandle sessionHandle, in startRanging() 158 void reconfigureRanging(in SessionHandle sessionHandle, in reconfigureRanging() 172 void stopRanging(in SessionHandle sessionHandle); in stopRanging() 185 void closeRanging(in SessionHandle sessionHandle); in closeRanging() 200 void addControlee(in SessionHandle sessionHandle, in PersistableBundle params); in addControlee() 215 void removeControlee(in SessionHandle sessionHandle, in PersistableBundle params); in removeControlee() 238 void pause(in SessionHandle sessionHandle, in PersistableBundle params); in pause() 256 void resume(in SessionHandle sessionHandle, in PersistableBundle params); in resume() 276 void sendData(in SessionHandle sessionHandle, in UwbAddress remoteDeviceAddress, in sendData() [all …]
|
D | RangingSession.java | 514 SessionHandle sessionHandle) { in RangingSession() 522 SessionHandle sessionHandle, String chipId) { in RangingSession()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbSessionNotificationManager.java | 72 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingResult() local 125 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingOpened() local 137 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingOpenFailed() local 153 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingStarted() local 166 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingStartFailed() local 181 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingStartFailedWithUciReasonCode() local 199 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingStoppedInternal() local 232 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingStopFailed() local 248 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingReconfigured() local 271 SessionHandle sessionHandle = uwbSession.getSessionHandle(); in onRangingReconfigureFailed() local [all …]
|
D | UwbShellCommand.java | 292 public void onRangingOpened(SessionHandle sessionHandle) { in onRangingOpened() 297 public void onRangingOpenFailed(SessionHandle sessionHandle, int reason, in onRangingOpenFailed() 304 public void onRangingStarted(SessionHandle sessionHandle, PersistableBundle params) { in onRangingStarted() 309 public void onRangingStartFailed(SessionHandle sessionHandle, int reason, in onRangingStartFailed() 316 public void onRangingReconfigured(SessionHandle sessionHandle, PersistableBundle params) { in onRangingReconfigured() 321 public void onRangingReconfigureFailed(SessionHandle sessionHandle, int reason, in onRangingReconfigureFailed() 329 public void onRangingStopped(SessionHandle sessionHandle, int reason, in onRangingStopped() 336 public void onRangingStopFailed(SessionHandle sessionHandle, int reason, in onRangingStopFailed() 343 public void onRangingClosed(SessionHandle sessionHandle, int reason, in onRangingClosed() 351 public void onRangingResult(SessionHandle sessionHandle, RangingReport rangingReport) { in onRangingResult() [all …]
|
D | UwbServiceImpl.java | 293 SessionHandle sessionHandle, in openRanging() 308 public void startRanging(SessionHandle sessionHandle, PersistableBundle parameters) in startRanging() 315 public void reconfigureRanging(SessionHandle sessionHandle, PersistableBundle parameters) in reconfigureRanging() 322 public void stopRanging(SessionHandle sessionHandle) throws RemoteException { in stopRanging() 328 public void closeRanging(SessionHandle sessionHandle) throws RemoteException { in closeRanging() 342 public void addControlee(SessionHandle sessionHandle, PersistableBundle params) { in addControlee() 348 public void removeControlee(SessionHandle sessionHandle, PersistableBundle params) { in removeControlee() 354 public void pause(SessionHandle sessionHandle, PersistableBundle params) { in pause() 360 public void resume(SessionHandle sessionHandle, PersistableBundle params) { in resume() 366 public void sendData(SessionHandle sessionHandle, UwbAddress remoteDeviceAddress, in sendData() [all …]
|
D | UwbServiceCore.java | 636 SessionHandle sessionHandle, in openRanging() 707 public void startRanging(SessionHandle sessionHandle, PersistableBundle params) in startRanging() 726 public void reconfigureRanging(SessionHandle sessionHandle, PersistableBundle params) { in reconfigureRanging() 742 public void stopRanging(SessionHandle sessionHandle) { in stopRanging() 753 public void closeRanging(SessionHandle sessionHandle) { in closeRanging() 764 public void addControlee(SessionHandle sessionHandle, PersistableBundle params) { in addControlee() 781 public void removeControlee(SessionHandle sessionHandle, PersistableBundle params) { in removeControlee() 813 public void pause(SessionHandle sessionHandle, PersistableBundle params) { in pause() 818 public void resume(SessionHandle sessionHandle, PersistableBundle params) { in resume() 823 private void pauseOrResumeSession(SessionHandle sessionHandle, PersistableBundle params) { in pauseOrResumeSession() [all …]
|
D | UwbSessionManager.java | 478 public void updatePose(SessionHandle sessionHandle, PersistableBundle params) { in updatePose() 622 SessionHandle sessionHandle, int sessionId, byte sessionType, String protocolName, in initSession() 730 UwbSession createUwbSession(AttributionSource attributionSource, SessionHandle sessionHandle, in createUwbSession() 737 public synchronized void deInitSession(SessionHandle sessionHandle) { in deInitSession() 754 private synchronized boolean deInitDueToLowPriority(SessionHandle sessionHandle) { in deInitDueToLowPriority() 769 public synchronized void startRanging(SessionHandle sessionHandle, @Nullable Params params) { in startRanging() 817 private synchronized void stopRangingInternal(SessionHandle sessionHandle, in stopRangingInternal() 844 public synchronized void stopRanging(SessionHandle sessionHandle) { in stopRanging() 866 private UwbSession getUwbSession(SessionHandle sessionHandle) { in getUwbSession() 875 public Integer getSessionId(SessionHandle sessionHandle) { in getSessionId() [all …]
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbServiceCoreTest.java | 566 SessionHandle sessionHandle = mock(SessionHandle.class); in testEnableWithCountryCode_statusRegulationUwbOff() local 656 SessionHandle sessionHandle = mock(SessionHandle.class); in testEnableWithCountryCode_statusFailed() local 1068 SessionHandle sessionHandle = mock(SessionHandle.class); in testOpenFiraRanging() local 1096 SessionHandle sessionHandle = mock(SessionHandle.class); in testOpenAliroRanging() local 1115 SessionHandle sessionHandle = mock(SessionHandle.class); in testOpenCccRanging() local 1134 SessionHandle sessionHandle = mock(SessionHandle.class); in testOpenRadarSession() local 1151 SessionHandle sessionHandle = mock(SessionHandle.class); in testOpenAliroRangingWhenUwbDisabled() local 1173 SessionHandle sessionHandle = mock(SessionHandle.class); in testOpenCccRangingWhenUwbDisabled() local 1197 SessionHandle sessionHandle = mock(SessionHandle.class); in testStartAliroRanging() local 1213 SessionHandle sessionHandle = mock(SessionHandle.class); in testStartCccRanging() local [all …]
|
D | UwbServiceImplTest.java | 265 final SessionHandle sessionHandle = mock(SessionHandle.class); in testOpenRanging_nullChipId() local 282 final SessionHandle sessionHandle = mock(SessionHandle.class); in testStartRanging() local 292 final SessionHandle sessionHandle = mock(SessionHandle.class); in testReconfigureRanging() local 307 final SessionHandle sessionHandle = mock(SessionHandle.class); in testStopRanging() local 316 final SessionHandle sessionHandle = mock(SessionHandle.class); in testCloseRanging() local 352 final SessionHandle sessionHandle = mock(SessionHandle.class); in testThrowSecurityExceptionWhenOpenRangingCalledWithoutUwbRangingPermission() local 683 final SessionHandle sessionHandle = mock(SessionHandle.class); in testAddControlee() local 692 final SessionHandle sessionHandle = mock(SessionHandle.class); in testRemoveControlee() local 805 final SessionHandle sessionHandle = mock(SessionHandle.class); in testResume() local 813 final SessionHandle sessionHandle = mock(SessionHandle.class); in testPause() local [all …]
|
D | UwbShellCommandTest.java | 257 String[] sessionStopCmd, IUwbRangingCallbacks cb, SessionHandle sessionHandle) in triggerAndVerifySessionStop()
|
D | UwbSessionManagerTest.java | 3639 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in sendData_invalidUwbSessionHandle() local
|
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/ |
D | ProfileManager.java | 113 public boolean hasSession(SessionHandle sessionHandle) { in hasSession() 345 public void activateProfile(AttributionSource attributionSource, SessionHandle sessionHandle, in activateProfile() 378 public void startRanging(SessionHandle sessionHandle) { in startRanging() 389 public void stopRanging(SessionHandle sessionHandle) { in stopRanging() 400 public void closeRanging(SessionHandle sessionHandle) { in closeRanging()
|
D | RangingSessionController.java | 89 public RangingSessionController(SessionHandle sessionHandle, in RangingSessionController() 225 public SessionInfo(AttributionSource attributionSource, SessionHandle sessionHandle, in SessionInfo()
|
D | PacsControllerSession.java | 63 SessionHandle sessionHandle, in PacsControllerSession()
|
D | PacsControleeSession.java | 67 SessionHandle sessionHandle, in PacsControleeSession()
|
/packages/modules/Uwb/framework/tests/src/android/uwb/ |
D | RangingSessionTest.java | 583 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testSetHybridSessionControllerConfiguration_NotOpenSession_ThrowsException() local 601 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testSetHybridSessionControllerConfiguration_OpenSession_Success() local 629 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnHybridSessionControllerConfigured_WhenSessionOpened_CallbackMethodCalled() local 650 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnHybridSessionControllerConfigurationFailed_WhenSessionOpenedCallbackCalled() local 670 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testSetHybridSessionControleeConfiguration_WhenSessionNotOpen_ThrowsException() local 688 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testSetHybridSessionControleeConfiguration_OpenSession_Success() local 716 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnHybridSessionControleeConfigured_WhenSessionOpened_CallbackMethodCalled() local 737 SessionHandle sessionHandle = new SessionHandle(HANDLE_ID, ATTRIBUTION_SOURCE, PID); in testOnHybridSessionControleeConfigurationFailed_WhenSessionOpenedCallbackCalled() local
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/ |
D | PacsControleeSessionTest.java | 132 SessionHandle sessionHandle = mock(SessionHandle.class); in setUp() local
|
D | PacsControllerSessionTest.java | 134 SessionHandle sessionHandle = mock(SessionHandle.class); in setUp() local
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraHybridSessionControleeConfig.java | 162 public FiraHybridSessionPhaseList(int sessionHandle, byte phaseParticipation) { in FiraHybridSessionPhaseList()
|
D | FiraHybridSessionControllerConfig.java | 218 public FiraHybridSessionPhaseList(int sessionHandle, in FiraHybridSessionPhaseList()
|