Home
last modified time | relevance | path

Searched refs:serviceState (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java320 ServiceState serviceState = userState.serviceStateMap.get(component); in buildTvInputListLocked() local
321 if (serviceState == null) { in buildTvInputListLocked()
324 serviceState = new ServiceState(component, userId); in buildTvInputListLocked()
325 userState.serviceStateMap.put(component, serviceState); in buildTvInputListLocked()
328 inputList.addAll(serviceState.hardwareInputList); in buildTvInputListLocked()
374 ServiceState serviceState = userState.serviceStateMap.get(info.getComponent()); in buildTvInputListLocked() local
375 if (serviceState != null) { in buildTvInputListLocked()
376 abortPendingCreateSessionRequestsLocked(serviceState, inputId, userId); in buildTvInputListLocked()
437 ServiceState serviceState = userState.serviceStateMap.get(component); in switchUser() local
438 if (serviceState != null && serviceState.sessionTokens.isEmpty()) { in switchUser()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java339 + "(" + event.serviceState.getDataRat() + ")"); in printAllMetrics()
366 + "(" + event.serviceState.getDataRat() + ")"); in printAllMetrics()
573 private TelephonyServiceState toServiceStateProto(ServiceState serviceState) { in toServiceStateProto() argument
576 ssProto.setVoiceRoamingType(serviceState.getVoiceRoamingType()); in toServiceStateProto()
577 ssProto.setDataRoamingType(serviceState.getDataRoamingType()); in toServiceStateProto()
581 if (serviceState.getVoiceOperatorAlphaLong() != null) { in toServiceStateProto()
582 ssProto.voiceOperator.setAlphaLong(serviceState.getVoiceOperatorAlphaLong()); in toServiceStateProto()
585 if (serviceState.getVoiceOperatorAlphaShort() != null) { in toServiceStateProto()
586 ssProto.voiceOperator.setAlphaShort(serviceState.getVoiceOperatorAlphaShort()); in toServiceStateProto()
589 if (serviceState.getVoiceOperatorNumeric() != null) { in toServiceStateProto()
[all …]
DSmsSessionEventBuilder.java63 mEvent.serviceState = state; in setServiceState()
DCallSessionEventBuilder.java100 mEvent.serviceState = state; in setServiceState()
DTelephonyEventBuilder.java55 mEvent.serviceState = state; in setServiceState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneStateListenerTest.java42 public void onServiceStateChanged(ServiceState serviceState) { in onLooperPrepared()
44 mServiceState.setVoiceRegState(serviceState.getVoiceRegState()); in onLooperPrepared()
45 mServiceState.setDataRegState(serviceState.getDataRegState()); in onLooperPrepared()
DGsmCdmaPhoneTest.java162 ServiceState serviceState = new ServiceState(); in testGetServiceState() local
163 mSST.mSS = serviceState; in testGetServiceState()
164 assertEquals(serviceState, mPhoneUT.getServiceState()); in testGetServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallManager.java283 int serviceState = phone.getServiceState().getState(); in getServiceState() local
284 if (serviceState == ServiceState.STATE_IN_SERVICE) { in getServiceState()
286 resultState = serviceState; in getServiceState()
288 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in getServiceState()
293 resultState = serviceState; in getServiceState()
295 } else if (serviceState == ServiceState.STATE_EMERGENCY_ONLY) { in getServiceState()
297 resultState = serviceState; in getServiceState()
312 int serviceState = phone.getServiceState().getState(); in getServiceState() local
313 if (serviceState == ServiceState.STATE_IN_SERVICE) { in getServiceState()
315 resultState = serviceState; in getServiceState()
[all …]
DGsmCdmaConnection.java497 int serviceState = phone.getServiceState().getState(); in disconnectCauseFromCode() local
501 if (serviceState == ServiceState.STATE_POWER_OFF) { in disconnectCauseFromCode()
509 if ((serviceState == ServiceState.STATE_OUT_OF_SERVICE in disconnectCauseFromCode()
510 || serviceState == ServiceState.STATE_EMERGENCY_ONLY)) { in disconnectCauseFromCode()
DGsmCdmaCallTracker.java601 int serviceState = mPhone.getServiceState().getState(); in canDial() local
605 ret = (serviceState != ServiceState.STATE_POWER_OFF) in canDial()
623 serviceState, in canDial()
624 serviceState != ServiceState.STATE_POWER_OFF, in canDial()
/frameworks/base/telephony/java/android/telephony/
DPhoneStateListener.java350 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument
559 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument
560 send(LISTEN_SERVICE_STATE, 0, 0, serviceState); in onServiceStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java205 int serviceState = getServiceState().getState(); in canDial() local
206 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState); in canDial()
207 if (serviceState == ServiceState.STATE_POWER_OFF) return false; in canDial()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneStateListener.aidl29 void onServiceStateChanged(in ServiceState serviceState); in onServiceStateChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java242 int serviceState = getServiceState().getState(); in canDial() local
243 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState); in canDial()
244 if (serviceState == ServiceState.STATE_POWER_OFF) return false; in canDial()
DImsPhoneCallTracker.java914 int serviceState = mPhone.getServiceState().getState(); in canDial() local
918 ret = (serviceState != ServiceState.STATE_POWER_OFF) in canDial()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java439 public void onServiceStateChanged(ServiceState serviceState) { in addPhoneStateListener()
446 if (DEBUG) Slog.d(TAG, "onServiceStateChanged: " + serviceState.getState()); in addPhoneStateListener()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java697 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras());
701 Log.v(TAG, "action " + action + " serviceState=" + serviceState + " subId="
705 mHandler.obtainMessage(MSG_SERVICE_STATE_CHANGE, subId, 0, serviceState));
1436 private void handleServiceStateChange(int subId, ServiceState serviceState) { in handleServiceStateChange() argument
1439 "handleServiceStateChange(subId=" + subId + ", serviceState=" + serviceState); in handleServiceStateChange()
1447 mServiceStates.put(subId, serviceState); in handleServiceStateChange()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java549 TelephonyServiceState state = event.serviceState; in testWriteServiceStateChanged()
590 TelephonyServiceState state = event.serviceState; in testReset()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java1117 public void onServiceStateChanged(ServiceState serviceState) {
1119 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;