Home
last modified time | relevance | path

Searched refs:getCardState (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java119 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus()
128 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus()
138 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus()
155 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus()
180 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported()
189 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported()
215 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsNotSupported()
224 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsNotSupported()
247 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateAbsentState()
272 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateAbsentStateInactiveSlotStatus()
[all …]
DUiccCardTest.java84 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUiccCartdInfoCorrectness()
108 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUpdateUiccCardState()
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.java505 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/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java53 doReturn(CardState.CARDSTATE_ABSENT).when(mEmptySlot).getCardState(); in setUp()
56 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp()
60 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
146 doReturn(CardState.CARDSTATE_ERROR).when(mPhysicalSlot).getCardState(); in testSingleSim_physicalSimCardInErrorState()
161 doReturn(CardState.CARDSTATE_RESTRICTED).when(mPhysicalSlot).getCardState(); in testSingleSim_physicalSimCardInRestrictedState()
DServiceStateStatsTest.java93 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in setUp()
209 doReturn(CardState.CARDSTATE_ABSENT).when(mPhysicalSlot0).getCardState(); in conclude_noSimCardEmergencyOnly()
239 doReturn(CardState.CARDSTATE_ABSENT).when(mPhysicalSlot0).getCardState(); in conclude_noSimCardOutOfService()
536 doReturn(CardState.CARDSTATE_ABSENT).when(mPhysicalSlot0).getCardState(); in update_simSwapSameRat()
544 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in update_simSwapSameRat()
818 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot1).getCardState(); in mockDualSim()
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()
DVoiceCallSessionStatsTest.java153 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp()
156 doReturn(CardState.CARDSTATE_ABSENT).when(mEmptySlot).getCardState(); in setUp()
158 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
/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/uicc/
DUiccStateChangedLauncher.java73 || uiccCard.getCardState() != CardState.CARDSTATE_RESTRICTED) in handleMessage()
DUiccCard.java172 public CardState getCardState() { in getCardState() method in UiccCard
DUiccSlot.java389 public CardState getCardState() { in getCardState() method in UiccSlot
DUiccProfile.java569 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState()
574 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState()
1061 if (mUiccCard.getCardState() in hasIccCard()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java102 when(mActivatedEsimSlot.getCardState()).thenReturn(CardState.CARDSTATE_PRESENT); in setUp()
105 when(mNotPresentEsimSlot.getCardState()).thenReturn(CardState.CARDSTATE_ERROR); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java1359 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications()
1363 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications()
1378 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded()
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.java1846 doReturn(cardState).when(mUiccSlot).getCardState(); in testGetAvailableSubscriptionList()
1875 doReturn(cardState).when(mUiccSlot).getCardState(); in testGetAvailableSubscriptionList_withTrailingF()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java181 && slotInfo.getCardState() != null in isEmbeddedCardPresent()
182 && slotInfo.getCardState().isCardPresent()) { in isEmbeddedCardPresent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java1159 newState = newCard.getCardState(); in updateIccAvailability()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java1150 if (uiccSlot != null && uiccSlot.getCardState() != null in getIccIdsOfInsertedPhysicalSims()
1151 && uiccSlot.getCardState().isCardPresent() in getIccIdsOfInsertedPhysicalSims()
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()
DServiceStateTracker.java1854 simAbsent = (uiccCard.getCardState() == CardState.CARDSTATE_ABSENT); in isSimAbsent()
4754 if (uiccCard == null || uiccCard.getCardState() == CardState.CARDSTATE_ABSENT) { in queueNextSignalStrengthPoll()