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.java58 public CardState mCardState; field in IccCardStatus
69 mCardState = CardState.CARDSTATE_ABSENT; in setCardState()
72 mCardState = CardState.CARDSTATE_PRESENT; in setCardState()
75 mCardState = CardState.CARDSTATE_ERROR; in setCardState()
112 sb.append("IccCardState {").append(mCardState).append(",") in toString()
DUiccCard.java76 private CardState mCardState; field in UiccCard
107 mCardState = ics.mCardState; in UiccCard()
112 mCardState = ics.mCardState; in UiccCard()
137 CardState oldState = mCardState; in update()
138 mCardState = ics.mCardState; in update()
168 log("Before privilege rules: " + mCarrierPrivilegeRules + " : " + mCardState); in update()
169 if (mCarrierPrivilegeRules == null && mCardState == CardState.CARDSTATE_PRESENT) { in update()
172 … } else if (mCarrierPrivilegeRules != null && mCardState != CardState.CARDSTATE_PRESENT) { in update()
184 mCardState == CardState.CARDSTATE_ABSENT) { in update()
189 mCardState != CardState.CARDSTATE_ABSENT) { in update()
[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.java189 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testUpdateUiccCardState()
241 mIccCardStatus.mCardState = IccCardStatus.CardState.CARDSTATE_PRESENT; in testCardAbsentListener()
247 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
1109 CardState oldState = mCardState; in updateIccAvailability()
1110 mCardState = newState; in updateIccAvailability()