Home
last modified time | relevance | path

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

12

/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 …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java175 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 …]
DCarrierActionAgentTest.java105 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/
DIccCardProxy.java37 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/
DSubscriptionInfoUpdater.java192 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 …]
DIntentBroadcaster.java57 + i.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE)
91 + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE) in broadcastStickyIntent()
DSimActivationTracker.java83 if (IccCardConstants.INTENT_VALUE_ICC_ABSENT.equals( in SimActivationTracker()
84 intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE))) { in SimActivationTracker()
DCarrierActionAgent.java87 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()
DIccCard.java22 import com.android.internal.telephony.IccCardConstants.State;
DSubscriptionController.java47 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/
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.java73 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 …]
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;
95 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED); in resetState()
DKeyguardSimPukView.java40 import com.android.internal.telephony.IccCardConstants;
42 import com.android.internal.telephony.IccCardConstants.State;
140 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;
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/
DSimChangeListenerTest.java19 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/
DSimChangeListener.java19 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/
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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccCardProxyTest.java31 import com.android.internal.telephony.IccCardConstants.State;
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java22 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/
DWifiServiceImpl.java104 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()

12