/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccSlotTest.java | 124 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus() 132 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus() 141 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus() 159 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus() 178 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported() 186 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported() 213 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsNotSupported() 221 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsNotSupported() 248 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusVoltageClassA() 256 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusVoltageClassA() [all …]
|
D | UiccCardTest.java | 81 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUiccCartdInfoCorrectness() 95 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUpdateUiccCardState()
|
D | UiccProfileTest.java | 521 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState() 526 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState() 531 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
|
D | UiccControllerTest.java | 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()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | SimSlotStateTest.java | 65 doReturn(CardState.CARDSTATE_ABSENT).when(mEmptySlot).getCardState(); in setUp() 68 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp() 72 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp() 175 doReturn(CardState.CARDSTATE_ERROR).when(mPhysicalSlot).getCardState(); in testSingleSim_physicalSimCardInErrorState() 192 doReturn(CardState.CARDSTATE_RESTRICTED).when(mPhysicalSlot).getCardState(); in testSingleSim_physicalSimCardInRestrictedState()
|
D | ServiceStateStatsTest.java | 123 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in setUp() 250 doReturn(CardState.CARDSTATE_ABSENT).when(mPhysicalSlot0).getCardState(); in conclude_noSimCardEmergencyOnly() 282 doReturn(CardState.CARDSTATE_ABSENT).when(mPhysicalSlot0).getCardState(); in conclude_noSimCardOutOfService() 739 doReturn(CardState.CARDSTATE_ABSENT).when(mPhysicalSlot0).getCardState(); in onServiceStateChanged_simSwapSameRat() 745 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in onServiceStateChanged_simSwapSameRat() 1419 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot1).getCardState(); in mockDualSim()
|
D | MetricsCollectorTest.java | 145 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent() 148 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent()
|
D | ImsStatsTest.java | 142 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot0).getCardState(); in setUp() 1064 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot1).getCardState(); in secondSimMockSetup()
|
D | VoiceCallSessionStatsTest.java | 188 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp() 191 doReturn(CardState.CARDSTATE_ABSENT).when(mEmptySlot).getCardState(); in setUp() 193 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccStateChangedLauncher.java | 73 || uiccCard.getCardState() != CardState.CARDSTATE_RESTRICTED) in handleMessage()
|
D | UiccCard.java | 160 public CardState getCardState() { in getCardState() method in UiccCard
|
D | UiccProfile.java | 618 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState() 623 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState() 1110 if (mUiccCard.getCardState() in hasIccCard()
|
D | UiccSlot.java | 606 public CardState getCardState() { in getCardState() method in UiccSlot
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | SimSlotState.java | 56 if (slot.getCardState() == CardState.CARDSTATE_PRESENT) { in getCurrentState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccCardControllerTest.java | 101 when(mActivatedEsimSlot.getCardState()).thenReturn(CardState.CARDSTATE_PRESENT); in setUp() 104 when(mNotPresentEsimSlot.getCardState()).thenReturn(CardState.CARDSTATE_ERROR); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 119 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mEuiccCard.getCardState()); in testEuiccCardInfoCorrectness()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 1294 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications() 1298 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications() 1313 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded() 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/euicc/ |
D | EuiccCardController.java | 203 && slotInfo.getCardState() != null in isEmbeddedCardPresent() 204 && slotInfo.getCardState().isCardPresent()) { in isEmbeddedCardPresent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 1332 newState = newCard.getCardState(); in updateIccAvailability()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 5182 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT in reapplyUiccAppsEnablementIfNeeded() 5185 + (slot != null ? slot.getCardState() : null)); in reapplyUiccAppsEnablementIfNeeded() 5225 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT) { in enableUiccApplications()
|
D | ServiceStateTracker.java | 1766 simAbsent = (uiccCard.getCardState() == CardState.CARDSTATE_ABSENT); in isSimAbsent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/ |
D | SubscriptionManagerService.java | 838 if (uiccSlot != null && uiccSlot.getCardState() != null in getIccIdsOfInsertedPhysicalSims() 839 && uiccSlot.getCardState().isCardPresent() && !uiccSlot.isEuicc()) { in getIccIdsOfInsertedPhysicalSims()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/ |
D | SubscriptionManagerServiceTest.java | 3023 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testInactiveSimRemoval() 3038 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testInactiveSimRemoval()
|