Home
last modified time | relevance | path

Searched refs:IccCardStatus (Results 1 – 25 of 26) 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;
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()
[all …]
DUiccControllerTest.java61 private IccCardStatus mIccCardStatus;
91 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
230 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testCardIdFromIccStatus()
233 IccCardStatus ics = new IccCardStatus(); in testCardIdFromIccStatus()
322 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testGetAllUiccCardInfos()
325 IccCardStatus ics = new IccCardStatus(); in testGetAllUiccCardInfos()
359 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testIccidWithTrailingF()
362 IccCardStatus ics = new IccCardStatus(); in testIccidWithTrailingF()
396 IccCardStatus ics = new IccCardStatus(); in testGetAllUiccCardInfosNullCard()
429 IccCardStatus ics = new IccCardStatus(); in testEidNotSupported()
DUiccCardTest.java52 private IccCardStatus mIccCardStatus;
106 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
119 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
141 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUicccard.getCardState()); in tesUiccCartdInfoSanity()
156 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
166 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUicccard.getCardState()); in testUpdateUiccCardState()
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.java74 private IccCardStatus mIccCardStatus;
130 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
240 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile()
263 mIccCardStatus.mUniversalPinState = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in testUpdateUiccProfilePinState()
265 assertEquals(IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED, in testUpdateUiccProfilePinState()
584 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState()
589 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState()
594 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
DUiccCardApplicationTest.java104 mUiccCardAppStatus.pin1 = IccCardStatus.PinState.PINSTATE_ENABLED_NOT_VERIFIED; in setUp()
105 mUiccCardAppStatus.pin2 = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in setUp()
/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.java34 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
35 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()
DUiccStateChangedLauncher.java28 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
DUiccProfile.java61 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
62 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
101 new UiccCardApplication[IccCardStatus.CARD_MAX_APPS];
232 public UiccProfile(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, in UiccProfile()
464 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState()
469 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState()
918 != IccCardStatus.CardState.CARDSTATE_ABSENT) { in hasIccCard()
929 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update()
1300 int index = IccCardStatus.CARD_MAX_APPS; in getApplication()
DIccCardStatus.java27 public class IccCardStatus { class
DUiccSlot.java37 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
81 public void update(CommandsInterface ci, IccCardStatus ics, int phoneId, int slotIndex) { in update()
DIccCardApplicationStatus.java22 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
DUiccController.java599 IccCardStatus status = (IccCardStatus)ar.result; in onGetIccCardStatusDone()
661 private boolean eidIsNotSupported(IccCardStatus status) { in eidIsNotSupported()
DUiccCardApplication.java33 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyComponentFactory.java45 import com.android.internal.telephony.uicc.IccCardStatus;
341 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics,
DRadioResponse.java58 import com.android.internal.telephony.uicc.IccCardStatus;
1539 private IccCardStatus convertHalCardStatus(CardStatus cardStatus) { in convertHalCardStatus()
1540 IccCardStatus iccCardStatus = new IccCardStatus(); in convertHalCardStatus()
1550 > com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS) { in convertHalCardStatus()
1552 com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS; in convertHalCardStatus()
1577 IccCardStatus iccCardStatus = convertHalCardStatus(cardStatus); in responseIccCardStatus()
1591 IccCardStatus iccCardStatus = convertHalCardStatus(cardStatus.base); in responseIccCardStatus_1_2()
1608 IccCardStatus iccCardStatus = convertHalCardStatus(cardStatus.base.base); in responseIccCardStatus_1_4()
DCommandsInterface.java34 import com.android.internal.telephony.uicc.IccCardStatus;
DServiceStateTracker.java101 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java46 import com.android.internal.telephony.uicc.IccCardStatus;
130 private IccCardStatus mMockIccCardStatus;
148 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java37 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java79 import com.android.internal.telephony.uicc.IccCardStatus;
392 nullable(IccCardStatus.class), anyInt(), nullable(UiccCard.class), in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java68 import com.android.internal.telephony.uicc.IccCardStatus;
146 private IccCardStatus mIccCardStatus;
2177 public void setIccCardStatus(IccCardStatus iccCardStatus){ in setIccCardStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java47 import com.android.internal.telephony.uicc.IccCardStatus.CardState;

12