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;
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 …]
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 testUiccCartdInfoCorrectness()
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.java77 private IccCardStatus mIccCardStatus;
91 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus()
190 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile()
207 mIccCardStatus.mUniversalPinState = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in testUpdateUiccProfilePinState()
209 assertEquals(IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED, in testUpdateUiccProfilePinState()
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()
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];
261 public UiccProfile(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, in UiccProfile()
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()
1010 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update()
1412 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.java690 IccCardStatus status = (IccCardStatus)ar.result; in onGetIccCardStatusDone()
765 private boolean eidIsNotSupported(IccCardStatus status) { in eidIsNotSupported()
/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.java45 import com.android.internal.telephony.uicc.IccCardStatus;
334 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSimSlotState.java19 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java77 import com.android.internal.telephony.uicc.IccCardStatus;
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()
DSubscriptionControllerTest.java20 import static com.android.internal.telephony.uicc.IccCardStatus.CardState.CARDSTATE_PRESENT;
55 import com.android.internal.telephony.uicc.IccCardStatus;
1119 IccCardStatus.CardState cardState = CARDSTATE_PRESENT; in testGetAvailableSubscriptionList_withTrailingF()
1189 IccCardStatus.CardState cardState = CARDSTATE_PRESENT; in testGetAvailableSubscriptionList()
DTelephonyTest.java92 import com.android.internal.telephony.uicc.IccCardStatus;
453 nullable(IccCardStatus.class), anyInt(), nullable(UiccCard.class), in setUp()
/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;
/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