/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccSlotTest.java | 36 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 113 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateInactiveSlotStatus() 119 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() 146 iss.cardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUpdateActiveSlotStatus() 155 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus() 173 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsSupported() 180 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported() 189 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported() [all …]
|
D | IccCardStatusTest.java | 56 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_ABSENT.ordinal()); in testSetCardState() 57 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mIccCardStatus.mCardState); in testSetCardState() 60 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_PRESENT.ordinal()); in testSetCardState() 61 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mIccCardStatus.mCardState); in testSetCardState() 64 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_ERROR.ordinal()); in testSetCardState() 65 assertEquals(IccCardStatus.CardState.CARDSTATE_ERROR, mIccCardStatus.mCardState); in testSetCardState()
|
D | UiccCardTest.java | 64 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp() 84 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in tesUiccCartdInfoSanity() 100 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState() 108 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUpdateUiccCardState()
|
D | UiccStateChangedLauncherTest.java | 40 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 59 private IccCardStatus makeCardStatus(CardState state) { in makeCardStatus() 104 makeCardStatus(CardState.CARDSTATE_PRESENT), 0 /* phoneId */, new Object()); in testProvisioningPackageSet() 119 makeCardStatus(CardState.CARDSTATE_RESTRICTED)); in testProvisioningPackageSet() 134 makeCardStatus(CardState.CARDSTATE_PRESENT)); in testProvisioningPackageSet()
|
D | UiccProfileTest.java | 189 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile() 503 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState() 508 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState() 513 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
|
D | UiccControllerTest.java | 242 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testCardIdFromIccStatus() 334 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testGetAllUiccCardInfos() 371 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testIccidWithTrailingF()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccSlotStatus.java | 32 public IccCardStatus.CardState cardState; 45 cardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in setCardState() 48 cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setCardState() 51 cardState = IccCardStatus.CardState.CARDSTATE_ERROR; in setCardState() 54 cardState = IccCardStatus.CardState.CARDSTATE_RESTRICTED; in setCardState()
|
D | IccCardStatus.java | 30 public enum CardState { enum in IccCardStatus 71 public CardState mCardState; 91 mCardState = CardState.CARDSTATE_ABSENT; in setCardState() 94 mCardState = CardState.CARDSTATE_PRESENT; in setCardState() 97 mCardState = CardState.CARDSTATE_ERROR; in setCardState() 100 mCardState = CardState.CARDSTATE_RESTRICTED; in setCardState()
|
D | UiccSlot.java | 39 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 60 private CardState mCardState; 88 CardState oldState = mCardState; in update() 107 } else if ((oldState == null || oldState == CardState.CARDSTATE_ABSENT in update() 108 || mUiccCard == null) && mCardState != CardState.CARDSTATE_ABSENT) { in update() 147 CardState oldState = mCardState; in update() 177 private boolean absentStateUpdateNeeded(CardState oldState) { in absentStateUpdateNeeded() 178 return (oldState != CardState.CARDSTATE_ABSENT || mUiccCard != null) in absentStateUpdateNeeded() 179 && mCardState == CardState.CARDSTATE_ABSENT; in absentStateUpdateNeeded() 212 if (mCardState == null || mCardState == CardState.CARDSTATE_ABSENT) { in isStateUnknown() [all …]
|
D | UiccStateChangedLauncher.java | 28 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 73 || uiccCard.getCardState() != CardState.CARDSTATE_RESTRICTED) in handleMessage()
|
D | UiccCard.java | 33 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 56 private CardState mCardState; 93 if (mCardState != CardState.CARDSTATE_ABSENT) { in update() 171 public CardState getCardState() { in getCardState()
|
D | UiccProfile.java | 62 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 511 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState() 516 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState() 986 != IccCardStatus.CardState.CARDSTATE_ABSENT) { in hasIccCard() 1033 if (mCarrierPrivilegeRules == null && ics.mCardState == CardState.CARDSTATE_PRESENT) { in update() 1037 && ics.mCardState != CardState.CARDSTATE_PRESENT) { in update()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | SimSlotStateTest.java | 26 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 51 doReturn(CardState.CARDSTATE_ABSENT).when(mEmptySlot).getCardState(); in setUp() 54 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp() 58 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp() 134 doReturn(CardState.CARDSTATE_ERROR).when(mPhysicalSlot).getCardState(); in testSingleSim_physicalSimCardInErrorState() 147 doReturn(CardState.CARDSTATE_RESTRICTED).when(mPhysicalSlot).getCardState(); in testSingleSim_physicalSimCardInRestrictedState()
|
D | MetricsCollectorTest.java | 43 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 104 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent() 107 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in onPullAtom_simSlotState_bothSimPresent()
|
D | VoiceCallSessionStatsTest.java | 65 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 154 doReturn(CardState.CARDSTATE_PRESENT).when(mPhysicalSlot).getCardState(); in setUp() 157 doReturn(CardState.CARDSTATE_ABSENT).when(mEmptySlot).getCardState(); in setUp() 159 doReturn(CardState.CARDSTATE_PRESENT).when(mEsimSlot).getCardState(); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | SimSlotState.java | 19 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 42 if (slot.getCardState() == CardState.CARDSTATE_PRESENT) { in getCurrentState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 41 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 110 private CardState mCardState = CardState.CARDSTATE_ABSENT; 256 broadcastCardStateAndIccRefreshResp(CardState.CARDSTATE_ABSENT, null); in dispose() 868 broadcastCardStateAndIccRefreshResp(CardState.CARDSTATE_PRESENT, in handleMessage() 901 private void broadcastCardStateAndIccRefreshResp(CardState cardState, in broadcastCardStateAndIccRefreshResp() 904 boolean cardPresent = (cardState == CardState.CARDSTATE_PRESENT); in broadcastCardStateAndIccRefreshResp() 1155 CardState newState = CardState.CARDSTATE_ABSENT; in updateIccAvailability() 1160 CardState oldState = mCardState; in updateIccAvailability() 1163 if (oldState == CardState.CARDSTATE_PRESENT && in updateIccAvailability() 1164 newState != CardState.CARDSTATE_PRESENT) { in updateIccAvailability() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccCardControllerTest.java | 37 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 102 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/ |
D | GsmCdmaPhoneTest.java | 1192 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications() 1196 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications() 1211 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded() 1214 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded() 1237 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementSuccess() 1275 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementRetry()
|
D | SubscriptionControllerTest.java | 20 import static com.android.internal.telephony.uicc.IccCardStatus.CardState.CARDSTATE_PRESENT; 1562 IccCardStatus.CardState cardState = CARDSTATE_PRESENT; in testGetAvailableSubscriptionList() 1591 IccCardStatus.CardState cardState = CARDSTATE_PRESENT; in testGetAvailableSubscriptionList_withTrailingF()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 115 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 102 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 1681 simAbsent = (uiccCard.getCardState() == CardState.CARDSTATE_ABSENT); in isSimAbsent() 4412 if (uiccCard == null || uiccCard.getCardState() == CardState.CARDSTATE_ABSENT) { in queueNextSignalStrengthPoll()
|
D | GsmCdmaPhone.java | 4361 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT in reapplyUiccAppsEnablementIfNeeded() 4390 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT) { in enableUiccApplications()
|
/frameworks/base/config/ |
D | preloaded-classes | 9173 com.android.internal.telephony.uicc.IccCardStatus$CardState
|
D | boot-image-profile.txt | 50182 Lcom/android/internal/telephony/uicc/IccCardStatus$CardState;
|