Home
last modified time | relevance | path

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

/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.java49 private IccCardStatus mIccCardStatus;
109 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateInactiveSlotStatus()
115 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus()
124 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus()
134 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus()
142 iss.cardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUpdateActiveSlotStatus()
151 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus()
169 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsSupported()
176 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported()
185 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported()
[all …]
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.java72 private IccCardStatus mIccCardStatus;
128 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
238 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile()
261 mIccCardStatus.mUniversalPinState = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in testUpdateUiccProfilePinState()
263 assertEquals(IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED, in testUpdateUiccProfilePinState()
484 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState()
489 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState()
494 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()
DUiccControllerTest.java51 private IccCardStatus mIccCardStatus;
75 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccSlotStatus.java32 public IccCardStatus.CardState cardState;
44 cardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in setCardState()
47 cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setCardState()
50 cardState = IccCardStatus.CardState.CARDSTATE_ERROR; in setCardState()
53 cardState = IccCardStatus.CardState.CARDSTATE_RESTRICTED; in setCardState()
DUiccCard.java32 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
33 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
60 public UiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock) { in UiccCard()
78 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update()
DUiccProfile.java61 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
62 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
100 new UiccCardApplication[IccCardStatus.CARD_MAX_APPS];
230 public UiccProfile(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, in UiccProfile()
416 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState()
421 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState()
869 != IccCardStatus.CardState.CARDSTATE_ABSENT) { in hasIccCard()
880 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update()
1243 int index = IccCardStatus.CARD_MAX_APPS; in getApplication()
DUiccStateChangedLauncher.java28 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
DIccCardStatus.java26 public class IccCardStatus { class
DUiccSlot.java36 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
79 public void update(CommandsInterface ci, IccCardStatus ics, int phoneId) { in update()
DIccCardApplicationStatus.java21 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
DUiccController.java487 IccCardStatus status = (IccCardStatus)ar.result; in onGetIccCardStatusDone()
DUiccCardApplication.java32 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyComponentFactory.java33 import com.android.internal.telephony.uicc.IccCardStatus;
106 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics, in makeUiccProfile()
DRadioResponse.java53 import com.android.internal.telephony.uicc.IccCardStatus;
1381 private IccCardStatus convertHalCardStatus(CardStatus cardStatus) { in convertHalCardStatus()
1382 IccCardStatus iccCardStatus = new IccCardStatus(); in convertHalCardStatus()
1392 > com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS) { in convertHalCardStatus()
1394 com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS; in convertHalCardStatus()
1419 IccCardStatus iccCardStatus = convertHalCardStatus(cardStatus); in responseIccCardStatus()
1433 IccCardStatus iccCardStatus = convertHalCardStatus(cardStatus.base); in responseIccCardStatus_1_2()
DCommandsInterface.java32 import com.android.internal.telephony.uicc.IccCardStatus;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java46 import com.android.internal.telephony.uicc.IccCardStatus;
129 private IccCardStatus mMockIccCardStatus;
147 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java68 import com.android.internal.telephony.uicc.IccCardStatus;
335 nullable(IccCardStatus.class), anyInt(), nullable(UiccCard.class), in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java59 import com.android.internal.telephony.uicc.IccCardStatus;
136 private IccCardStatus mIccCardStatus;
2165 public void setIccCardStatus(IccCardStatus iccCardStatus){ in setIccCardStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java40 import com.android.internal.telephony.uicc.IccCardStatus;
119 public EuiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock) { in EuiccCard()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java47 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
/frameworks/base/config/
Dboot-image-profile.txt40683 …Status(Landroid/hardware/radio/V1_0/CardStatus;)Lcom/android/internal/telephony/uicc/IccCardStatus;
40925 …rnal/telephony/CommandsInterface;Lcom/android/internal/telephony/uicc/IccCardStatus;ILcom/android/…
41602 …plicationStatus;->PinStateFromRILInt(I)Lcom/android/internal/telephony/uicc/IccCardStatus$PinState;
41604 HSPLcom/android/internal/telephony/uicc/IccCardStatus$CardState;-><init>(Ljava/lang/String;I)V
41605 HSPLcom/android/internal/telephony/uicc/IccCardStatus$PinState;-><init>(Ljava/lang/String;I)V
41606 …m/android/internal/telephony/uicc/IccCardStatus$PinState;->values()[Lcom/android/internal/telephon…
41607 HSPLcom/android/internal/telephony/uicc/IccCardStatus;->setCardState(I)V
41608 HSPLcom/android/internal/telephony/uicc/IccCardStatus;->setUniversalPinState(I)V
41609 HSPLcom/android/internal/telephony/uicc/IccCardStatus;->toString()Ljava/lang/String;
41723 …lephony/uicc/UiccCard;->getCardState()Lcom/android/internal/telephony/uicc/IccCardStatus$CardState;
[all …]