Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java104 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) {
111 if (DEBUG) Log.d(TAG, "onSimStateChanged: " + getStatusForIccState(simState));
112 if (getStatusForIccState(simState) == CarrierTextController.StatusMode.SimIoError) {
273 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText() local
275 CharSequence carrierTextForSimState = getCarrierTextForSimState(simState, carrierName); in updateCarrierText()
277 Log.d(TAG, "Handling (subId=" + subId + "): " + simState + " " + carrierName); in updateCarrierText()
283 if (simState == IccCardConstants.State.READY) { in updateCarrierText()
392 private CharSequence getCarrierTextForSimState(IccCardConstants.State simState, in getCarrierTextForSimState() argument
395 CarrierTextController.StatusMode status = getStatusForIccState(simState); in getCarrierTextForSimState()
484 private CarrierTextController.StatusMode getStatusForIccState(IccCardConstants.State simState) { in getStatusForIccState() argument
[all …]
DKeyguardSimPinView.java66 public void onSimStateChanged(int subId, int slotId, State simState) {
67 if (DEBUG) Log.v(TAG, "onSimStateChanged(subId=" + subId + ",state=" + simState + ")");
68 switch(simState) {
DKeyguardUpdateMonitor.java481 cb.onSimStateChanged(data.subId, data.slotId, data.simState); in handleSimSubscriptionInfoChanged()
1106 if (args.simState == State.ABSENT) {
1116 mHandler.obtainMessage(MSG_SIM_STATE_CHANGE, args.subId, args.slotId, args.simState)
1267 public State simState; field in KeyguardUpdateMonitor.SimData
1272 simState = state; in SimData()
1325 return "SimData{state=" + simState + ",slotId=" + slotId + ",subId=" + subId + "}"; in toString()
2143 data.simState = State.ABSENT; in handleSimStateChange()
2160 changed = (data.simState != state || data.subId != subId || data.slotId != slotId); in handleSimStateChange()
2161 data.simState = state; in handleSimStateChange()
2374 callback.onSimStateChanged(state.subId, state.slotId, state.simState); in sendUpdates()
[all …]
DKeyguardSimPukView.java69 public void onSimStateChanged(int subId, int slotId, State simState) {
70 if (DEBUG) Log.v(TAG, "onSimStateChanged(subId=" + subId + ",state=" + simState + ")");
71 switch(simState) {
DKeyguardUpdateMonitorCallback.java139 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { } in onSimStateChanged() argument
DEmergencyButton.java68 public void onSimStateChanged(int subId, int slotId, State simState) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java176 int simState = extras.getInt(EXTRA_SIM_STATE, SIM_STATE_UNKNOWN);
180 if (simState != SIM_STATE_ABSENT
181 && simState != SIM_STATE_NOT_READY
182 && simState != SIM_STATE_LOADED) return;
184 sendMessage(obtainMessage(ACTION_SIM_STATE_UPDATED, slotId, simState));
334 private void handleSimStateChanged(int slotId, int simState) { in handleSimStateChanged() argument
340 if (simState == SIM_STATE_LOADED) { in handleSimStateChanged()
346 + " simState=" + simState in handleSimStateChanged()
DCarrierServiceBindHelper.java168 void updateForPhoneId(int phoneId, String simState) { in updateForPhoneId() argument
169 log("update binding for phoneId: " + phoneId + " simState: " + simState); in updateForPhoneId()
173 if (TextUtils.isEmpty(simState) || phoneId >= mLastSimState.size()) return; in updateForPhoneId()
174 if (simState.equals(mLastSimState.get(phoneId))) { in updateForPhoneId()
178 mLastSimState.put(phoneId, simState); in updateForPhoneId()
DSubscriptionInfoUpdater.java620 private void updateCarrierServices(int phoneId, String simState) { in updateCarrierServices() argument
623 configManager.updateConfigForPhoneId(phoneId, simState); in updateCarrierServices()
624 mCarrierServiceBindHelper.updateForPhoneId(phoneId, simState); in updateCarrierServices()
627 private void updateSubscriptionCarrierId(int phoneId, String simState) { in updateSubscriptionCarrierId() argument
629 PhoneFactory.getPhone(phoneId).resolveSubscriptionCarrierId(simState); in updateSubscriptionCarrierId()
DCarrierResolver.java144 public void resolveSubscriptionCarrierId(String simState) { in resolveSubscriptionCarrierId() argument
145 logd("[resolveSubscriptionCarrierId] simState: " + simState); in resolveSubscriptionCarrierId()
146 switch (simState) { in resolveSubscriptionCarrierId()
DSubscriptionController.java2686 State simState; in getSimStateForSlotIndex() local
2689 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
2699 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
2704 simState = IccCardConstants.State.UNKNOWN; in getSimStateForSlotIndex()
2707 simState = icc.getState(); in getSimStateForSlotIndex()
2713 logd("getSimStateForSlotIndex: " + err + " simState=" + simState in getSimStateForSlotIndex()
2714 + " ordinal=" + simState.ordinal() + " slotIndex=" + slotIndex); in getSimStateForSlotIndex()
2716 return simState.ordinal(); in getSimStateForSlotIndex()
DGsmCdmaPhone.java1864 public void resolveSubscriptionCarrierId(String simState) { in resolveSubscriptionCarrierId() argument
1865 mCarrierResolver.resolveSubscriptionCarrierId(simState); in resolveSubscriptionCarrierId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java104 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in update() local
106 if (simState.iccCardExist() && !TextUtils.isEmpty(carrierName)) { in update()
/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()
DTelephonyMetrics.java766 public void updateSimState(int phoneId, int simState) { in updateSimState() argument
767 int state = mapSimStateToProto(simState); in updateSimState()
2794 private static int mapSimStateToProto(int simState) { in mapSimStateToProto() argument
2795 switch (simState) { in mapSimStateToProto()
/frameworks/base/telephony/java/com/android/internal/telephony/
DICarrierConfigLoader.aidl37 void updateConfigForPhoneId(int phoneId, String simState); in updateConfigForPhoneId() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java141 State simState = mKeyguardUpdateMonitor.getSimState(subId); in updateText() local
143 if (!TextUtils.isEmpty(carrierName) && simState == State.READY) { in updateText()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java516 private void sendSimCardStateChangedIntent(int phoneId, int simState) { in sendSimCardStateChangedIntent() argument
519 .putExtra(EXTRA_SIM_STATE, simState) in sendSimCardStateChangedIntent()
523 private void sendSimApplicationStateChangedIntent(int phoneId, int simState) { in sendSimApplicationStateChangedIntent() argument
526 .putExtra(EXTRA_SIM_STATE, simState) in sendSimApplicationStateChangedIntent()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java3195 int simState = getSimStateIncludingLoaded(); in getSimState() local
3196 if (simState == SIM_STATE_LOADED) { in getSimState()
3197 simState = SIM_STATE_READY; in getSimState()
3199 return simState; in getSimState()
3210 int simState = getSimState(i); in getSimStateIncludingLoaded() local
3211 if (simState != SIM_STATE_ABSENT) { in getSimStateIncludingLoaded()
3213 "slotIndex=" + i + " is " + simState + ", return state as unknown"); in getSimStateIncludingLoaded()
3237 int simState = getSimState(); in getSimCardState() local
3238 return getSimCardStateFromSimState(simState); in getSimCardState()
3257 int simState = getSimState(getLogicalSlotIndex(physicalSlotIndex)); in getSimCardState() local
[all …]
DSubscriptionManager.java2263 int simState = TelephonyManager.SIM_STATE_UNKNOWN; in getSimStateForSlotIndex() local
2268 simState = iSub.getSimStateForSlotIndex(slotIndex); in getSimStateForSlotIndex()
2273 return simState; in getSimStateForSlotIndex()
DCarrierConfigManager.java4512 public void updateConfigForPhoneId(int phoneId, String simState) { in updateConfigForPhoneId() argument
4520 loader.updateConfigForPhoneId(phoneId, simState); in updateConfigForPhoneId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java426 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) {
430 + ",state=" + simState + ")");
450 mLastSimStates.append(slotId, simState);
453 switch (simState) {
469 if (simState == ABSENT) {
517 if (DEBUG_SIM_STATES) Log.v(TAG, "Unspecific state: " + simState);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java150 IccCardConstants.State simState) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java362 int simState = intent.getIntExtra(TelephonyManager.EXTRA_SIM_STATE,
364 sendMessage(obtainMessage(DctConstants.EVENT_SIM_STATE_UPDATED, simState, 0));
2328 private void onSimStateUpdated(@SimState int simState) { in onSimStateUpdated() argument
2329 mSimState = simState; in onSimStateUpdated()
3858 int simState = msg.arg1; in handleMessage() local
3859 onSimStateUpdated(simState); in handleMessage()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java734 int simState = mContext.getSystemService(TelephonyManager.class).getSimState(); in notePhoneState() local
736 mStats.notePhoneStateLocked(state, simState); in notePhoneState()

12