/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 | 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 | 67 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 …]
|
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 | 77 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()
|
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()
|
/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 | 33 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()
|
D | UiccProfile.java | 62 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()
|
D | UiccStateChangedLauncher.java | 28 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
D | IccCardStatus.java | 27 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 | 21 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
|
D | UiccController.java | 690 IccCardStatus status = (IccCardStatus)ar.result; in onGetIccCardStatusDone() 765 private boolean eidIsNotSupported(IccCardStatus status) { in eidIsNotSupported()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioResponse.java | 60 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 …]
|
D | TelephonyComponentFactory.java | 45 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/ |
D | SimSlotState.java | 19 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 77 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()
|
D | SubscriptionControllerTest.java | 20 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()
|
D | TelephonyTest.java | 92 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/ |
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/metrics/ |
D | SimSlotStateTest.java | 26 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
/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/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()
|