Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
DCarrierTextManagerLogger.kt49 fun logUpdateLoopStart(sub: Int, simState: Int, carrierName: String) { in logUpdateLoopStart()
55 int2 = simState in logUpdateLoopStart()
118 fun logSimStateChangedCallback(subId: Int, slotId: Int, simState: Int) { in logSimStateChangedCallback()
126 int2 = simState in logSimStateChangedCallback()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java132 public void onSimStateChanged(int subId, int slotId, int simState) {
140 mLogger.logSimStateChangedCallback(subId, slotId, simState);
141 if (getStatusForIccState(simState) == CarrierTextManager.StatusMode.SimIoError) {
374 int simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText() local
376 CharSequence carrierTextForSimState = getCarrierTextForSimState(simState, carrierName); in updateCarrierText()
377 mLogger.logUpdateLoopStart(subId, simState, String.valueOf(carrierName)); in updateCarrierText()
382 if (simState == TelephonyManager.SIM_STATE_READY) { in updateCarrierText()
498 private CharSequence getCarrierTextForSimState(int simState, CharSequence text) { in getCarrierTextForSimState() argument
500 CarrierTextManager.StatusMode status = getStatusForIccState(simState); in getCarrierTextForSimState()
591 protected CarrierTextManager.StatusMode getStatusForIccState(int simState) { in getStatusForIccState() argument
[all …]
DKeyguardSimPinViewController.java72 public void onSimStateChanged(int subId, int slotId, int simState) {
73 if (DEBUG) Log.v(TAG, "onSimStateChanged(subId=" + subId + ",state=" + simState + ")");
75 if (subId == mSubId && simState == TelephonyManager.SIM_STATE_PUK_REQUIRED) {
80 if (simState == TelephonyManager.SIM_STATE_READY) {
DKeyguardSimPukViewController.java68 public void onSimStateChanged(int subId, int slotId, int simState) {
69 if (DEBUG) Log.v(TAG, "onSimStateChanged(subId=" + subId + ",state=" + simState + ")");
72 if (simState == TelephonyManager.SIM_STATE_READY) {
DKeyguardUpdateMonitorCallback.java134 public void onSimStateChanged(int subId, int slotId, int simState) { } in onSimStateChanged() argument
DKeyguardUpdateMonitor.java628 cb.onSimStateChanged(data.subId, data.slotId, data.simState); in handleSimSubscriptionInfoChanged()
639 cb.onSimStateChanged(data.subId, data.slotId, data.simState); in handleSimSubscriptionInfoChanged()
1704 if (args.simState == TelephonyManager.SIM_STATE_ABSENT) {
1713 mHandler.obtainMessage(MSG_SIM_STATE_CHANGE, args.subId, args.slotId, args.simState)
1934 public int simState; field in KeyguardUpdateMonitor.SimData
1939 simState = state; in SimData()
1986 return "SimData{state=" + simState + ",slotId=" + slotId + ",subId=" + subId + "}"; in toString()
3309 data.simState = TelephonyManager.SIM_STATE_ABSENT; in handleSimStateChange()
3327 changed = (data.simState != state || data.subId != subId || data.slotId != slotId); in handleSimStateChange()
3328 data.simState = state; in handleSimStateChange()
[all …]
DEmergencyButtonController.java74 public void onSimStateChanged(int subId, int slotId, int simState) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java289 int simState = extras.getInt(EXTRA_SIM_STATE, SIM_STATE_UNKNOWN);
293 if (simState != SIM_STATE_ABSENT
294 && simState != SIM_STATE_NOT_READY
295 && simState != SIM_STATE_READY
296 && simState != SIM_STATE_LOADED) {
300 sendMessage(obtainMessage(ACTION_SIM_STATE_UPDATED, slotId, simState));
459 private void handleSimStateChanged(int slotId, int simState) { in handleSimStateChanged() argument
466 mSimIsReadyButNotLoaded = simState == SIM_STATE_READY; in handleSimStateChanged()
472 if (simState == SIM_STATE_LOADED) { in handleSimStateChanged()
482 mLocalLog.log("SIM is gone, simState=" + TelephonyManager.simStateToString(simState) in handleSimStateChanged()
DCarrierServiceBindHelper.java210 public void updateForPhoneId(int phoneId, @NonNull String simState) { in updateForPhoneId() argument
211 logdWithLocalLog("update binding for phoneId: " + phoneId + " simState: " + simState); in updateForPhoneId()
215 if (TextUtils.isEmpty(simState) || phoneId >= mLastSimState.size()) return; in updateForPhoneId()
216 if (simState.equals(mLastSimState.get(phoneId))) { in updateForPhoneId()
220 mLastSimState.put(phoneId, simState); in updateForPhoneId()
DCarrierResolver.java211 public void resolveSubscriptionCarrierId(String simState) { in resolveSubscriptionCarrierId() argument
212 logd("[resolveSubscriptionCarrierId] simState: " + simState); in resolveSubscriptionCarrierId()
213 switch (simState) { in resolveSubscriptionCarrierId()
831 IccCardConstants.State simState = IccCardConstants.State.UNKNOWN; in updateCarrierConfig() local
833 simState = iccCard.getState(); in updateCarrierConfig()
838 UiccController.getIccStateIntentString(simState)); in updateCarrierConfig()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/data/repository/
DSimBouncerRepositoryTest.kt187 val simState = in emitSubscriptionIdAndCollectLastValue() constant
194 whenever(keyguardUpdateMonitor.getNextSubIdForState(simState)).thenReturn(subId) in emitSubscriptionIdAndCollectLastValue()
196 it.onSimStateChanged(subId, /* slotId= */ 0, simState) in emitSubscriptionIdAndCollectLastValue()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyEventBuilder.java175 mEvent.simState = new int[phoneCount]; in setSimStateChange()
176 Arrays.fill(mEvent.simState, SimState.SIM_STATE_UNKNOWN); in setSimStateChange()
181 mEvent.simState[key] = simStates.get(key); in setSimStateChange()
/frameworks/base/telephony/java/com/android/internal/telephony/
DICarrierConfigLoader.aidl39 void updateConfigForPhoneId(int phoneId, String simState); in updateConfigForPhoneId() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java890 private void broadcastSimStateEvents(int phoneId, IccCardConstants.State simState, in broadcastSimStateEvents() argument
892 String legacyStringSimState = getIccStateIntentString(simState); in broadcastSimStateEvents()
896 switch (simState) { in broadcastSimStateEvents()
941 private void updateCarrierServices(int phoneId, @NonNull String simState) { in updateCarrierServices() argument
944 configManager.updateConfigForPhoneId(phoneId, simState); in updateCarrierServices()
946 mCarrierServiceBindHelper.updateForPhoneId(phoneId, simState); in updateCarrierServices()
969 int simState = state.ordinal(); in updateSimState() local
970 SubscriptionManagerService.getInstance().updateSimState(phoneId, simState, in updateSimState()
980 if (simState == TelephonyManager.SIM_STATE_READY) { in updateSimState()
985 if (simState == TelephonyManager.SIM_STATE_NOT_READY in updateSimState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameViewController.java216 int simState, in SubInfo() argument
220 mSimState = simState; in SubInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java2159 int simState = mTelephonyManagerProxy.getSimState(phoneId); in isThereOtherPhone() local
2160 if ((simState == TelephonyManager.SIM_STATE_READY) || (ignoreLockState in isThereOtherPhone()
2161 && simState != TelephonyManager.SIM_STATE_ABSENT in isThereOtherPhone()
2162 && simState != TelephonyManager.SIM_STATE_NOT_READY)) { in isThereOtherPhone()
2164 + ", phoneId=" + phoneId + ", simState=" + simState); in isThereOtherPhone()
2167 Rlog.i(TAG, "isThereOtherPhone phoneId=" + phoneId + ", simState=" + simState); in isThereOtherPhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java457 int simState = intent.getIntExtra(TelephonyManager.EXTRA_SIM_STATE,
459 sendMessage(obtainMessage(EVENT_SIM_STATE_CHANGED, simState, 0));
703 public void onSimStateChanged(@SimState int simState) {} in onSimStateChanged() argument
1199 int simState = msg.arg1; in handleMessage() local
1200 onSimStateChanged(simState); in handleMessage()
3511 private void onSimStateChanged(@SimState int simState) { in onSimStateChanged() argument
3512 log("onSimStateChanged: state=" + TelephonyManager.simStateToString(simState)); in onSimStateChanged()
3513 if (mSimState != simState) { in onSimStateChanged()
3514 mSimState = simState; in onSimStateChanged()
3515 if (simState == TelephonyManager.SIM_STATE_ABSENT) { in onSimStateChanged()
[all …]
DDataProfileManager.java191 public void onSimStateChanged(@SimState int simState) { in registerAllEvents()
192 DataProfileManager.this.mSimState = simState; in registerAllEvents()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java3723 int simState = getSimStateIncludingLoaded(); in getSimState() local
3724 if (simState == SIM_STATE_LOADED) { in getSimState()
3725 simState = SIM_STATE_READY; in getSimState()
3727 return simState; in getSimState()
3738 int simState = getSimState(i); in getSimStateIncludingLoaded() local
3739 if (simState != SIM_STATE_ABSENT) { in getSimStateIncludingLoaded()
3741 "slotIndex=" + i + " is " + simState + ", return state as unknown"); in getSimStateIncludingLoaded()
3768 int simState = getSimState(); in getSimCardState() local
3769 return getSimCardStateFromSimState(simState); in getSimCardState()
3794 int simState = getSimState(getLogicalSlotIndex(physicalSlotIndex, activePort)); in getSimCardState() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/data/repository/
DSimBouncerRepository.kt104 override fun onSimStateChanged(subId: Int, slotId: Int, simState: Int) { in <lambda>()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java1116 private void sendSimCardStateChangedIntent(int phoneId, int simState) { in sendSimCardStateChangedIntent() argument
1119 .putExtra(EXTRA_SIM_STATE, simState) in sendSimCardStateChangedIntent()
1123 private void sendSimApplicationStateChangedIntent(int phoneId, int simState) { in sendSimApplicationStateChangedIntent() argument
1126 .putExtra(EXTRA_SIM_STATE, simState) in sendSimApplicationStateChangedIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java1417 int simState = mSimState[phoneId]; in updateSubscription() local
1419 + TelephonyManager.simStateToString(simState)); in updateSubscription()
1426 if (simState == TelephonyManager.SIM_STATE_ABSENT) { in updateSubscription()
1460 } else if (simState == TelephonyManager.SIM_STATE_NOT_READY) { in updateSubscription()
1536 if (simState == TelephonyManager.SIM_STATE_LOADED) { in updateSubscription()
4456 public void updateSimState(int slotIndex, @SimState int simState, in updateSimState() argument
4460 mSimState[slotIndex] = simState; in updateSimState()
4462 + TelephonyManager.simStateToString(simState)); in updateSimState()
4463 switch (simState) { in updateSimState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java650 public void onSimStateChanged(int subId, int slotId, int simState) {
654 + ",state=" + simState + ")");
675 mLastSimStates.append(slotId, simState);
678 switch (simState) {
696 if (simState == TelephonyManager.SIM_STATE_ABSENT) {
748 if (DEBUG_SIM_STATES) Log.v(TAG, "Unspecific state: " + simState);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DTelephonyAnalytics.java631 int simState =
635 if (simState == TelephonyManager.SIM_STATE_ABSENT) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryImpl.kt311 override fun onSimStateChanged(subId: Int, slotId: Int, simState: Int) { in <lambda>()

12