Searched refs:openChannel (Results 1 – 11 of 11) sorted by relevance
77 when(mMockOmapiConnection.openChannel()).thenReturn(ResponseApdu.SW_SUCCESS_APDU); in openChannel_getsSuccessResponse_success()79 boolean result = mSecureElementChannel.openChannel(); in openChannel_getsSuccessResponse_success()81 verify(mMockOmapiConnection).openChannel(); in openChannel_getsSuccessResponse_success()87 when(mMockOmapiConnection.openChannel()).thenReturn(ResponseApdu.SW_UNKNOWN_APDU); in openChannel_getsErrorResponse_returnsFalse()89 boolean result = mSecureElementChannel.openChannel(); in openChannel_getsErrorResponse_returnsFalse()91 verify(mMockOmapiConnection).openChannel(); in openChannel_getsErrorResponse_returnsFalse()97 doThrow(new IOException()).when(mMockOmapiConnection).openChannel(); in openChannel_getsException_returnsFalse()99 boolean result = mSecureElementChannel.openChannel(); in openChannel_getsException_returnsFalse()101 verify(mMockOmapiConnection).openChannel(); in openChannel_getsException_returnsFalse()109 when(mMockOmapiConnection.openChannel()) in openChannel_swTemporarilyUnavailableOnFirstTwoAttempts_succeedsOnThirdTry()[all …]
114 when(mSecureElementChannel.openChannel()).thenReturn(true); in doOpenChannel()135 when(mSecureElementChannel.openChannel()).thenReturn(false); in openChannelGeneralFailed()157 when(mSecureElementChannel.openChannel()).thenReturn(true); in openChannelSwapInAdfSuccess()180 when(mSecureElementChannel.openChannel()).thenReturn(true); in openChannelSwapInAdfFailed()
75 public void openChannel() throws IOException { in openChannel() method in OmapiConnectionImplTest78 ResponseApdu selectResponse = mOmapiConnection.openChannel(); in openChannel()89 mOmapiConnection.openChannel(); in openChannelWithNullResponse()97 mOmapiConnection.openChannel(); in openChannel2Times()98 ResponseApdu responseApdu = mOmapiConnection.openChannel(); in openChannel2Times()
73 when(mSecureElementChannel.openChannel()).thenReturn(true); in deleteAdfSuccess()85 when(mSecureElementChannel.openChannel()).thenReturn(true); in deleteAdfFail()97 when(mSecureElementChannel.openChannel()).thenReturn(true); in deleteAdfWithException()
76 when(mSecureElementChannel.openChannel()).thenReturn(true); in successSetup()203 when(mSecureElementChannel.openChannel()).thenReturn(true); in failedProvisioning()215 when(mSecureElementChannel.openChannel()).thenReturn(true); in failedProvisioningWithException()
80 public boolean openChannel() { in openChannel() method in SecureElementChannel101 responseApdu = mOmapiConnection.openChannel(); in openChannelWithResponse()
59 if (mSecureElementChannel.openChannel()) { in handleScMessage()
163 public ResponseApdu openChannel() throws IOException { in openChannel() method in OmapiConnectionImpl238 ResponseApdu selectResponse = openChannel(); in checkFiRaAppletPresence()
42 ResponseApdu openChannel() throws IOException; in openChannel() method
71 if (!mSecureElementChannel.openChannel()) { in deleteAdf()
53 if (!mSecureElementChannel.openChannel()) { in run()