Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardTest.java37 private UiccCard mUiccCard; field in UiccCardTest
68 mUiccCard = new UiccCard(mContext, mSimulatedCommands, mIccCardStatus, 0 /* phoneId */, in setUp()
83 assertEquals(0, mUiccCard.getNumApplications()); in testUiccCartdInfoCorrectness()
84 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUiccCartdInfoCorrectness()
85 assertNull(mUiccCard.getUniversalPinState()); in testUiccCartdInfoCorrectness()
86 assertNull(mUiccCard.getOperatorBrandOverride()); in testUiccCartdInfoCorrectness()
88 assertFalse(mUiccCard.areCarrierPriviligeRulesLoaded()); in testUiccCartdInfoCorrectness()
91 assertFalse(mUiccCard.isApplicationOnIcc(mAppType)); in testUiccCartdInfoCorrectness()
104 mUiccCard.update(mContext, mSimulatedCommands, mIccCardStatus); in testUpdateUiccCardState()
108 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUpdateUiccCardState()
DUiccProfileTest.java81 private UiccCard mUiccCard; field in UiccProfileTest
109 0 /* phoneId */, mUiccCard, new Object()); in setUp()
504 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState()
509 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState()
514 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccSlot.java63 private UiccCard mUiccCard; field in UiccSlot
108 || mUiccCard == null) && mCardState != CardState.CARDSTATE_ABSENT) { in update()
117 if (mUiccCard != null) { in update()
119 mUiccCard.dispose(); in update()
123 mUiccCard = new UiccCard(mContext, mCi, ics, mPhoneId, mLock); in update()
130 mUiccCard = new EuiccCard(mContext, mCi, ics, phoneId, mLock); in update()
133 if (mUiccCard != null) { in update()
134 mUiccCard.update(mContext, mCi, ics); in update()
178 return (oldState != CardState.CARDSTATE_ABSENT || mUiccCard != null) in absentStateUpdateNeeded()
204 if (mUiccCard != null) { in nullifyUiccCard()
[all …]
DUiccProfile.java106 private final UiccCard mUiccCard; //parent field in UiccProfile
265 mUiccCard = uiccCard; in UiccProfile()
274 if (mUiccCard instanceof EuiccCard) { in UiccProfile()
276 ((EuiccCard) mUiccCard).registerForEidReady(mHandler, EVENT_EID_READY, null); in UiccProfile()
296 if (mUiccCard instanceof EuiccCard) { in dispose()
297 ((EuiccCard) mUiccCard).unregisterForEidReady(mHandler); in dispose()
517 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState()
522 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState()
527 if (mUiccCard instanceof EuiccCard && ((EuiccCard) mUiccCard).getEid() == null) { in updateExternalState()
998 if (mUiccCard.getCardState() in hasIccCard()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java68 private UiccCard mUiccCard; field in CarrierServicesSmsFilterTest
182 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp()
185 when(mUiccCard.getCarrierPackageNamesForIntent( in mockUiccWithCarrierApp()
DTelephonyTest.java277 protected UiccCard mUiccCard; field in TelephonyTest
424 doReturn(mUiccCard).when(mPhone).getUiccCard(); in setUp()
425 doReturn(mUiccProfile).when(mUiccCard).getUiccProfile(); in setUp()