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.java56 private CardState mCardState; field in UiccSlot
73 mCardState = null; in UiccSlot()
82 CardState oldState = mCardState; in update()
83 mCardState = ics.mCardState; in update()
101 || mUiccCard == null) && mCardState != CardState.CARDSTATE_ABSENT) { in update()
134 CardState oldState = mCardState; in update()
137 mCardState = iss.cardState; in update()
164 && mCardState == CardState.CARDSTATE_ABSENT; in absentStateUpdateNeeded()
196 return (mCardState == null || mCardState == CardState.CARDSTATE_ABSENT) && mStateIsUnknown; in isStateUnknown()
340 if (mCardState == null) { in getCardState()
[all …]
DIccCardStatus.java62 public CardState mCardState; field in IccCardStatus
76 mCardState = CardState.CARDSTATE_ABSENT; in setCardState()
79 mCardState = CardState.CARDSTATE_PRESENT; in setCardState()
82 mCardState = CardState.CARDSTATE_ERROR; in setCardState()
85 mCardState = CardState.CARDSTATE_RESTRICTED; in setCardState()
122 sb.append("IccCardState {").append(mCardState).append(",") in toString()
DUiccCard.java52 private CardState mCardState; field in UiccCard
62 mCardState = ics.mCardState; in UiccCard()
80 mCardState = ics.mCardState; in update()
86 if (mCardState != CardState.CARDSTATE_ABSENT) { in update()
163 return mCardState; in getCardState()
511 pw.println(" mCardState=" + mCardState); in dump()
DUiccProfile.java913 log("Before privilege rules: " + mCarrierPrivilegeRules + " : " + ics.mCardState); in update()
914 if (mCarrierPrivilegeRules == null && ics.mCardState == CardState.CARDSTATE_PRESENT) { in update()
918 && 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()
DUiccCardTest.java119 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()
156 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
DUiccSlotTest.java238 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUpdateAbsentState()
251 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUiccSlotCreateAndDispose()
261 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testUiccSlotCreateAndDispose()
DUiccProfileTest.java238 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.java104 private CardState mCardState = CardState.CARDSTATE_ABSENT; field in CatService
1152 CardState oldState = mCardState; in updateIccAvailability()
1153 mCardState = newState; in updateIccAvailability()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java147 mMockIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in setUp()