Home
last modified time | relevance | path

Searched refs:IccCardStatus (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccCardStatusTest.java31 private IccCardStatus mIccCardStatus;
39 mIccCardStatus = new IccCardStatus(); in setUp()
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()
72 mIccCardStatus.setUniversalPinState(IccCardStatus.PinState.PINSTATE_UNKNOWN.ordinal()); in testSetPinState()
73 assertEquals(IccCardStatus.PinState.PINSTATE_UNKNOWN, mIccCardStatus.mUniversalPinState); in testSetPinState()
[all …]
DUiccSlotTest.java36 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
51 private IccCardStatus mIccCardStatus;
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()
[all …]
DUiccCardTest.java42 private IccCardStatus mIccCardStatus;
52 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
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()
DUiccControllerTest.java67 private IccCardStatus mIccCardStatus;
85 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
242 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testCardIdFromIccStatus()
245 IccCardStatus ics = new IccCardStatus(); in testCardIdFromIccStatus()
334 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testGetAllUiccCardInfos()
337 IccCardStatus ics = new IccCardStatus(); in testGetAllUiccCardInfos()
371 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testIccidWithTrailingF()
374 IccCardStatus ics = new IccCardStatus(); in testIccidWithTrailingF()
408 IccCardStatus ics = new IccCardStatus(); in testGetAllUiccCardInfosNullCard()
441 IccCardStatus ics = new IccCardStatus(); in testEidNotSupported()
[all …]
DUiccStateChangedLauncherTest.java40 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
59 private IccCardStatus makeCardStatus(CardState state) { in makeCardStatus()
60 IccCardStatus status = new IccCardStatus(); in makeCardStatus()
DUiccProfileTest.java76 private IccCardStatus mIccCardStatus;
90 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
189 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile()
206 mIccCardStatus.mUniversalPinState = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in testUpdateUiccProfilePinState()
208 assertEquals(IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED, in testUpdateUiccProfilePinState()
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()
DUiccCardApplicationTest.java70 mUiccCardAppStatus.pin1 = IccCardStatus.PinState.PINSTATE_ENABLED_NOT_VERIFIED; in setUp()
71 mUiccCardAppStatus.pin2 = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in setUp()
223 mUiccCardAppStatus.pin1 = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in testAppStateChangeNotification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccSlotStatus.java32 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()
DUiccCard.java33 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
34 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
67 public UiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock) { in UiccCard()
85 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update()
DUiccProfile.java62 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
63 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
103 new UiccCardApplication[IccCardStatus.CARD_MAX_APPS];
255 public UiccProfile(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, in UiccProfile()
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()
997 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update()
1399 int index = IccCardStatus.CARD_MAX_APPS; in getApplication()
DUiccStateChangedLauncher.java28 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
DIccCardStatus.java27 public class IccCardStatus { class
DUiccSlot.java39 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
85 public void update(CommandsInterface ci, IccCardStatus ics, int phoneId, int slotIndex) { in update()
DIccCardApplicationStatus.java21 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
DUiccController.java686 IccCardStatus status = (IccCardStatus)ar.result; in onGetIccCardStatusDone()
761 private boolean eidIsNotSupported(IccCardStatus status) { in eidIsNotSupported()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSimSlotState.java19 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java60 import com.android.internal.telephony.uicc.IccCardStatus;
1723 private IccCardStatus convertHalCardStatus(CardStatus cardStatus) { in convertHalCardStatus()
1724 IccCardStatus iccCardStatus = new IccCardStatus(); in convertHalCardStatus()
1734 > com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS) { in convertHalCardStatus()
1736 com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS; in convertHalCardStatus()
1757 private IccCardStatus convertHalCardStatus_1_5( in convertHalCardStatus_1_5()
1759 IccCardStatus iccCardStatus = new IccCardStatus(); in convertHalCardStatus_1_5()
1776 > com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS) { in convertHalCardStatus_1_5()
1778 com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS; in convertHalCardStatus_1_5()
1803 IccCardStatus iccCardStatus = convertHalCardStatus(cardStatus); in responseIccCardStatus()
[all …]
DTelephonyComponentFactory.java43 import com.android.internal.telephony.uicc.IccCardStatus;
332 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics,
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java73 import com.android.internal.telephony.uicc.IccCardStatus;
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()
DSubscriptionControllerTest.java20 import static com.android.internal.telephony.uicc.IccCardStatus.CardState.CARDSTATE_PRESENT;
59 import com.android.internal.telephony.uicc.IccCardStatus;
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/
DEuiccCardTest.java50 import com.android.internal.telephony.uicc.IccCardStatus;
98 private IccCardStatus mMockIccCardStatus;
115 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java26 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
DMetricsCollectorTest.java43 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java37 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java39 import com.android.internal.telephony.uicc.IccCardStatus;
130 public EuiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock) { in EuiccCard()
211 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update()

12