Home
last modified time | relevance | path

Searched refs:defaultSessionId (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DDispatchResponse.java120 public final Optional<Integer> defaultSessionId; field in DispatchResponse.SecureChannelEstablishedNotification
122 private SecureChannelEstablishedNotification(Optional<Integer> defaultSessionId) { in SecureChannelEstablishedNotification() argument
125 this.defaultSessionId = defaultSessionId; in SecureChannelEstablishedNotification()
298 Optional<Integer> defaultSessionId = Optional.empty(); in parseNotification() local
310 defaultSessionId = Optional.of( in parseNotification()
315 new SecureChannelEstablishedNotification(defaultSessionId)); in parseNotification()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/
DFiRaSecureChannel.java324 + eNotification.defaultSessionId); in handleDispatchResponseForSc()
325 Optional<Integer> defaultSessionId = Optional.empty(); in handleDispatchResponseForSc() local
326 if (eNotification.defaultSessionId.isEmpty()) { in handleDispatchResponseForSc()
327 defaultSessionId = readDefaultSessionId(); in handleDispatchResponseForSc()
329 mSecureChannelCallback.onEstablished(defaultSessionId); in handleDispatchResponseForSc()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DDispatchResponseTest.java150 assertThat(eNotification.defaultSessionId.isEmpty()).isTrue(); in validResponseWithSecureSessionEstablishedNotification()
177 assertThat(eNotification.defaultSessionId.get()).isEqualTo(1); in validResponseWithSecureSessionEstablishedNotificationAndValidSessionId()