Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java113 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateInactiveSlotStatus()
128 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus()
173 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsSupported()
189 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported()
208 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsNotSupported()
224 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsNotSupported()
257 activeIss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateAbsentStateInactiveSlotStatus()
285 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUiccSlotCreateAndDispose()
290 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUiccSlotCreateAndDispose()
310 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUiccSlotBroadcastAbsent()
[all …]
DUiccCardTest.java64 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
84 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUiccCartdInfoCorrectness()
100 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
108 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUpdateUiccCardState()
DIccCardStatusTest.java60 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_PRESENT.ordinal()); in testSetCardState()
61 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mIccCardStatus.mCardState); in testSetCardState()
DUiccStateChangedLauncherTest.java104 makeCardStatus(CardState.CARDSTATE_PRESENT), 0 /* phoneId */, new Object()); in testProvisioningPackageSet()
134 makeCardStatus(CardState.CARDSTATE_PRESENT)); in testProvisioningPackageSet()
DUiccControllerTest.java245 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testCardIdFromIccStatus()
337 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testGetAllUiccCardInfos()
374 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testIccidWithTrailingF()
DUiccProfileTest.java191 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile()
515 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardStatus.java35 CARDSTATE_PRESENT, enumConstant
42 return this == CARDSTATE_PRESENT || in isCardPresent()
95 mCardState = CardState.CARDSTATE_PRESENT; in setCardState()
DIccSlotStatus.java48 cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setCardState()
DUiccProfile.java1109 if (mCarrierPrivilegeRules == null && ics.mCardState == CardState.CARDSTATE_PRESENT) { in update()
1113 && ics.mCardState != CardState.CARDSTATE_PRESENT) { in update()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSimSlotState.java45 if (slot.getCardState() == CardState.CARDSTATE_PRESENT) { in getCurrentState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java869 broadcastCardStateAndIccRefreshResp(CardState.CARDSTATE_PRESENT, in handleMessage()
905 boolean cardPresent = (cardState == CardState.CARDSTATE_PRESENT); in broadcastCardStateAndIccRefreshResp()
1164 if (oldState == CardState.CARDSTATE_PRESENT && in updateIccAvailability()
1165 newState != CardState.CARDSTATE_PRESENT) { in updateIccAvailability()
1167 } else if (oldState != CardState.CARDSTATE_PRESENT && in updateIccAvailability()
1168 newState == CardState.CARDSTATE_PRESENT) { in updateIccAvailability()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java56 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp()
60 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
DMetricsCollectorTest.java112 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent()
115 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent()
DImsStatsTest.java123 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in setUp()
679 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot1).getCardState(); in onImsUnregistered_multiSim()
DServiceStateStatsTest.java93 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in setUp()
544 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in update_simSwapSameRat()
818 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot1).getCardState(); in mockDualSim()
DVoiceCallSessionStatsTest.java153 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp()
158 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java102 when(mActivatedEsimSlot.getCardState()).thenReturn(CardState.CARDSTATE_PRESENT); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java1363 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications()
1381 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded()
1404 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementSuccess()
1456 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementRetry()
DSubscriptionControllerTest.java20 import static com.android.internal.telephony.uicc.IccCardStatus.CardState.CARDSTATE_PRESENT;
1844 IccCardStatus.CardState cardState = CARDSTATE_PRESENT; in testGetAvailableSubscriptionList()
1873 IccCardStatus.CardState cardState = CARDSTATE_PRESENT; in testGetAvailableSubscriptionList_withTrailingF()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java115 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java4590 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT in reapplyUiccAppsEnablementIfNeeded()
4619 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT) { in enableUiccApplications()