/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; 113 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateInactiveSlotStatus() 119 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus() 128 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mUiccSlot.getCardState()); in testUpdateInactiveSlotStatus() 138 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus() 146 iss.cardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUpdateActiveSlotStatus() 155 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateActiveSlotStatus() 173 iss.cardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateSlotStatusEuiccIsSupported() 180 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mUiccSlot.getCardState()); in testUpdateSlotStatusEuiccIsSupported() [all …]
|
D | UiccCardTest.java | 42 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()
|
D | UiccControllerTest.java | 68 private IccCardStatus mIccCardStatus; 88 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus() 245 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testCardIdFromIccStatus() 248 IccCardStatus ics = new IccCardStatus(); in testCardIdFromIccStatus() 337 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testGetAllUiccCardInfos() 340 IccCardStatus ics = new IccCardStatus(); in testGetAllUiccCardInfos() 374 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mMockCard).getCardState(); in testIccidWithTrailingF() 377 IccCardStatus ics = new IccCardStatus(); in testIccidWithTrailingF() 411 IccCardStatus ics = new IccCardStatus(); in testGetAllUiccCardInfosNullCard() 444 IccCardStatus ics = new IccCardStatus(); in testEidNotSupported() [all …]
|
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 | 78 private IccCardStatus mIccCardStatus; 92 IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in composeUiccApplicationStatus() 191 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile() 208 mIccCardStatus.mUniversalPinState = IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; in testUpdateUiccProfilePinState() 210 assertEquals(IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED, in testUpdateUiccProfilePinState() 505 doReturn(IccCardStatus.CardState.CARDSTATE_ERROR).when(mUiccCard).getCardState(); in testUpdateExternalState() 510 doReturn(IccCardStatus.CardState.CARDSTATE_RESTRICTED).when(mUiccCard).getCardState(); in testUpdateExternalState() 515 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccCard).getCardState(); in testUpdateExternalState()
|
D | UiccCardApplicationTest.java | 70 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()
|
D | PinStorageTest.java | 18 import static com.android.internal.telephony.uicc.IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED;
|
/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; 68 public UiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock) { in UiccCard() 86 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 | 70 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 71 import com.android.internal.telephony.uicc.IccCardStatus.PinState; 111 new UiccCardApplication[IccCardStatus.CARD_MAX_APPS]; 307 public UiccProfile(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, in UiccProfile() 569 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_ERROR) { in updateExternalState() 574 if (mUiccCard.getCardState() == IccCardStatus.CardState.CARDSTATE_RESTRICTED) { in updateExternalState() 1062 != IccCardStatus.CardState.CARDSTATE_ABSENT) { in hasIccCard() 1073 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update() 1484 int index = IccCardStatus.CARD_MAX_APPS; in getApplication()
|
D | IccCardStatus.java | 28 public class IccCardStatus { class
|
D | UiccSlot.java | 39 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 85 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 | PinStorage.java | 36 import static com.android.internal.telephony.uicc.IccCardStatus.PinState.PINSTATE_ENABLED_NOT_VERIF… 37 import static com.android.internal.telephony.uicc.IccCardStatus.PinState.PINSTATE_ENABLED_VERIFIED; 68 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
|
D | UiccController.java | 705 IccCardStatus status = (IccCardStatus)ar.result; in onGetIccCardStatusDone() 780 private boolean eidIsNotSupported(IccCardStatus status) { in eidIsNotSupported()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | SimSlotState.java | 19 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioResponse.java | 68 import com.android.internal.telephony.uicc.IccCardStatus; 1927 private IccCardStatus convertHalCardStatus(CardStatus cardStatus) { in convertHalCardStatus() 1928 IccCardStatus iccCardStatus = new IccCardStatus(); in convertHalCardStatus() 1938 > com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS) { in convertHalCardStatus() 1940 com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS; in convertHalCardStatus() 1961 private IccCardStatus convertHalCardStatus_1_5( in convertHalCardStatus_1_5() 1963 IccCardStatus iccCardStatus = new IccCardStatus(); in convertHalCardStatus_1_5() 1980 > com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS) { in convertHalCardStatus_1_5() 1982 com.android.internal.telephony.uicc.IccCardStatus.CARD_MAX_APPS; in convertHalCardStatus_1_5() 2048 IccCardStatus iccCardStatus = convertHalCardStatus(cardStatus); in responseIccCardStatus() [all …]
|
D | TelephonyComponentFactory.java | 45 import com.android.internal.telephony.uicc.IccCardStatus; 337 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 79 import com.android.internal.telephony.uicc.IccCardStatus; 1359 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications() 1363 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testEnableUiccApplications() 1378 doReturn(IccCardStatus.CardState.CARDSTATE_ABSENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded() 1381 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementNotNeeded() 1404 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementSuccess() 1456 doReturn(IccCardStatus.CardState.CARDSTATE_PRESENT).when(mUiccSlot).getCardState(); in testReapplyUiccApplicationEnablementRetry()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 50 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/euicc/ |
D | EuiccCardControllerTest.java | 37 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | SimSlotStateTest.java | 28 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCard.java | 39 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()
|