/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 …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionInfoUpdaterTest.java | 175 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimAbsent() 176 IccCardConstants.INTENT_VALUE_ICC_ABSENT); in testSimAbsent() 188 eq(IccCardConstants.INTENT_VALUE_ICC_ABSENT)); in testSimAbsent() 197 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimUnknown() 198 IccCardConstants.INTENT_VALUE_ICC_UNKNOWN); in testSimUnknown() 208 eq(IccCardConstants.INTENT_VALUE_ICC_UNKNOWN)); in testSimUnknown() 217 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testSimError() 218 IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR); in testSimError() 227 eq(IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR)); in testSimError() 236 mIntent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testWrongSimState() [all …]
|
D | CarrierActionAgentTest.java | 105 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, in testCarrierActionResetOnAPM() 106 IccCardConstants.INTENT_VALUE_ICC_LOADED); in testCarrierActionResetOnAPM()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccCardProxy.java | 37 import com.android.internal.telephony.IccCardConstants; 38 import com.android.internal.telephony.IccCardConstants.State; 283 broadcastIccStateChangedIntent(IccCardConstants.INTENT_VALUE_ICC_IMSI, null); in handleMessage() 339 broadcastInternalIccStateChangedIntent(IccCardConstants.INTENT_VALUE_ICC_LOADED, null); in onRecordsLoaded() 520 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, value); in broadcastIccStateChangedIntent() 521 intent.putExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON, reason); in broadcastIccStateChangedIntent() 540 intent.putExtra(IccCardConstants.INTENT_KEY_ICC_STATE, value); in broadcastInternalIccStateChangedIntent() 541 intent.putExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON, reason); in broadcastInternalIccStateChangedIntent() 565 if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals( in setExternalState() 626 case ABSENT: return IccCardConstants.INTENT_VALUE_ICC_ABSENT; in getIccStateIntentString() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionInfoUpdater.java | 192 String simStatus = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); 198 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(simStatus)) { 200 } else if (IccCardConstants.INTENT_VALUE_ICC_UNKNOWN.equals(simStatus)) { 202 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR.equals(simStatus)) { 204 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_RESTRICTED.equals(simStatus)) { 206 } else if (IccCardConstants.INTENT_VALUE_ICC_NOT_READY.equals(simStatus)) { 217 if (IccCardConstants.INTENT_VALUE_ICC_LOCKED.equals(simStatus)) { 219 IccCardConstants.INTENT_KEY_LOCKED_REASON); 221 } else if (IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(simStatus)) { 289 broadcastSimStateChanged(slotId, IccCardConstants.INTENT_VALUE_ICC_LOCKED, in handleMessage() [all …]
|
D | IntentBroadcaster.java | 57 + i.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE) 91 + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE) in broadcastStickyIntent()
|
D | SimActivationTracker.java | 83 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals( in SimActivationTracker() 84 intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE))) { in SimActivationTracker()
|
D | CarrierActionAgent.java | 87 final String iccState = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); 159 if (IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(iccState)) { in handleMessage() 175 } else if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(iccState)) { in handleMessage()
|
D | IccCard.java | 22 import com.android.internal.telephony.IccCardConstants.State;
|
D | SubscriptionController.java | 47 import com.android.internal.telephony.IccCardConstants.State; 1946 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex() 1951 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex() 1956 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
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 | KeyguardUpdateMonitor.java | 73 import com.android.internal.telephony.IccCardConstants; 74 import com.android.internal.telephony.IccCardConstants.State; 754 + " state: " + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE) 874 String stateExtra = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in fromIntent() 878 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in fromIntent() 880 .getStringExtra(IccCardConstants.INTENT_KEY_LOCKED_REASON); in fromIntent() 882 if (IccCardConstants.INTENT_VALUE_ABSENT_ON_PERM_DISABLED.equals( in fromIntent() 884 state = IccCardConstants.State.PERM_DISABLED; in fromIntent() 886 state = IccCardConstants.State.ABSENT; in fromIntent() 888 } else if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in fromIntent() [all …]
|
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; 95 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED); in resetState()
|
D | KeyguardSimPukView.java | 40 import com.android.internal.telephony.IccCardConstants; 42 import com.android.internal.telephony.IccCardConstants.State; 140 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PUK_REQUIRED); in reset()
|
D | EmergencyButton.java | 38 import com.android.internal.telephony.IccCardConstants.State;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 55 import com.android.internal.telephony.IccCardConstants; 136 IccCardConstants.State mSimState = IccCardConstants.State.READY; 313 String stateExtra = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in updateSimState() 314 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(stateExtra)) { in updateSimState() 315 mSimState = IccCardConstants.State.ABSENT; in updateSimState() 316 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_IO_ERROR.equals(stateExtra)) { in updateSimState() 317 mSimState = IccCardConstants.State.CARD_IO_ERROR; in updateSimState() 318 } else if (IccCardConstants.INTENT_VALUE_ICC_CARD_RESTRICTED.equals(stateExtra)) { in updateSimState() 319 mSimState = IccCardConstants.State.CARD_RESTRICTED; in updateSimState() 320 } else if (IccCardConstants.INTENT_VALUE_ICC_READY.equals(stateExtra)) { in updateSimState() [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | SimChangeListenerTest.java | 19 import static com.android.internal.telephony.IccCardConstants.INTENT_VALUE_ICC_ABSENT; 20 import static com.android.internal.telephony.IccCardConstants.INTENT_VALUE_ICC_LOADED; 21 import static com.android.internal.telephony.IccCardConstants.INTENT_KEY_ICC_STATE;
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | SimChangeListener.java | 19 import static com.android.internal.telephony.IccCardConstants.INTENT_VALUE_ICC_LOADED; 20 import static com.android.internal.telephony.IccCardConstants.INTENT_KEY_ICC_STATE;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | EmergencyCryptkeeperText.java | 35 import com.android.internal.telephony.IccCardConstants; 108 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in update()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IccCardConstants.java | 23 public class IccCardConstants { class
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccCardProxyTest.java | 31 import com.android.internal.telephony.IccCardConstants.State;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 22 import static com.android.internal.telephony.IccCardConstants.State.ABSENT; 72 import com.android.internal.telephony.IccCardConstants; 420 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { 1281 mUpdateMonitor.getNextSubIdForState(IccCardConstants.State.PERM_DISABLED)); in doKeyguardLocked()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 104 import com.android.internal.telephony.IccCardConstants; 514 String state = intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE); in checkAndStartWifi() 515 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals(state)) { in checkAndStartWifi() 520 } else if (IccCardConstants.INTENT_VALUE_ICC_LOADED.equals(state)) { in checkAndStartWifi()
|