/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 320 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/ |
D | TelephonyMetrics.java | 339 + "(" + 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 …]
|
D | SmsSessionEventBuilder.java | 63 mEvent.serviceState = state; in setServiceState()
|
D | CallSessionEventBuilder.java | 100 mEvent.serviceState = state; in setServiceState()
|
D | TelephonyEventBuilder.java | 55 mEvent.serviceState = state; in setServiceState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneStateListenerTest.java | 42 public void onServiceStateChanged(ServiceState serviceState) { in onLooperPrepared() 44 mServiceState.setVoiceRegState(serviceState.getVoiceRegState()); in onLooperPrepared() 45 mServiceState.setDataRegState(serviceState.getDataRegState()); in onLooperPrepared()
|
D | GsmCdmaPhoneTest.java | 162 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/ |
D | CallManager.java | 283 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 …]
|
D | GsmCdmaConnection.java | 497 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()
|
D | GsmCdmaCallTracker.java | 601 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/ |
D | PhoneStateListener.java | 350 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/ |
D | SipPhoneBase.java | 205 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/ |
D | IPhoneStateListener.aidl | 29 void onServiceStateChanged(in ServiceState serviceState); in onServiceStateChanged() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 242 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()
|
D | ImsPhoneCallTracker.java | 914 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/ |
D | ComprehensiveCountryDetector.java | 439 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/ |
D | KeyguardUpdateMonitor.java | 697 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/ |
D | TelephonyMetricsTest.java | 549 TelephonyServiceState state = event.serviceState; in testWriteServiceStateChanged() 590 TelephonyServiceState state = event.serviceState; in testReset()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalActions.java | 1117 public void onServiceStateChanged(ServiceState serviceState) { 1119 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;
|