Home
last modified time | relevance | path

Searched refs:CARDSTATE_PRESENT (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java119 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateInactiveSlotStatus()
132 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus()
172 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsSupported()
186 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported()
207 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsNotSupported()
221 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsNotSupported()
242 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusVoltageClassA()
256 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusVoltageClassA()
277 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusVoltageClassANoTa()
291 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusVoltageClassANoTa()
[all …]
DUiccCardTest.java58 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
81 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUiccCartdInfoCorrectness()
89 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
95 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUpdateUiccCardState()
DPortUtilsTest.java60 IccCardStatus.CardState.CARDSTATE_PRESENT, in testConvertFromHalPortIndex()
63 IccCardStatus.CardState.CARDSTATE_PRESENT, in testConvertFromHalPortIndex()
DIccCardStatusTest.java61 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_PRESENT.ordinal()); in testSetCardState()
62 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mIccCardStatus.mCardState); in testSetCardState()
DUiccStateChangedLauncherTest.java102 makeCardStatus(CardState.CARDSTATE_PRESENT), 0 /* phoneId */, new Object(), in testProvisioningPackageSet()
133 makeCardStatus(CardState.CARDSTATE_PRESENT), 0); in testProvisioningPackageSet()
DUiccControllerTest.java119 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
259 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testCardIdFromIccStatus()
360 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testGetAllUiccCardInfos()
411 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testIccidWithTrailingF()
DUiccPortTest.java78 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
DUiccProfileTest.java220 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile()
531 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardStatus.java39 CARDSTATE_PRESENT, enumConstant
46 return this == CARDSTATE_PRESENT || in isCardPresent()
124 mCardState = CardState.CARDSTATE_PRESENT; in setCardState()
DIccSlotStatus.java83 cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setCardState()
DUiccProfile.java1158 if (mCarrierPrivilegeRules == null && ics.mCardState == CardState.CARDSTATE_PRESENT) { in update()
1162 && ics.mCardState != CardState.CARDSTATE_PRESENT) { in update()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java92 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
119 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mEuiccCard.getCardState()); in testEuiccCardInfoCorrectness()
DEuiccPortTest.java120 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSimSlotState.java56 if (slot.getCardState() == CardState.CARDSTATE_PRESENT) { in getCurrentState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java1042 broadcastCardStateAndIccRefreshResp(CardState.CARDSTATE_PRESENT, in handleMessage()
1078 boolean cardPresent = (cardState == CardState.CARDSTATE_PRESENT); in broadcastCardStateAndIccRefreshResp()
1337 if (oldState == CardState.CARDSTATE_PRESENT && in updateIccAvailability()
1338 newState != CardState.CARDSTATE_PRESENT) { in updateIccAvailability()
1340 } else if (oldState != CardState.CARDSTATE_PRESENT && in updateIccAvailability()
1341 newState == CardState.CARDSTATE_PRESENT) { in updateIccAvailability()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java68 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp()
72 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
DMetricsCollectorTest.java145 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent()
148 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent()
DServiceStateStatsTest.java123 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in setUp()
745 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in onServiceStateChanged_simSwapSameRat()
1419 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot1).getCardState(); in mockDualSim()
DImsStatsTest.java142 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in setUp()
1064 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot1).getCardState(); in secondSimMockSetup()
DVoiceCallSessionStatsTest.java188 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp()
193 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java101 when(mActivatedEsimSlot.getCardState()).thenReturn(CardState.CARDSTATE_PRESENT); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java1298 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications()
1316 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded()
1341 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementSuccess()
1394 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementRetry()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java5182 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT in reapplyUiccAppsEnablementIfNeeded()
5225 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT) { in enableUiccApplications()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionManagerServiceTest.java3023 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testInactiveSimRemoval()