Home
last modified time | relevance | path

Searched refs:mMockCi (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java78 private CommandsInterface mMockCi; field in ApduSenderTest
95 mSender = new ApduSender(mMockCi, AID, false /* supportExtendedApdu */); in setUp()
101 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "A1A1A19000"); in testSendEmptyCommands()
102 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); in testSendEmptyCommands()
111 verify(mMockCi).iccOpenLogicalChannel(eq(AID), anyInt(), any()); in testSendEmptyCommands()
112 verify(mMockCi).iccCloseLogicalChannel(eq(channel), any()); in testSendEmptyCommands()
117 LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, in testOpenChannelErrorStatus()
127 verify(mMockCi).iccOpenLogicalChannel(eq(AID), anyInt(), any()); in testOpenChannelErrorStatus()
132 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); in testSend()
133 LogicalChannelMocker.mockSendToLogicalChannel(mMockCi, channel, "A1A1A19000"); in testSend()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneConfigurationManagerTest.java54 CommandsInterface mMockCi; field in PhoneConfigurationManagerTest
64 mPhone.mCi = mMockCi; in setUp()
65 mCT.mCi = mMockCi; in setUp()
108 verify(mMockCi).enableModem(eq(false), eq(message)); in testEnablePhone()
186 verify(mMockCi).onSlotActiveStatusChange(true); in testSwitchMultiSimConfig_dsdsCapable_noRebootRequired()
DGsmCdmaPhoneTest.java104 private CommandsInterface mMockCi; field in GsmCdmaPhoneTest
1223 mPhoneUT.mCi = mMockCi; in testEnableUiccApplications()
1226 verify(mMockCi, never()).enableUiccApplications(anyBoolean(), any()); in testEnableUiccApplications()
1232 verify(mMockCi, never()).enableUiccApplications(anyBoolean(), any()); in testEnableUiccApplications()
1237 verify(mMockCi).enableUiccApplications(eq(true), eq(message)); in testEnableUiccApplications()
1243 mPhoneUT.mCi = mMockCi; in testReapplyUiccApplicationEnablementNotNeeded()
1266 verify(mMockCi, never()).enableUiccApplications(anyBoolean(), any()); in testReapplyUiccApplicationEnablementNotNeeded()
1272 mPhoneUT.mCi = mMockCi; in testReapplyUiccApplicationEnablementSuccess()
1284 verify(mMockCi, times(1)).enableUiccApplications(eq(true), messageCaptor.capture()); in testReapplyUiccApplicationEnablementSuccess()
1293 verify(mMockCi, times(1)).enableUiccApplications(eq(true), any()); in testReapplyUiccApplicationEnablementSuccess()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java96 private CommandsInterface mMockCi; field in EuiccCardTest
118 new EuiccCard(mContext, mMockCi, mMockIccCardStatus, in setUp()
153 mEuiccCard = new EuiccCard(mContextFixture.getTestDouble(), mMockCi, in testPassEidInConstructor()
174 mEuiccCard = new EuiccCard(mContextFixture.getTestDouble(), mMockCi, in testLoadEidAndNotifyRegistrants()
853 verify(mMockCi, never()) in testLoadBoundProfilePackage_NoProfileElements()
886 verify(mMockCi, never()) in testLoadBoundProfilePackage_UnrecognizedTag()
1145 verify(mMockCi, times(1)) in verifyStoreData()
1151 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, in mockLogicalChannelResponses()
1153 LogicalChannelMocker.mockSendToLogicalChannel(mMockCi, channel, responses); in mockLogicalChannelResponses()
1154 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); in mockLogicalChannelResponses()
[all …]