Home
last modified time | relevance | path

Searched refs:CardState (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardStatus.java27 public enum CardState { enum in IccCardStatus
58 public CardState mCardState;
69 mCardState = CardState.CARDSTATE_ABSENT; in setCardState()
72 mCardState = CardState.CARDSTATE_PRESENT; in setCardState()
75 mCardState = CardState.CARDSTATE_ERROR; in setCardState()
DUiccCard.java49 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
74 private CardState mCardState;
135 CardState oldState = mCardState; in update()
167 if (mCarrierPrivilegeRules == null && mCardState == CardState.CARDSTATE_PRESENT) { in update()
170 … } else if (mCarrierPrivilegeRules != null && mCardState != CardState.CARDSTATE_PRESENT) { in update()
181 if (oldState != CardState.CARDSTATE_ABSENT && in update()
182 mCardState == CardState.CARDSTATE_ABSENT) { in update()
186 } else if (oldState == CardState.CARDSTATE_ABSENT && in update()
187 mCardState != CardState.CARDSTATE_ABSENT) { in update()
266 if (mCardState == CardState.CARDSTATE_ABSENT) { in registerForAbsent()
[all …]
DIccCardProxy.java49 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
346 CardState state = CardState.CARDSTATE_ABSENT; in updateIccAvailability()
392 if (mUiccCard.getCardState() == CardState.CARDSTATE_ABSENT) { in updateExternalState()
401 if (mUiccCard.getCardState() == CardState.CARDSTATE_ERROR) { in updateExternalState()
899 if (mUiccCard != null && mUiccCard.getCardState() != CardState.CARDSTATE_ABSENT) { in hasIccCard()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java40 import com.android.internal.telephony.uicc.IccCardStatus.CardState;
96 private CardState mCardState = CardState.CARDSTATE_ABSENT;
242 broadcastCardStateAndIccRefreshResp(CardState.CARDSTATE_ABSENT, null); in dispose()
829 broadcastCardStateAndIccRefreshResp(CardState.CARDSTATE_PRESENT, in handleMessage()
862 private void broadcastCardStateAndIccRefreshResp(CardState cardState, in broadcastCardStateAndIccRefreshResp()
865 boolean cardPresent = (cardState == CardState.CARDSTATE_PRESENT); in broadcastCardStateAndIccRefreshResp()
1098 CardState newState = CardState.CARDSTATE_ABSENT; in updateIccAvailability()
1103 CardState oldState = mCardState; in updateIccAvailability()
1106 if (oldState == CardState.CARDSTATE_PRESENT && in updateIccAvailability()
1107 newState != CardState.CARDSTATE_PRESENT) { in updateIccAvailability()
[all …]