Searched refs:SessionHandle (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/uwb/ |
D | SessionHandle.java | 27 public final class SessionHandle implements Parcelable { class 30 public SessionHandle(int id) { in SessionHandle() method in SessionHandle 34 protected SessionHandle(Parcel in) { in SessionHandle() method in SessionHandle 38 public static final Creator<SessionHandle> CREATOR = new Creator<SessionHandle>() { 40 public SessionHandle createFromParcel(Parcel in) { 41 return new SessionHandle(in); 45 public SessionHandle[] newArray(int size) { 46 return new SessionHandle[size]; 70 if (obj instanceof SessionHandle) { in equals() 71 SessionHandle other = (SessionHandle) obj; in equals()
|
D | IUwbRangingCallbacks.aidl | 22 import android.uwb.SessionHandle; 33 void onRangingOpened(in SessionHandle sessionHandle); in onRangingOpened() 42 void onRangingOpenFailed(in SessionHandle sessionHandle, in onRangingOpenFailed() 57 void onRangingStarted(in SessionHandle sessionHandle, in onRangingStarted() 67 void onRangingStartFailed(in SessionHandle sessionHandle, in onRangingStartFailed() 77 void onRangingReconfigured(in SessionHandle sessionHandle, in onRangingReconfigured() 87 void onRangingReconfigureFailed(in SessionHandle sessionHandle, in onRangingReconfigureFailed() 99 void onRangingStopped(in SessionHandle sessionHandle, in onRangingStopped() 110 void onRangingStopFailed(in SessionHandle sessionHandle, in onRangingStopFailed() 121 void onRangingClosed(in SessionHandle sessionHandle, in onRangingClosed() [all …]
|
D | RangingManager.java | 36 private final Hashtable<SessionHandle, RangingSession> mRangingSessionTable = new Hashtable<>(); 61 SessionHandle sessionHandle = new SessionHandle(mNextSessionId++); in openSession() 77 private boolean hasSession(SessionHandle sessionHandle) { in hasSession() 82 public void onRangingOpened(SessionHandle sessionHandle) { in onRangingOpened() 96 public void onRangingOpenFailed(SessionHandle sessionHandle, @RangingChangeReason int reason, in onRangingOpenFailed() 113 public void onRangingReconfigured(SessionHandle sessionHandle, PersistableBundle parameters) { in onRangingReconfigured() 128 public void onRangingReconfigureFailed(SessionHandle sessionHandle, in onRangingReconfigureFailed() 144 public void onRangingStarted(SessionHandle sessionHandle, PersistableBundle parameters) { in onRangingStarted() 158 public void onRangingStartFailed(SessionHandle sessionHandle, @RangingChangeReason int reason, in onRangingStartFailed() 173 public void onRangingStopped(SessionHandle sessionHandle, @RangingChangeReason int reason, in onRangingStopped() [all …]
|
D | IUwbAdapter.aidl | 23 import android.uwb.SessionHandle; 87 in SessionHandle sessionHandle, in openRanging() 105 void startRanging(in SessionHandle sessionHandle, in startRanging() 122 void reconfigureRanging(in SessionHandle sessionHandle, in reconfigureRanging() 136 void stopRanging(in SessionHandle sessionHandle); in stopRanging() 149 void closeRanging(in SessionHandle sessionHandle); in closeRanging()
|
D | SessionHandle.aidl | 19 parcelable SessionHandle;
|
D | RangingSession.java | 51 private final SessionHandle mSessionHandle; 229 SessionHandle sessionHandle) { in RangingSession()
|
/frameworks/base/services/uwb/java/com/android/server/uwb/ |
D | UwbServiceImpl.java | 33 import android.uwb.SessionHandle; 51 private final Map<SessionHandle, UwbRangingCallbacksWrapper> mCallbacksMap = new ArrayMap<>(); 67 private final SessionHandle mSessionHandle; 72 @NonNull SessionHandle sessionHandle, in UwbRangingCallbacksWrapper() 104 public synchronized void onRangingOpened(SessionHandle sessionHandle) in onRangingOpened() 111 public synchronized void onRangingOpenFailed(SessionHandle sessionHandle, in onRangingOpenFailed() 118 public synchronized void onRangingStarted(SessionHandle sessionHandle, in onRangingStarted() 126 public synchronized void onRangingStartFailed(SessionHandle sessionHandle, in onRangingStartFailed() 133 public synchronized void onRangingReconfigured(SessionHandle sessionHandle, in onRangingReconfigured() 141 public synchronized void onRangingReconfigureFailed(SessionHandle sessionHandle, in onRangingReconfigureFailed() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/uwb/ |
D | UwbServiceImplTest.java | 46 import android.uwb.SessionHandle; 136 final SessionHandle sessionHandle = new SessionHandle(5); in testOpenRanging() 152 final SessionHandle sessionHandle = new SessionHandle(5); in testStartRanging() 162 final SessionHandle sessionHandle = new SessionHandle(5); in testReconfigureRanging() 172 final SessionHandle sessionHandle = new SessionHandle(5); in testStopRanging() 181 final SessionHandle sessionHandle = new SessionHandle(5); in testCloseRanging() 190 final SessionHandle sessionHandle = new SessionHandle(5); in testRangingCallbacks() 251 final SessionHandle sessionHandle = new SessionHandle(5); in testHandleClientDeath() 285 final SessionHandle sessionHandle = new SessionHandle(5); in testHandleVendorServiceDeath() 332 final SessionHandle sessionHandle = new SessionHandle(5); in testThrowSecurityExceptionWhenOpenRangingCalledWithoutUwbRangingPermission() [all …]
|
/frameworks/base/core/tests/uwbtests/src/android/uwb/ |
D | RangingManagerTest.java | 70 rangingManager.onRangingOpened(new SessionHandle(2)); in testOnRangingOpened_InvalidSessionHandle() 79 ArgumentCaptor<SessionHandle> sessionHandleCaptor = in testOnRangingOpened_MultipleSessionsRegistered() 80 ArgumentCaptor.forClass(SessionHandle.class); in testOnRangingOpened_MultipleSessionsRegistered() 86 SessionHandle sessionHandle1 = sessionHandleCaptor.getValue(); in testOnRangingOpened_MultipleSessionsRegistered() 91 SessionHandle sessionHandle2 = sessionHandleCaptor.getValue(); in testOnRangingOpened_MultipleSessionsRegistered() 108 ArgumentCaptor<SessionHandle> sessionHandleCaptor = in testCorrectCallbackInvoked() 109 ArgumentCaptor.forClass(SessionHandle.class); in testCorrectCallbackInvoked() 114 SessionHandle handle = sessionHandleCaptor.getValue(); in testCorrectCallbackInvoked() 154 ArgumentCaptor<SessionHandle> sessionHandleCaptor = in testOnRangingClosed_MultipleSessionsRegistered() 155 ArgumentCaptor.forClass(SessionHandle.class); in testOnRangingClosed_MultipleSessionsRegistered() [all …]
|