/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccSlotTest.java | 36 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 112 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateInactiveSlotStatus() 118 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus() 127 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus() 137 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus() 145 iss.cardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUpdateActiveSlotStatus() 154 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus() 172 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsSupported() 179 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported() 188 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 testUiccCartdInfoCorrectness() 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 | 190 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile() 504 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState() 509 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState() 514 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; 517 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState() 522 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState() 999 != IccCardStatus.CardState.CARDSTATE_ABSENT) { in hasIccCard() 1046 if (mCarrierPrivilegeRules == null && ics.mCardState == CardState.CARDSTATE_PRESENT) { in update() 1050 && 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 | 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 | 44 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 113 private CardState mCardState = CardState.CARDSTATE_ABSENT; 259 broadcastCardStateAndIccRefreshResp(CardState.CARDSTATE_ABSENT, null); in dispose() 871 broadcastCardStateAndIccRefreshResp(CardState.CARDSTATE_PRESENT, in handleMessage() 904 private void broadcastCardStateAndIccRefreshResp(CardState cardState, in broadcastCardStateAndIccRefreshResp() 907 boolean cardPresent = (cardState == CardState.CARDSTATE_PRESENT); in broadcastCardStateAndIccRefreshResp() 1158 CardState newState = CardState.CARDSTATE_ABSENT; in updateIccAvailability() 1163 CardState oldState = mCardState; in updateIccAvailability() 1166 if (oldState == CardState.CARDSTATE_PRESENT && in updateIccAvailability() 1167 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 | 1230 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications() 1234 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications() 1249 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded() 1252 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded() 1275 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementSuccess() 1313 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; 1119 IccCardStatus.CardState cardState = CARDSTATE_PRESENT; in testGetAvailableSubscriptionList_withTrailingF() 1189 IccCardStatus.CardState cardState = CARDSTATE_PRESENT; in testGetAvailableSubscriptionList()
|
/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; 1692 simAbsent = (uiccCard.getCardState() == CardState.CARDSTATE_ABSENT); in isSimAbsent() 4425 if (uiccCard == null || uiccCard.getCardState() == CardState.CARDSTATE_ABSENT) { in queueNextSignalStrengthPoll()
|
D | GsmCdmaPhone.java | 4417 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT in reapplyUiccAppsEnablementIfNeeded() 4446 if (slot == null || slot.getCardState() != IccCardStatus.CardState.CARDSTATE_PRESENT) { in enableUiccApplications()
|
/frameworks/base/config/ |
D | preloaded-classes | 5082 com.android.internal.telephony.uicc.IccCardStatus$CardState
|
D | boot-image-profile.txt | 23792 HSPLcom/android/internal/telephony/uicc/IccCardStatus$CardState;-><init>(Ljava/lang/String;I)V 23793 …ternal/telephony/uicc/IccCardStatus$CardState;->values()[Lcom/android/internal/telephony/uicc/IccC… 23915 …lephony/uicc/UiccCard;->getCardState()Lcom/android/internal/telephony/uicc/IccCardStatus$CardState; 24030 …lephony/uicc/UiccSlot;->getCardState()Lcom/android/internal/telephony/uicc/IccCardStatus$CardState; 38025 Lcom/android/internal/telephony/uicc/IccCardStatus$CardState;
|