Home
last modified time | relevance | path

Searched refs:mCardState (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccSlot.java57 private CardState mCardState; field in UiccSlot
75 mCardState = null; in UiccSlot()
84 CardState oldState = mCardState; in update()
85 mCardState = ics.mCardState; in update()
104 || mUiccCard == null) && mCardState != CardState.CARDSTATE_ABSENT) { in update()
143 CardState oldState = mCardState; in update()
146 mCardState = iss.cardState; in update()
176 && mCardState == CardState.CARDSTATE_ABSENT; in absentStateUpdateNeeded()
209 if (mCardState == null || mCardState == CardState.CARDSTATE_ABSENT) { in isStateUnknown()
377 if (mCardState == null) { in getCardState()
[all …]
DIccCardStatus.java71 public CardState mCardState; field in IccCardStatus
91 mCardState = CardState.CARDSTATE_ABSENT; in setCardState()
94 mCardState = CardState.CARDSTATE_PRESENT; in setCardState()
97 mCardState = CardState.CARDSTATE_ERROR; in setCardState()
100 mCardState = CardState.CARDSTATE_RESTRICTED; in setCardState()
137 sb.append("IccCardState {").append(mCardState).append(",") in toString()
DUiccCard.java56 private CardState mCardState; field in UiccCard
69 mCardState = ics.mCardState; in UiccCard()
87 mCardState = ics.mCardState; in update()
93 if (mCardState != CardState.CARDSTATE_ABSENT) { in update()
173 return mCardState; in getCardState()
530 pw.println(" mCardState=" + mCardState); in dump()
DUiccProfile.java962 log("Before privilege rules: " + mCarrierPrivilegeRules + " : " + ics.mCardState); in update()
963 if (mCarrierPrivilegeRules == null && ics.mCardState == CardState.CARDSTATE_PRESENT) { in update()
967 && ics.mCardState != CardState.CARDSTATE_PRESENT) { in update()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccCardStatusTest.java57 assertEquals(IccCardStatus.CardState.CARDSTATE_ABSENT, mIccCardStatus.mCardState); in testSetCardState()
61 assertEquals(IccCardStatus.CardState.CARDSTATE_PRESENT, mIccCardStatus.mCardState); in testSetCardState()
65 assertEquals(IccCardStatus.CardState.CARDSTATE_ERROR, mIccCardStatus.mCardState); in testSetCardState()
DUiccSlotTest.java242 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUpdateAbsentState()
285 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUiccSlotCreateAndDispose()
295 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUiccSlotCreateAndDispose()
310 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUiccSlotBroadcastAbsent()
328 mIccCardStatus.mCardState = CardState.CARDSTATE_ABSENT; in testUiccSlotBroadcastAbsent()
348 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testNotRemovable()
364 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testIsRemovable()
DUiccCardTest.java119 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
156 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
DUiccProfileTest.java240 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccProfile()
/frameworks/base/core/java/android/nfc/tech/
DNdef.java128 private final int mCardState; field in Ndef
163 mCardState = extras.getInt(EXTRA_NDEF_CARDSTATE); in Ndef()
242 return (mCardState == NDEF_MODE_READ_WRITE); in isWritable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java116 private CardState mCardState = CardState.CARDSTATE_ABSENT; field in CatService
1165 CardState oldState = mCardState; in updateIccAvailability()
1166 mCardState = newState; in updateIccAvailability()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java148 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()