Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java32 import com.android.internal.telephony.IccCardConstants;
43 private IccCardConstants.State mSimState = IccCardConstants.State.READY;
85 boolean simReadyOrUnknown = mSimState == IccCardConstants.State.READY in notePhoneDataConnectionState()
86 || mSimState == IccCardConstants.State.UNKNOWN; in notePhoneDataConnectionState()
101 String stateExtra = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in updateSimState()
102 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in updateSimState()
103 mSimState = IccCardConstants.State.ABSENT; in updateSimState()
104 } else if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in updateSimState()
105 mSimState = IccCardConstants.State.READY; in updateSimState()
106 } else if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals(stateExtra)) { in updateSimState()
[all …]
DTethering.java79 import com.android.internal.telephony.IccCardConstants;
1403 return IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(state); in isSimCardLoaded()
1436 IccCardConstants.INTENT_KEY_ICC_STATE); in onReceive()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java144 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimAbsent()
145 IccCardConstants.INTENT_VALUE_ICC_ABSENT); in testSimAbsent()
157 eq(IccCardConstants.INTENT_VALUE_ICC_ABSENT)); in testSimAbsent()
165 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimUnknown()
166 IccCardConstants.INTENT_VALUE_ICC_UNKNOWN); in testSimUnknown()
176 eq(IccCardConstants.INTENT_VALUE_ICC_UNKNOWN)); in testSimUnknown()
184 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimError()
185 IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR); in testSimError()
194 eq(IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR)); in testSimError()
202 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testWrongSimState()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardProxy.java36 import com.android.internal.telephony.IccCardConstants;
37 import com.android.internal.telephony.IccCardConstants.State;
265 broadcastIccStateChangedIntent(IccCardConstants.INTENT_VALUE_ICC_IMSI, null); in handleMessage()
321 broadcastInternalIccStateChangedIntent(IccCardConstants.INTENT_VALUE_ICC_LOADED, null); in onRecordsLoaded()
480 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, value); in broadcastIccStateChangedIntent()
481 intent.putExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON, reason); in broadcastIccStateChangedIntent()
500 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, value); in broadcastInternalIccStateChangedIntent()
501 intent.putExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON, reason); in broadcastInternalIccStateChangedIntent()
524 … if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals(getIccStateIntentString(mExternalState))) { in setExternalState()
584 case ABSENT: return IccCardConstants.INTENT_VALUE_ICC_ABSENT; in getIccStateIntentString()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionInfoUpdater.java202 String simStatus = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE);
207 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(simStatus)) {
209 } else if (IccCardConstants.INTENT_VALUE_ICC_UNKNOWN.equals(simStatus)) {
211 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR.equals(simStatus)) {
213 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_RESTRICTED.equals(simStatus)) {
219 if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals(simStatus)) {
221 IccCardConstants.INTENT_KEY_LOCKED_REASON);
223 } else if (IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(simStatus)) {
291 broadcastSimStateChanged(slotId, IccCardConstants.INTENT_VALUE_ICC_LOCKED, in handleMessage()
294 updateCarrierServices(slotId, IccCardConstants.INTENT_VALUE_ICC_LOCKED); in handleMessage()
[all …]
DCarrierActionAgent.java78 final String iccState = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE);
84 if (IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(iccState) ||
85 IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(iccState)) {
DSimActivationTracker.java83 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals( in SimActivationTracker()
84 intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE))) { in SimActivationTracker()
DIccCard.java22 import com.android.internal.telephony.IccCardConstants.State;
DCarrierSignalAgent.java105 && IccCardConstants.State.ABSENT == mPhone.getIccCard().getState()) {
DSubscriptionController.java42 import com.android.internal.telephony.IccCardConstants.State;
1675 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
1680 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
1685 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java38 import com.android.internal.telephony.IccCardConstants;
39 import com.android.internal.telephony.IccCardConstants.State;
124 if (simState == IccCardConstants.State.READY) { in updateCarrierText()
230 private CharSequence getCarrierTextForSimState(IccCardConstants.State simState, in getCarrierTextForSimState()
292 private StatusMode getStatusForIccState(IccCardConstants.State simState) { in getStatusForIccState()
300 && (simState == IccCardConstants.State.ABSENT || in getStatusForIccState()
301 simState == IccCardConstants.State.PERM_DISABLED); in getStatusForIccState()
304 simState = missingAndNotProvisioned ? IccCardConstants.State.NETWORK_LOCKED : simState; in getStatusForIccState()
340 private CharSequence getCarrierHelpTextForSimState(IccCardConstants.State simState, in getCarrierHelpTextForSimState()
DKeyguardSecurityModel.java22 import com.android.internal.telephony.IccCardConstants;
61 monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED))) { in getSecurityMode()
66 monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED))) { in getSecurityMode()
DKeyguardUpdateMonitor.java72 import com.android.internal.telephony.IccCardConstants;
73 import com.android.internal.telephony.IccCardConstants.State;
681 + " state: " + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE)
801 String stateExtra = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in fromIntent()
805 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in fromIntent()
807 .getStringExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON); in fromIntent()
809 if (IccCardConstants.INTENT_VALUE_ABSENT_ON_PERM_DISABLED.equals( in fromIntent()
811 state = IccCardConstants.State.PERM_DISABLED; in fromIntent()
813 state = IccCardConstants.State.ABSENT; in fromIntent()
815 } else if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in fromIntent()
[all …]
DKeyguardUpdateMonitorCallback.java26 import com.android.internal.telephony.IccCardConstants;
123 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { } in onSimStateChanged()
DKeyguardSimPinView.java20 import com.android.internal.telephony.IccCardConstants;
21 import com.android.internal.telephony.IccCardConstants.State;
79 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED); in resetState()
DKeyguardSimPukView.java38 import com.android.internal.telephony.IccCardConstants;
40 import com.android.internal.telephony.IccCardConstants.State;
120 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED); in reset()
DEmergencyButton.java38 import com.android.internal.telephony.IccCardConstants.State;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java55 import com.android.internal.telephony.IccCardConstants;
136 IccCardConstants.State mSimState = IccCardConstants.State.READY;
314 String stateExtra = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in updateSimState()
315 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in updateSimState()
316 mSimState = IccCardConstants.State.ABSENT; in updateSimState()
317 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR.equals(stateExtra)) { in updateSimState()
318 mSimState = IccCardConstants.State.CARD_IO_ERROR; in updateSimState()
319 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_RESTRICTED.equals(stateExtra)) { in updateSimState()
320 mSimState = IccCardConstants.State.CARD_RESTRICTED; in updateSimState()
321 } else if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in updateSimState()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java35 import com.android.internal.telephony.IccCardConstants;
108 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in update()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccCardConstants.java23 public class IccCardConstants { class
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java21 import static com.android.internal.telephony.IccCardConstants.State.ABSENT;
71 import com.android.internal.telephony.IccCardConstants;
413 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) {
1264 mUpdateMonitor.getNextSubIdForState(IccCardConstants.State.PERM_DISABLED)); in doKeyguardLocked()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java102 import com.android.internal.telephony.IccCardConstants;
470 String state = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in checkAndStartWifi()
471 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(state)) { in checkAndStartWifi()
476 } else if (IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(state)) { in checkAndStartWifi()
/frameworks/base/
Dpreloaded-classes184 [Lcom.android.internal.telephony.IccCardConstants$State;
2815 com.android.internal.telephony.IccCardConstants$State
Dcompiled-classes-phone5561 com.android.internal.telephony.IccCardConstants$State
/frameworks/base/services/
Dprofile-classes3332 Lcom/android/internal/telephony/IccCardConstants$State;