Home
last modified time | relevance | path

Searched refs:mIccCardStatus (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccCardStatusTest.java31 private IccCardStatus mIccCardStatus; field in IccCardStatusTest
39 mIccCardStatus = new IccCardStatus(); in setUp()
41 mIccCardStatus.mApplications = new IccCardApplicationStatus[]{mApplicationStatus}; in setUp()
42 mIccCardStatus.mCdmaSubscriptionAppIndex = 0; in setUp()
43 mIccCardStatus.mGsmUmtsSubscriptionAppIndex = -1; in setUp()
44 mIccCardStatus.mCdmaSubscriptionAppIndex = -1; in setUp()
50 mIccCardStatus = null; in tearDown()
56 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_ABSENT.ordinal()); in testSetCardState()
57 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mIccCardStatus.mCardState); in testSetCardState()
58 logd(mIccCardStatus.toString()); in testSetCardState()
[all …]
DUiccProfileTest.java77 private IccCardStatus mIccCardStatus; field in UiccProfileTest
102 mIccCardStatus.mApplications = new IccCardApplicationStatus[]{umtsApp}; in setUp()
103 mIccCardStatus.mCdmaSubscriptionAppIndex = in setUp()
104 mIccCardStatus.mImsSubscriptionAppIndex = in setUp()
105 mIccCardStatus.mGsmUmtsSubscriptionAppIndex = -1; in setUp()
108 mUiccProfile = new UiccProfile(mContext, mSimulatedCommands, mIccCardStatus, in setUp()
172 mIccCardStatus.mApplications = new IccCardApplicationStatus[]{cdmaApp, imsApp, umtsApp}; in testUpdateUiccProfileApplication()
173 mIccCardStatus.mCdmaSubscriptionAppIndex = 0; in testUpdateUiccProfileApplication()
174 mIccCardStatus.mImsSubscriptionAppIndex = 1; in testUpdateUiccProfileApplication()
175 mIccCardStatus.mGsmUmtsSubscriptionAppIndex = 2; in testUpdateUiccProfileApplication()
[all …]
DUiccSlotTest.java51 private IccCardStatus mIccCardStatus; field in UiccSlotTest
69 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in onLooperPrepared()
88 mIccCardStatus.mApplications = new IccCardApplicationStatus[]{}; in setUp()
89 mIccCardStatus.mCdmaSubscriptionAppIndex = in setUp()
90 mIccCardStatus.mImsSubscriptionAppIndex = in setUp()
91 mIccCardStatus.mGsmUmtsSubscriptionAppIndex = -1; in setUp()
242 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUpdateAbsentState()
243 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUpdateAbsentState()
284 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUiccSlotCreateAndDispose()
285 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose()
[all …]
DUiccCardTest.java42 private IccCardStatus mIccCardStatus; field in UiccCardTest
60 mIccCardStatus.mApplications = new IccCardApplicationStatus[]{}; in setUp()
61 mIccCardStatus.mCdmaSubscriptionAppIndex = in setUp()
62 mIccCardStatus.mImsSubscriptionAppIndex = in setUp()
63 mIccCardStatus.mGsmUmtsSubscriptionAppIndex = -1; in setUp()
64 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
68 mUiccCard = new UiccCard(mContext, mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in setUp()
100 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
104 mUiccCard.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccCardState()
DUiccControllerTest.java67 private IccCardStatus mIccCardStatus; field in UiccControllerTest
104 mIccCardStatus.mApplications = new IccCardApplicationStatus[]{}; in setUp()
105 mIccCardStatus.mCdmaSubscriptionAppIndex = in setUp()
106 mIccCardStatus.mImsSubscriptionAppIndex = in setUp()
107 mIccCardStatus.mGsmUmtsSubscriptionAppIndex = -1; in setUp()
108 mSimulatedCommands.setIccCardStatus(mIccCardStatus); in setUp()
111 mIccCardStatus.physicalSlotIndex = 0; in setUp()
197 mIccCardStatus.mApplications = new IccCardApplicationStatus[]{cdmaApp, imsApp, umtsApp}; in testPowerOffPowerOnWithApp()
198 mIccCardStatus.mCdmaSubscriptionAppIndex = 0; in testPowerOffPowerOnWithApp()
199 mIccCardStatus.mImsSubscriptionAppIndex = 1; in testPowerOffPowerOnWithApp()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimulatedCommands.java157 private IccCardStatus mIccCardStatus; field in SimulatedCommands
212 if (mIccCardStatus != null) { in getIccCardStatus()
213 resultSuccess(result, mIccCardStatus); in getIccCardStatus()
2263 mIccCardStatus = iccCardStatus; in setIccCardStatus()