/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccCardStatusTest.java | 31 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 …]
|
D | UiccSlotTest.java | 38 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 …]
|
D | UiccCardTest.java | 47 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()
|
D | PortUtilsTest.java | 60 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()
|
D | UiccControllerTest.java | 70 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 …]
|
D | UiccStateChangedLauncherTest.java | 42 import com.android.internal.telephony.uicc.IccCardStatus.CardState; 56 private IccCardStatus makeCardStatus(CardState state) { in makeCardStatus() 57 IccCardStatus status = new IccCardStatus(); in makeCardStatus()
|
D | UiccPortTest.java | 56 private IccCardStatus mIccCardStatus; 72 mIccCardStatus = mock(IccCardStatus.class); in setUp() 78 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
|
D | UiccProfileTest.java | 82 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()
|
D | UiccCardApplicationTest.java | 73 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/ |
D | IccSlotStatus.java | 67 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()
|
D | UiccCard.java | 27 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()
|
D | UiccPort.java | 67 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()
|
D | PortUtils.java | 65 IccCardStatus.CardState cardState, MultipleEnabledProfilesMode supportedMepMode) { in convertFromHalPortIndex()
|
D | UiccStateChangedLauncher.java | 28 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
D | UiccProfile.java | 74 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()
|
D | IccCardStatus.java | 32 public class IccCardStatus { class
|
D | IccCardApplicationStatus.java | 22 import com.android.internal.telephony.uicc.IccCardStatus.PinState;
|
D | UiccSlot.java | 45 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/ |
D | EuiccCardTest.java | 36 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()
|
D | EuiccPortTest.java | 51 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/ |
D | EuiccCard.java | 31 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/ |
D | CATServiceTest.java | 47 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/ |
D | SimSlotState.java | 19 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SimResponse.java | 29 import com.android.internal.telephony.uicc.IccCardStatus; 187 IccCardStatus iccCardStatus = RILUtils.convertHalCardStatus(cardStatus); in getIccCardStatusResponse()
|
D | TelephonyComponentFactory.java | 53 import com.android.internal.telephony.uicc.IccCardStatus; 353 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics,
|