/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccCardStatusTest.java | 31 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 …]
|
D | UiccSlotTest.java | 36 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 …]
|
D | UiccControllerTest.java | 61 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()
|
D | UiccCardTest.java | 52 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()
|
D | UiccStateChangedLauncherTest.java | 40 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 59 private IccCardStatus makeCardStatus(CardState state) { in makeCardStatus() 60 IccCardStatus status = new IccCardStatus(); in makeCardStatus()
|
D | UiccProfileTest.java | 74 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()
|
D | UiccCardApplicationTest.java | 104 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/ |
D | IccSlotStatus.java | 32 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()
|
D | UiccCard.java | 34 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()
|
D | UiccStateChangedLauncher.java | 28 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
D | UiccProfile.java | 61 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()
|
D | IccCardStatus.java | 27 public class IccCardStatus { class
|
D | UiccSlot.java | 37 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 81 public void update(CommandsInterface ci, IccCardStatus ics, int phoneId, int slotIndex) { in update()
|
D | IccCardApplicationStatus.java | 22 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
|
D | UiccController.java | 599 IccCardStatus status = (IccCardStatus)ar.result; in onGetIccCardStatusDone() 661 private boolean eidIsNotSupported(IccCardStatus status) { in eidIsNotSupported()
|
D | UiccCardApplication.java | 33 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyComponentFactory.java | 45 import com.android.internal.telephony.uicc.IccCardStatus; 341 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics,
|
D | RadioResponse.java | 58 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()
|
D | CommandsInterface.java | 34 import com.android.internal.telephony.uicc.IccCardStatus;
|
D | ServiceStateTracker.java | 101 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 46 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/ |
D | EuiccCardControllerTest.java | 37 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 79 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/ |
D | SimulatedCommands.java | 68 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/ |
D | CatService.java | 47 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|