Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardStatus.java60 public CardState mCardState; field in IccCardStatus
71 mCardState = CardState.CARDSTATE_ABSENT; in setCardState()
74 mCardState = CardState.CARDSTATE_PRESENT; in setCardState()
77 mCardState = CardState.CARDSTATE_ERROR; in setCardState()
80 mCardState = CardState.CARDSTATE_RESTRICTED; in setCardState()
117 sb.append("IccCardState {").append(mCardState).append(",") in toString()
DUiccCard.java74 private CardState mCardState; field in UiccCard
105 mCardState = ics.mCardState; in UiccCard()
127 CardState oldState = mCardState; in update()
128 mCardState = ics.mCardState; in update()
158 log("Before privilege rules: " + mCarrierPrivilegeRules + " : " + mCardState); in update()
159 if (mCarrierPrivilegeRules == null && mCardState == CardState.CARDSTATE_PRESENT) { in update()
163 && mCardState != CardState.CARDSTATE_PRESENT) { in update()
175 mCardState == CardState.CARDSTATE_ABSENT) { in update()
180 mCardState != CardState.CARDSTATE_ABSENT) { in update()
257 if (mCardState == CardState.CARDSTATE_ABSENT) { in registerForAbsent()
[all …]
/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.java196 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
248 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testCardAbsentListener()
254 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_ABSENT; in testCardAbsentListener()
/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.java96 private CardState mCardState = CardState.CARDSTATE_ABSENT; field in CatService
1112 CardState oldState = mCardState; in updateIccAvailability()
1113 mCardState = newState; in updateIccAvailability()