Home
last modified time | relevance | path

Searched refs:IccCardConstants (Results 1 – 23 of 23) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionInfoUpdater.java204 case IccCardConstants.INTENT_VALUE_ICC_ABSENT: return EVENT_SIM_ABSENT; in internalIccStateToMessage()
205 case IccCardConstants.INTENT_VALUE_ICC_UNKNOWN: return EVENT_SIM_UNKNOWN; in internalIccStateToMessage()
206 case IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR: return EVENT_SIM_IO_ERROR; in internalIccStateToMessage()
207 case IccCardConstants.INTENT_VALUE_ICC_CARD_RESTRICTED: return EVENT_SIM_RESTRICTED; in internalIccStateToMessage()
208 case IccCardConstants.INTENT_VALUE_ICC_NOT_READY: return EVENT_SIM_NOT_READY; in internalIccStateToMessage()
209 case IccCardConstants.INTENT_VALUE_ICC_LOCKED: return EVENT_SIM_LOCKED; in internalIccStateToMessage()
210 case IccCardConstants.INTENT_VALUE_ICC_LOADED: return EVENT_SIM_LOADED; in internalIccStateToMessage()
211 case IccCardConstants.INTENT_VALUE_ICC_READY: return EVENT_SIM_READY; in internalIccStateToMessage()
212 case IccCardConstants.INTENT_VALUE_ICC_IMSI: return EVENT_SIM_IMSI; in internalIccStateToMessage()
274 broadcastSimStateChanged(msg.arg1, IccCardConstants.INTENT_VALUE_ICC_UNKNOWN, null); in handleMessage()
[all …]
DIntentBroadcaster.java56 + i.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE)
90 + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE) in broadcastStickyIntent()
DSimActivationTracker.java82 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals( in SimActivationTracker()
83 intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE))) { in SimActivationTracker()
DCarrierActionAgent.java90 final String iccState = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE);
166 if (IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(iccState)) { in handleMessage()
184 } else if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(iccState)) { in handleMessage()
DIccCard.java24 import com.android.internal.telephony.IccCardConstants.State;
DCarrierResolver.java148 case IccCardConstants.INTENT_VALUE_ICC_ABSENT: in resolveSubscriptionCarrierId()
149 case IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR: in resolveSubscriptionCarrierId()
154 case IccCardConstants.INTENT_VALUE_ICC_LOADED: in resolveSubscriptionCarrierId()
DSubscriptionController.java65 import com.android.internal.telephony.IccCardConstants.State;
2827 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
2837 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
2842 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
DGsmCdmaPhone.java3971 return new IccCard(IccCardConstants.State.UNKNOWN); in getIccCard()
3973 return new IccCard(IccCardConstants.State.ABSENT); in getIccCard()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java184 IccCardConstants.INTENT_VALUE_ICC_ABSENT, null, FAKE_SUB_ID_1); in testSimAbsent()
193 eq(IccCardConstants.INTENT_VALUE_ICC_ABSENT)); in testSimAbsent()
215 eq(IccCardConstants.INTENT_VALUE_ICC_ABSENT)); in testSimAbsentAndInactive()
224 IccCardConstants.INTENT_VALUE_ICC_UNKNOWN, null, FAKE_SUB_ID_1); in testSimUnknown()
232 eq(IccCardConstants.INTENT_VALUE_ICC_UNKNOWN)); in testSimUnknown()
241 IccCardConstants.INTENT_VALUE_ICC_NOT_READY, null, FAKE_SUB_ID_1); in testSimNotReady()
249 eq(IccCardConstants.INTENT_VALUE_ICC_NOT_READY)); in testSimNotReady()
261 IccCardConstants.INTENT_VALUE_ICC_NOT_READY, null, FAKE_SUB_ID_1); in testSimNotReadyEmptyProfile()
274 eq(IccCardConstants.INTENT_VALUE_ICC_NOT_READY)); in testSimNotReadyEmptyProfile()
288 IccCardConstants.INTENT_VALUE_ICC_NOT_READY, null, FAKE_SUB_ID_1); in testSimNotReadyDisabledUiccApps()
[all …]
DCarrierActionAgentTest.java91 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testCarrierActionResetOnAPM()
92 IccCardConstants.INTENT_VALUE_ICC_LOADED); in testCarrierActionResetOnAPM()
133 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testCarrierActionResetOnAPNChange()
134 IccCardConstants.INTENT_VALUE_ICC_LOADED); in testCarrierActionResetOnAPNChange()
DGsmCdmaPhoneTest.java1080 assertEquals(IccCardConstants.State.UNKNOWN, iccCard.getState()); in testGetIccCardUnknownAndAbsent()
1086 assertEquals(IccCardConstants.State.ABSENT, iccCard.getState()); in testGetIccCardUnknownAndAbsent()
1100 assertEquals(IccCardConstants.State.UNKNOWN, iccCard.getState()); in testGetEmptyIccCard()
DCarrierResolverTest.java207 mCarrierResolver.resolveSubscriptionCarrierId(IccCardConstants.INTENT_VALUE_ICC_ABSENT); in testCarrierMatchSimAbsent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java53 import com.android.internal.telephony.IccCardConstants;
140 private IccCardConstants.State mExternalState = IccCardConstants.State.UNKNOWN;
512 setExternalState(IccCardConstants.State.CARD_IO_ERROR); in updateExternalState()
517 setExternalState(IccCardConstants.State.CARD_RESTRICTED); in updateExternalState()
532 setExternalState(IccCardConstants.State.NOT_READY); in updateExternalState()
538 IccCardConstants.State lockedState = null; in updateExternalState()
545 lockedState = IccCardConstants.State.PERM_DISABLED; in updateExternalState()
550 lockedState = IccCardConstants.State.PIN_REQUIRED; in updateExternalState()
554 lockedState = IccCardConstants.State.PUK_REQUIRED; in updateExternalState()
559 lockedState = IccCardConstants.State.NETWORK_LOCKED; in updateExternalState()
[all …]
DUiccController.java48 import com.android.internal.telephony.IccCardConstants;
626 static String getIccStateIntentString(IccCardConstants.State state) { in getIccStateIntentString()
628 case ABSENT: return IccCardConstants.INTENT_VALUE_ICC_ABSENT; in getIccStateIntentString()
629 case PIN_REQUIRED: return IccCardConstants.INTENT_VALUE_ICC_LOCKED; in getIccStateIntentString()
630 case PUK_REQUIRED: return IccCardConstants.INTENT_VALUE_ICC_LOCKED; in getIccStateIntentString()
631 case NETWORK_LOCKED: return IccCardConstants.INTENT_VALUE_ICC_LOCKED; in getIccStateIntentString()
632 case READY: return IccCardConstants.INTENT_VALUE_ICC_READY; in getIccStateIntentString()
633 case NOT_READY: return IccCardConstants.INTENT_VALUE_ICC_NOT_READY; in getIccStateIntentString()
634 case PERM_DISABLED: return IccCardConstants.INTENT_VALUE_ICC_LOCKED; in getIccStateIntentString()
635 case CARD_IO_ERROR: return IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR; in getIccStateIntentString()
[all …]
DUiccSlot.java36 import com.android.internal.telephony.IccCardConstants;
193 mContext, IccCardConstants.State.ABSENT, null, mPhoneId); in updateCardStateAbsent()
416 mContext, IccCardConstants.State.UNKNOWN, null, mPhoneId); in onRadioStateUnavailable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java34 import com.android.internal.telephony.IccCardConstants;
158 IccCardConstants.INTENT_VALUE_ICC_ABSENT, null, phoneId); in testUpdateActiveSlotStatus()
246 IccCardConstants.INTENT_VALUE_ICC_ABSENT, null, phoneId); in testUpdateAbsentState()
298 IccCardConstants.INTENT_VALUE_ICC_ABSENT, null, phoneId); in testUiccSlotCreateAndDispose()
323 IccCardConstants.INTENT_VALUE_ICC_UNKNOWN, null, phoneId); in testUiccSlotBroadcastAbsent()
333 IccCardConstants.INTENT_VALUE_ICC_ABSENT, null, phoneId); in testUiccSlotBroadcastAbsent()
DUiccProfileTest.java46 import com.android.internal.telephony.IccCardConstants.State;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/
DVendorDataResetEventTracker.java19 import com.android.internal.telephony.IccCardConstants;
98 .getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE);
100 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java51 import com.android.internal.telephony.IccCardConstants;
146 String value = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE);
155 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(value)) {
234 if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(mSimStates[phoneId]) || in isSimReady()
235 IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(mSimStates[phoneId]) || in isSimReady()
236 IccCardConstants.INTENT_VALUE_ICC_IMSI.equals(mSimStates[phoneId])) { in isSimReady()
DVendorSubscriptionInfoUpdater.java28 import com.android.internal.telephony.IccCardConstants;
111 broadcastSimStateChanged(phoneId, IccCardConstants.INTENT_VALUE_ICC_READY, null); in handleSimReady()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccCardConstants.java25 public class IccCardConstants { class
/frameworks/base/config/
Dpreloaded-classes8669 com.android.internal.telephony.IccCardConstants$State
Dboot-image-profile.txt49200 Lcom/android/internal/telephony/IccCardConstants$State;