/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DataConnectionStats.java | 32 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 …]
|
D | Tethering.java | 47 import com.android.internal.telephony.IccCardConstants; 1453 intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in onReceive() 1457 if (!mSimAbsentSeen && IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(state)) { in onReceive() 1461 if (mSimAbsentSeen && IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(state)) { in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 39 import com.android.internal.telephony.IccCardConstants; 78 IccCardConstants.State mSimState = IccCardConstants.State.READY; 191 String stateExtra = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in updateSimState() 192 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in updateSimState() 193 mSimState = IccCardConstants.State.ABSENT; in updateSimState() 195 else if (IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR.equals(stateExtra)) { in updateSimState() 196 mSimState = IccCardConstants.State.CARD_IO_ERROR; in updateSimState() 198 else if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in updateSimState() 199 mSimState = IccCardConstants.State.READY; in updateSimState() 201 else if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals(stateExtra)) { in updateSimState() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccCardProxy.java | 38 import com.android.internal.telephony.IccCardConstants; 43 import com.android.internal.telephony.IccCardConstants.State; 284 broadcastIccStateChangedIntent(IccCardConstants.INTENT_VALUE_ICC_IMSI, null); in handleMessage() 340 broadcastInternalIccStateChangedIntent(IccCardConstants.INTENT_VALUE_ICC_LOADED, null); in onRecordsLoaded() 490 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, value); in broadcastIccStateChangedIntent() 491 intent.putExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON, reason); in broadcastIccStateChangedIntent() 511 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, value); in broadcastInternalIccStateChangedIntent() 512 intent.putExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON, reason); in broadcastInternalIccStateChangedIntent() 535 … if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals(getIccStateIntentString(mExternalState))) { in setExternalState() 595 case ABSENT: return IccCardConstants.INTENT_VALUE_ICC_ABSENT; in getIccStateIntentString() [all …]
|
D | UiccCard.java | 46 import com.android.internal.telephony.IccCardConstants.State;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionInfoUpdater.java | 186 String simStatus = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); 190 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(simStatus)) { 192 } else if (IccCardConstants.INTENT_VALUE_ICC_UNKNOWN.equals(simStatus)) { 194 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR.equals(simStatus)) { 200 if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals(simStatus)) { 202 IccCardConstants.INTENT_KEY_LOCKED_REASON); 204 } else if (IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(simStatus)) { 272 broadcastSimStateChanged(slotId, IccCardConstants.INTENT_VALUE_ICC_LOCKED, in handleMessage() 275 updateCarrierServices(slotId, IccCardConstants.INTENT_VALUE_ICC_LOCKED); in handleMessage() 307 updateCarrierServices(msg.arg1, IccCardConstants.INTENT_VALUE_ICC_UNKNOWN); in handleMessage() [all …]
|
D | CarrierServiceBindHelper.java | 37 import com.android.internal.telephony.IccCardConstants; 125 case IccCardConstants.INTENT_VALUE_ICC_ABSENT: in updateForPhoneId() 126 case IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR: in updateForPhoneId() 127 case IccCardConstants.INTENT_VALUE_ICC_UNKNOWN: in updateForPhoneId() 130 case IccCardConstants.INTENT_VALUE_ICC_LOADED: in updateForPhoneId() 131 case IccCardConstants.INTENT_VALUE_ICC_LOCKED: in updateForPhoneId()
|
D | IccCard.java | 22 import com.android.internal.telephony.IccCardConstants.State;
|
D | SubscriptionController.java | 43 import com.android.internal.telephony.IccCardConstants.State; 1672 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIdx() 1677 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIdx() 1682 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIdx()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 53 import com.android.internal.telephony.IccCardConstants; 54 import com.android.internal.telephony.IccCardConstants.State; 571 + " state: " + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE) 677 String stateExtra = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in fromIntent() 681 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in fromIntent() 683 .getStringExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON); in fromIntent() 685 if (IccCardConstants.INTENT_VALUE_ABSENT_ON_PERM_DISABLED.equals( in fromIntent() 687 state = IccCardConstants.State.PERM_DISABLED; in fromIntent() 689 state = IccCardConstants.State.ABSENT; in fromIntent() 691 } else if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in fromIntent() [all …]
|
D | CarrierText.java | 38 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()
|
D | KeyguardSecurityModel.java | 22 import com.android.internal.telephony.IccCardConstants; 61 monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED))) { in getSecurityMode() 66 monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED))) { in getSecurityMode()
|
D | KeyguardUpdateMonitorCallback.java | 26 import com.android.internal.telephony.IccCardConstants; 123 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { } in onSimStateChanged()
|
D | KeyguardSimPinView.java | 20 import com.android.internal.telephony.IccCardConstants; 21 import com.android.internal.telephony.IccCardConstants.State; 77 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED); in resetState()
|
D | KeyguardSimPukView.java | 38 import com.android.internal.telephony.IccCardConstants; 40 import com.android.internal.telephony.IccCardConstants.State; 120 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED); in reset()
|
D | EmergencyButton.java | 32 import com.android.internal.telephony.IccCardConstants.State;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IccCardConstants.java | 23 public class IccCardConstants { class
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 62 import com.android.internal.telephony.IccCardConstants; 385 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { 1045 mUpdateMonitor.getNextSubIdForState(IccCardConstants.State.ABSENT)); in doKeyguardLocked() 1047 mUpdateMonitor.getNextSubIdForState(IccCardConstants.State.PERM_DISABLED)); in doKeyguardLocked()
|