Home
last modified time | relevance | path

Searched refs:fromStatusWord (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/secure/iso7816/
DResponseApdu.java52 ResponseApdu.fromStatusWord(SW_CONDITIONS_NOT_SATISFIED);
55 ResponseApdu.fromStatusWord(SW_INCORRECT_P1P2);
58 ResponseApdu.fromStatusWord(SW_FILE_NOT_FOUND);
61 ResponseApdu.fromStatusWord(SW_WRONG_P1P2);
64 ResponseApdu.fromStatusWord(SW_WRONG_LE);
67 ResponseApdu.fromStatusWord(SW_WRONG_DATA);
70 ResponseApdu.fromStatusWord(SW_WRONG_LENGTH);
73 ResponseApdu.fromStatusWord(SW_CLA_NOT_SUPPORTED);
76 ResponseApdu.fromStatusWord(SW_INS_NOT_SUPPORTED);
79 ResponseApdu.fromStatusWord(SW_FILE_NOT_FOUND);
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/
DSecureElementChannelTest.java110 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_CONDITIONS_NOT_SATISFIED)) in openChannel_swTemporarilyUnavailableOnFirstTwoAttempts_succeedsOnThirdTry()
111 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_CONDITIONS_NOT_SATISFIED)) in openChannel_swTemporarilyUnavailableOnFirstTwoAttempts_succeedsOnThirdTry()
112 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR)); in openChannel_swTemporarilyUnavailableOnFirstTwoAttempts_succeedsOnThirdTry()
125 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_CONDITIONS_NOT_SATISFIED)) in openChannel_swTemporarilyUnavailableAndNoSpecificDiagnostic_succeedsOnThirdTry()
126 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_NO_SPECIFIC_DIAGNOSTIC)) in openChannel_swTemporarilyUnavailableAndNoSpecificDiagnostic_succeedsOnThirdTry()
127 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR)); in openChannel_swTemporarilyUnavailableAndNoSpecificDiagnostic_succeedsOnThirdTry()
142 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_CONDITIONS_NOT_SATISFIED)) in transmit_swTemporarilyUnavailableOnFirstTwoAttempts_succeedsOnThirdTry()
143 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_CONDITIONS_NOT_SATISFIED)) in transmit_swTemporarilyUnavailableOnFirstTwoAttempts_succeedsOnThirdTry()
157 ResponseApdu.fromStatusWord(StatusWord.SW_CONDITIONS_NOT_SATISFIED); in openChannel_retriesExhausted_failure()
192 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_CONDITIONS_NOT_SATISFIED)); in transmit_retriesExhausted_failure()
[all …]
DInitiatorSecureChannelTest.java182 ResponseApdu.fromStatusWord(StatusWord.SW_WARNING_STATE_UNCHANGED)); in openChannelSwapInAdfFailed()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/omapi/
DOmapiConnectionImplTest.java77 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR).toByteArray()); in openChannel()
80 assertThat(selectResponse).isEqualTo(ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR)); in openChannel()
95 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR).toByteArray()); in openChannel2Times()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DPutDoResponseTest.java29 ResponseApdu responseApdu = ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR); in successResponse()
38 ResponseApdu.fromStatusWord(StatusWord.SW_WARNING_STATE_UNCHANGED); in errorResponse()
DSwapOutAdfResponseTest.java29 ResponseApdu responseApdu = ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR); in successResponse()
38 ResponseApdu.fromStatusWord(StatusWord.SW_DATA_NOT_FOUND); in errorResponse()
DSelectAdfResponseTest.java29 ResponseApdu responseApdu = ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR); in successResponse()
38 ResponseApdu.fromStatusWord(StatusWord.SW_WARNING_STATE_UNCHANGED); in errorResponse()
DDeleteAdfResponseTest.java29 ResponseApdu responseApdu = ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR); in successResponse()
38 ResponseApdu.fromStatusWord(StatusWord.SW_WARNING_STATE_UNCHANGED); in errorResponse()
DGetLocalDataResponseTest.java44 ResponseApdu.fromStatusWord(StatusWord.SW_WARNING_STATE_UNCHANGED); in errorResponse()
DGetDoResponseTest.java44 ResponseApdu.fromStatusWord(StatusWord.SW_WARNING_STATE_UNCHANGED); in errorResponse()
DSwapInAdfResponseTest.java44 ResponseApdu responseApdu = ResponseApdu.fromStatusWord( in wrongStatusWord()
DTunnelResponseTest.java45 ResponseApdu responseApdu = ResponseApdu.fromStatusWord( in wrongStatusWord()
DInitiateTransactionResponseTest.java50 ResponseApdu responseApdu = ResponseApdu.fromStatusWord( in wrongStatusWord()
DDispatchResponseTest.java211 ResponseApdu.fromStatusWord(StatusWord.SW_CONDITIONS_NOT_SATISFIED); in wrongStatusWord()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/provisioning/
DProvisioningManagerTest.java75 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR)); in deleteAdfSuccess()
87 .thenReturn(ResponseApdu.fromStatusWord(StatusWord.SW_COMMAND_NOT_ALLOWED)); in deleteAdfFail()
DScriptRunnerTest.java205 ResponseApdu.fromStatusWord(StatusWord.SW_COMMAND_NOT_ALLOWED)); in failedProvisioning()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/
DSecureElementChannel.java99 ResponseApdu responseApdu = ResponseApdu.fromStatusWord(SW_TEMPORARILY_UNAVAILABLE); in openChannelWithResponse()
163 ResponseApdu responseApdu = ResponseApdu.fromStatusWord(SW_TEMPORARILY_UNAVAILABLE); in transmit()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/iso7816/
DResponseApduTest.java30 ResponseApdu response = ResponseApdu.fromStatusWord(StatusWord.SW_NO_ERROR); in generateResponseFromStatusWord()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/omapi/
DOmapiConnectionImpl.java167 return ResponseApdu.fromStatusWord(SW_NO_SPECIFIC_DIAGNOSTIC); in openChannel()