Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccCardStatusTest.java31 private IccCardStatus mIccCardStatus;
40 mIccCardStatus = new IccCardStatus(); in setUp()
57 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_ABSENT.ordinal()); in testSetCardState()
58 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mIccCardStatus.mCardState); in testSetCardState()
61 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_PRESENT.ordinal()); in testSetCardState()
62 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mIccCardStatus.mCardState); in testSetCardState()
65 mIccCardStatus.setCardState(IccCardStatus.CardState.CARDSTATE_ERROR.ordinal()); in testSetCardState()
66 assertEquals(IccCardStatus.CardState.CARDSTATE_ERROR, mIccCardStatus.mCardState); in testSetCardState()
73 mIccCardStatus.setUniversalPinState(IccCardStatus.PinState.PINSTATE_UNKNOWN.ordinal()); in testSetPinState()
74 assertEquals(IccCardStatus.PinState.PINSTATE_UNKNOWN, mIccCardStatus.mUniversalPinState); in testSetPinState()
[all …]
DUiccSlotTest.java38 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
49 private IccCardStatus mIccCardStatus;
84 mIccCardStatus = mock(IccCardStatus.class); in setUp()
119 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateInactiveSlotStatus()
124 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus()
132 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus()
141 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus()
151 iss.cardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUpdateActiveSlotStatus()
159 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus()
172 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsSupported()
[all …]
DUiccCardTest.java47 private IccCardStatus mIccCardStatus;
52 mIccCardStatus = mock(IccCardStatus.class); in setUp()
58 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
81 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUiccCartdInfoCorrectness()
89 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
95 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccCard.getCardState()); in testUpdateUiccCardState()
DPortUtilsTest.java60 IccCardStatus.CardState.CARDSTATE_PRESENT, in testConvertFromHalPortIndex()
63 IccCardStatus.CardState.CARDSTATE_PRESENT, in testConvertFromHalPortIndex()
66 IccCardStatus.CardState.CARDSTATE_ABSENT, in testConvertFromHalPortIndex()
71 IccCardStatus.CardState.CARDSTATE_ABSENT, in testConvertFromHalPortIndex()
DUiccControllerTest.java70 private IccCardStatus mIccCardStatus;
86 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
94 mIccCardStatus = mock(IccCardStatus.class); in setUp()
119 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
259 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testCardIdFromIccStatus()
262 IccCardStatus ics = new IccCardStatus(); in testCardIdFromIccStatus()
360 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testGetAllUiccCardInfos()
371 IccCardStatus ics = new IccCardStatus(); in testGetAllUiccCardInfos()
411 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testIccidWithTrailingF()
422 IccCardStatus ics = new IccCardStatus(); in testIccidWithTrailingF()
[all …]
DUiccStateChangedLauncherTest.java42 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
56 private IccCardStatus makeCardStatus(CardState state) { in makeCardStatus()
57 IccCardStatus status = new IccCardStatus(); in makeCardStatus()
DUiccPortTest.java56 private IccCardStatus mIccCardStatus;
72 mIccCardStatus = mock(IccCardStatus.class); in setUp()
78 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
DUiccProfileTest.java82 private IccCardStatus mIccCardStatus;
96 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
104 mIccCardStatus = mock(IccCardStatus.class); in setUp()
220 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile()
237 mIccCardStatus.mUniversalPinState = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in testUpdateUiccProfilePinState()
239 assertEquals(IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED, in testUpdateUiccProfilePinState()
521 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState()
526 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState()
531 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
DUiccCardApplicationTest.java73 mUiccCardAppStatus.pin1 = IccCardStatus.PinState.PINSTATE_ENABLED_NOT_VERIFIED; in setUp()
74 mUiccCardAppStatus.pin2 = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in setUp()
234 mUiccCardAppStatus.pin1 = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in testAppStateChangeNotification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccSlotStatus.java67 public IccCardStatus.CardState cardState;
80 cardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in setCardState()
83 cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setCardState()
86 cardState = IccCardStatus.CardState.CARDSTATE_ERROR; in setCardState()
89 cardState = IccCardStatus.CardState.CARDSTATE_RESTRICTED; in setCardState()
DUiccCard.java27 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
61 public UiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock, in UiccCard()
106 public void update(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId) { in update()
DUiccPort.java67 public UiccPort(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock, in UiccPort()
78 public void update(Context c, CommandsInterface ci, IccCardStatus ics, UiccCard uiccCard) { in update()
134 public IccCardStatus.PinState getUniversalPinState() { in getUniversalPinState()
139 return IccCardStatus.PinState.PINSTATE_UNKNOWN; in getUniversalPinState()
DPortUtils.java65 IccCardStatus.CardState cardState, MultipleEnabledProfilesMode supportedMepMode) { in convertFromHalPortIndex()
DUiccStateChangedLauncher.java28 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
DUiccProfile.java74 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
75 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
117 new UiccCardApplication[IccCardStatus.CARD_MAX_APPS];
331 public UiccProfile(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, in UiccProfile()
618 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState()
623 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState()
1111 != IccCardStatus.CardState.CARDSTATE_ABSENT) { in hasIccCard()
1122 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update()
1508 int index = IccCardStatus.CARD_MAX_APPS; in getApplication()
DIccCardStatus.java32 public class IccCardStatus { class
DIccCardApplicationStatus.java22 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
DUiccSlot.java45 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
118 public void update(CommandsInterface ci, IccCardStatus ics, int phoneId, int slotIndex) { in update()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java36 import com.android.internal.telephony.uicc.IccCardStatus;
76 private IccCardStatus mMockIccCardStatus;
86 mMockIccCardStatus = mock(IccCardStatus.class); in setUp()
92 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
119 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mEuiccCard.getCardState()); in testEuiccCardInfoCorrectness()
DEuiccPortTest.java51 import com.android.internal.telephony.uicc.IccCardStatus;
100 private IccCardStatus mMockIccCardStatus;
112 mMockIccCardStatus = mock(IccCardStatus.class); in setUp()
120 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java31 import com.android.internal.telephony.uicc.IccCardStatus;
48 public EuiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock, in EuiccCard()
79 public void update(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId) { in update()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cat/
DCATServiceTest.java47 import com.android.internal.telephony.uicc.IccCardStatus;
79 private IccCardStatus mIccCardStatus;
123 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
133 mIccCardStatus = mock(IccCardStatus.class); in setUp()
/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/
DSimResponse.java29 import com.android.internal.telephony.uicc.IccCardStatus;
187 IccCardStatus iccCardStatus = RILUtils.convertHalCardStatus(cardStatus); in getIccCardStatusResponse()
DTelephonyComponentFactory.java53 import com.android.internal.telephony.uicc.IccCardStatus;
353 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics,

12