Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccSlot.java59 private UiccCard mUiccCard; field in UiccSlot
101 || mUiccCard == null) && mCardState != CardState.CARDSTATE_ABSENT) { in update()
109 if (mUiccCard != null) { in update()
111 mUiccCard.dispose(); in update()
115 mUiccCard = new UiccCard(mContext, mCi, ics, mPhoneId, mLock); in update()
117 mUiccCard = new EuiccCard(mContext, mCi, ics, phoneId, mLock); in update()
120 if (mUiccCard != null) { in update()
121 mUiccCard.update(mContext, mCi, ics); in update()
146 if (mUiccCard != null) mUiccCard.dispose(); in update()
163 return (oldState != CardState.CARDSTATE_ABSENT || mUiccCard != null) in absentStateUpdateNeeded()
[all …]
DUiccProfile.java103 private final UiccCard mUiccCard; //parent field in UiccProfile
234 mUiccCard = uiccCard; in UiccProfile()
243 if (mUiccCard instanceof EuiccCard) { in UiccProfile()
244 ((EuiccCard) mUiccCard).registerForEidReady(mHandler, EVENT_EID_READY, null); in UiccProfile()
264 if (mUiccCard instanceof EuiccCard) { in dispose()
265 ((EuiccCard) mUiccCard).unregisterForEidReady(mHandler); in dispose()
416 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState()
421 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState()
426 if (mUiccCard instanceof EuiccCard && ((EuiccCard) mUiccCard).getEid() == null) { in updateExternalState()
868 if (mUiccCard.getCardState() in hasIccCard()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java65 private UiccCard mUiccCard; field in CarrierServicesSmsFilterTest
143 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp()
146 when(mUiccCard.getCarrierPackageNamesForIntent( in mockUiccWithCarrierApp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccProfileTest.java76 private UiccCard mUiccCard; field in UiccProfileTest
88 mUiccCard, new Object()); in onLooperPrepared()
484 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState()
489 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState()
494 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()