Searched refs:mUiccCard (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCardTest.java | 37 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()
|
D | UiccProfileTest.java | 82 private UiccCard mUiccCard; field in UiccProfileTest 110 0 /* phoneId */, mUiccCard, new Object()); in setUp() 505 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState() 510 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState() 515 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccSlot.java | 63 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 …]
|
D | UiccProfile.java | 114 private final UiccCard mUiccCard; //parent field in UiccProfile 311 mUiccCard = uiccCard; in UiccProfile() 320 if (mUiccCard instanceof EuiccCard) { in UiccProfile() 322 ((EuiccCard) mUiccCard).registerForEidReady(mHandler, EVENT_EID_READY, null); in UiccProfile() 343 if (mUiccCard instanceof EuiccCard) { in dispose() 344 ((EuiccCard) mUiccCard).unregisterForEidReady(mHandler); in dispose() 569 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState() 574 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState() 579 if (mUiccCard instanceof EuiccCard && ((EuiccCard) mUiccCard).getEid() == null) { in updateExternalState() 1061 if (mUiccCard.getCardState() in hasIccCard() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierServicesSmsFilterTest.java | 68 private UiccCard mUiccCard; field in CarrierServicesSmsFilterTest 181 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp() 184 when(mUiccCard.getCarrierPackageNamesForIntent( in mockUiccWithCarrierApp()
|
D | TelephonyTest.java | 298 protected UiccCard mUiccCard; field in TelephonyTest 474 doReturn(mUiccCard).when(mPhone).getUiccCard(); in setUp() 475 doReturn(mUiccProfile).when(mUiccCard).getUiccProfile(); in setUp() 589 doReturn(mUiccCard).when(mUiccController).getUiccCard(anyInt()); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmSmsDispatcherTest.java | 338 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp() 341 when(mUiccCard.getCarrierPackageNamesForIntent( in mockUiccWithCarrierApp()
|