Home
last modified time | relevance | path

Searched refs:FiRaSecureChannel (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/
DInitiatorSecureChannelTest.java19 import static com.android.server.uwb.secure.FiRaSecureChannel.CMD_INITIATE_TRANSACTION;
20 import static com.android.server.uwb.secure.FiRaSecureChannel.CMD_OPEN_CHANNEL;
21 import static com.android.server.uwb.secure.FiRaSecureChannel.CMD_SELECT_ADF;
22 import static com.android.server.uwb.secure.FiRaSecureChannel.CMD_SEND_OOB_DATA;
78 FiRaSecureChannel.SecureChannelCallback mSecureChannelCallback;
109 .isEqualTo(FiRaSecureChannel.Status.INITIALIZED); in init()
128 FiRaSecureChannel.Status.CHANNEL_OPENED); in openChannelGeneralSuccess()
140 FiRaSecureChannel.Status.INITIALIZED); in openChannelGeneralFailed()
142 .onSetUpError(eq(FiRaSecureChannel.SetupError.OPEN_SE_CHANNEL)); in openChannelGeneralFailed()
165 .isEqualTo(FiRaSecureChannel.Status.CHANNEL_OPENED); in openChannelSwapInAdfSuccess()
[all …]
DResponderSecureChannelTest.java19 import static com.android.server.uwb.secure.FiRaSecureChannel.CMD_SEND_OOB_DATA;
67 FiRaSecureChannel.SecureChannelCallback mSecureChannelCallback;
98 .isEqualTo(FiRaSecureChannel.Status.INITIALIZED); in init()
117 FiRaSecureChannel.Status.CHANNEL_OPENED); in openChannelSuccess()
147 FiRaSecureChannel.Status.ADF_SELECTED); in remoteSelectAdfWithMatchedAdfOid()
176 FiRaSecureChannel.Status.CHANNEL_OPENED); in remoteSelectAdfWithMismatchedAdfOid()
178 .onSetUpError(eq(FiRaSecureChannel.SetupError.ADF_NOT_MATCHED)); in remoteSelectAdfWithMismatchedAdfOid()
193 FiRaSecureChannel.Status.INITIALIZED); in openChannelFail()
196 .onSetUpError(eq(FiRaSecureChannel.SetupError.OPEN_SE_CHANNEL)); in openChannelFail()
211 FiRaSecureChannel.Status.INITIALIZED); in openChannelWithException()
[all …]
DControleeInitiatorSessionTest.java55 private FiRaSecureChannel mFiRaSecureChannel;
61 private ArgumentCaptor<FiRaSecureChannel.SecureChannelCallback> mSecureChannelCallbackCaptor;
88 .onSetUpError(FiRaSecureChannel.SetupError.OPEN_SE_CHANNEL); in onSetupError()
103 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> externalRequestCallbackCaptor = in putControleeInfo()
104 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in putControleeInfo()
149 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> externalRequestCallbackCaptor = in onSecureChannelEstablishedPutControleeInfoFail()
150 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in onSecureChannelEstablishedPutControleeInfoFail()
172 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> externalRequestCallbackCaptor = in getControleeSessionData()
173 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in getControleeSessionData()
242 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> cbCaptor = in successToGetSessionDataFromLocalAppletAsRdsAvailable()
[all …]
DControllerInitiatorSessionTest.java53 private FiRaSecureChannel mFiRaSecureChannel;
58 private ArgumentCaptor<FiRaSecureChannel.SecureChannelCallback> mSecureChannelCallbackCaptor;
81 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> externalRequestCallbackCaptor = in getControleeInfo()
82 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in getControleeInfo()
126 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> externalRequestCallbackCaptor = in onSecureChannelEstablishedGetControleeInfoFail()
127 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in onSecureChannelEstablishedGetControleeInfoFail()
168 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> externalRequestCallbackCaptor = in doGetControleeInfoResponse()
169 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in doGetControleeInfoResponse()
217 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> localExternalRequestCbCaptor = in putControleeSessionDataSuccessResponseWithoutNotification()
218 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in putControleeSessionDataSuccessResponseWithoutNotification()
[all …]
DControleeResponderSessionTest.java49 private FiRaSecureChannel mFiRaSecureChannel;
56 private ArgumentCaptor<FiRaSecureChannel.SecureChannelCallback> mSecureChannelCallbackCaptor;
86 .onSetUpError(FiRaSecureChannel.SetupError.OPEN_SE_CHANNEL); in onSetupError()
103 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> cbCaptor = in onSessionEstablishedPutControleeInfoFail()
104 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in onSessionEstablishedPutControleeInfoFail()
186 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> externalRequestCbCaptor = in rdsAvailableNotificationWithSessionDataInApplet()
187 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in rdsAvailableNotificationWithSessionDataInApplet()
206 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> externalRequestCbCaptor = in failedToGetSessionDataFromApplet()
207 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in failedToGetSessionDataFromApplet()
DControllerResponderSessionTest.java52 private FiRaSecureChannel mFiRaSecureChannel;
57 private ArgumentCaptor<FiRaSecureChannel.SecureChannelCallback> mSecureChannelCallbackCaptor;
83 .onSetUpError(FiRaSecureChannel.SetupError.OPEN_SE_CHANNEL); in onSetupError()
161 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> cbCaptor = in controleeInfoAvailableNotificationContainsDataSendLocalSessionDataFailed()
162 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in controleeInfoAvailableNotificationContainsDataSendLocalSessionDataFailed()
182 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> getDoCbCaptor = in controleeInfoAvailableNotificationDataInApplet()
183 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in controleeInfoAvailableNotificationDataInApplet()
218 ArgumentCaptor<FiRaSecureChannel.ExternalRequestCallback> getDoCbCaptor = in controleeInfoAvailableNotificationFailedToGetDataInApplet()
219 ArgumentCaptor.forClass(FiRaSecureChannel.ExternalRequestCallback.class); in controleeInfoAvailableNotificationFailedToGetDataInApplet()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/
DSecureSession.java40 protected final FiRaSecureChannel mFiRaSecureChannel;
53 private final FiRaSecureChannel.SecureChannelCallback mSecureChannelCallback =
54 new FiRaSecureChannel.SecureChannelCallback() {
67 public void onSetUpError(FiRaSecureChannel.SetupError error) {
104 @NonNull FiRaSecureChannel fiRaSecureChannel, in SecureSession()
DControleeResponderSession.java46 @NonNull FiRaSecureChannel fiRaSecureChannel, in ControleeResponderSession()
61 new FiRaSecureChannel.ExternalRequestCallback() { in handleFiRaSecureChannelEstablished()
111 new FiRaSecureChannel.ExternalRequestCallback() { in onDispatchResponseReceived()
DInitiatorSession.java52 @NonNull FiRaSecureChannel fiRaSecureChannel, in InitiatorSession()
128 new FiRaSecureChannel.ExternalRequestCallback() { in terminateRemoteSession()
145 new FiRaSecureChannel.ExternalRequestCallback() { in tunnelData()
DControllerResponderSession.java47 @NonNull FiRaSecureChannel fiRaSecureChannel, in ControllerResponderSession()
97 new FiRaSecureChannel.ExternalRequestCallback() { in handleControleeInfoAvailable()
136 new FiRaSecureChannel.ExternalRequestCallback() { in generateAndPutSessionDataToApplet()
DSecureFactory.java48 FiRaSecureChannel fiRaSecureChannel = in makeInitiatorSecureSession()
79 FiRaSecureChannel fiRaSecureChannel = in makeResponderSecureSession()
DControleeInitiatorSession.java50 @NonNull FiRaSecureChannel fiRaSecureChannel, in ControleeInitiatorSession()
161 new FiRaSecureChannel.ExternalRequestCallback() { in handleGetSessionDataResponse()
189 new FiRaSecureChannel.ExternalRequestCallback() { in handleGetSessionDataResponse()
DControllerInitiatorSession.java47 @NonNull FiRaSecureChannel fiRaSecureChannel, in ControllerInitiatorSession()
179 new FiRaSecureChannel.ExternalRequestCallback() { in handleTunnelPutSessionDataResponse()
DResponderSession.java40 @NonNull FiRaSecureChannel fiRaSecureChannel, in ResponderSession()
DResponderSecureChannel.java36 class ResponderSecureChannel extends FiRaSecureChannel {
DFiRaSecureChannel.java62 public abstract class FiRaSecureChannel { class
105 FiRaSecureChannel( in FiRaSecureChannel() method in FiRaSecureChannel
DInitiatorSecureChannel.java39 class InitiatorSecureChannel extends FiRaSecureChannel {