Home
last modified time | relevance | path

Searched refs:fromDataAndStatusWord (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DDispatchResponseTest.java37 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseWithTransactionSuccess()
50 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseWithTransactionError()
68 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseWithOutboundDataToRemote()
88 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseWithOutboundDataToHost()
113 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseWithAdfSelectedNotification()
139 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseWithSecureSessionEstablishedNotification()
166 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseWithSecureSessionEstablishedNotificationAndValidSessionId()
193 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseWithRdsAvailableNotification()
DInitiateTransactionResponseTest.java39 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(responseTlv.toBytes(), in validResponse()
66 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(responseTlv.toBytes(), in wrongTopTag()
82 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(responseTlv.toBytes(), in wrongStatusValue()
96 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(responseTlv.toBytes(), in emptyOutboundData()
DTunnelResponseTest.java34 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseData()
58 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in wrongTopTag()
71 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in wrongDataTag()
DSwapInAdfResponseTest.java33 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in validResponseData()
56 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in wrongDataTag()
DGetLocalDataResponseTest.java30 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in successResponse()
DGetDoResponseTest.java30 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in successResponse()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/
DControleeInitiatorSessionTest.java167 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in getControleeSessionData()
199 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in putControleeInfoErrorResponse()
217 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in getControleeSessionDataSuccessResponseWithRdsAvailable()
236 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in successToGetSessionDataFromLocalAppletAsRdsAvailable()
266 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in failToGetSessionDataFromLocalAppletAsRdsAvailable()
289 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in getControleeSessionDataSuccessResponseWithoutRdsAvailable()
318 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in failedPutSessionDataToLocalApplet()
341 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in getControleeSessionDataResponseWithTargetRemoteData()
358 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in getControleeSessionDataRetry()
378 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in abortSessionNotification()
DControllerResponderSessionTest.java109 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in abortSessionNotification()
124 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in controleeInfoAvailableNotificationContainsData()
142 ResponseApdu rdsResponseApdu = ResponseApdu.fromDataAndStatusWord(rdsData, 0x9000); in controleeInfoAvailableNotificationContainsData()
156 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in controleeInfoAvailableNotificationContainsDataSendLocalSessionDataFailed()
176 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in controleeInfoAvailableNotificationDataInApplet()
213 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in controleeInfoAvailableNotificationFailedToGetDataInApplet()
233 ResponseApdu rdsResponseApdu = ResponseApdu.fromDataAndStatusWord(rdsData, 0x9000); in rdsAvailableButNoSessionData()
DControleeResponderSessionTest.java140 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in abortSessionNotification()
153 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(new byte[0], 0x9032); in abortSessionWithWrongDispatchResponseStatusWord()
168 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in rdsAvailableNotificationWithSessionData()
181 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in rdsAvailableNotificationWithSessionDataInApplet()
201 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in failedToGetSessionDataFromApplet()
220 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in outboundDataToRemote()
DControllerInitiatorSessionTest.java145 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in getControleeInfoErrorResponse()
163 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in doGetControleeInfoResponse()
195 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in putControleeSessionDataSuccessResponseWithNotification()
210 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in putControleeSessionDataSuccessResponseWithoutNotification()
241 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in failToPutSessionDataToLocalFiRaApplet()
271 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in putControleeSessionDataResponseDataWrongResponseFromRemote()
286 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord(data, 0x9000); in abortSessionNotification()
DInitiatorSecureChannelTest.java241 return ResponseApdu.fromDataAndStatusWord(responseTlv.toBytes(), in constructSuccessInitiateTransactionResponse()
339 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in doEstablishSC()
350 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in doEstablishSCWithDefaultSessionId()
354 ResponseApdu sessionIdResponseApdu = ResponseApdu.fromDataAndStatusWord( in doEstablishSCWithDefaultSessionId()
387 ResponseApdu responseApdu = ResponseApdu.fromDataAndStatusWord( in receiveResponseOfAutoTerminatedAndRdsAvailable()
597 .thenReturn(ResponseApdu.fromDataAndStatusWord( in tunnelToRemoteDeviceSuccess()
DResponderSecureChannelTest.java141 .thenReturn(ResponseApdu.fromDataAndStatusWord( in remoteSelectAdfWithMatchedAdfOid()
170 .thenReturn(ResponseApdu.fromDataAndStatusWord( in remoteSelectAdfWithMismatchedAdfOid()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/iso7816/
DResponseApdu.java126 public static ResponseApdu fromDataAndStatusWord(byte[] data, int sw) { in fromDataAndStatusWord() method in ResponseApdu
135 public static ResponseApdu fromDataAndStatusWord(List<TlvDatum> data, int sw) { in fromDataAndStatusWord() method in ResponseApdu
140 return fromDataAndStatusWord(dataBytes, sw); in fromDataAndStatusWord()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/provisioning/
DScriptRunnerTest.java78 ResponseApdu.fromDataAndStatusWord( in successSetup()
138 ResponseApdu.fromDataAndStatusWord( in importAdfSuccess()