/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/ |
D | TelephonyEventLog.java | 207 public void writeServiceStateChanged(ServiceState serviceState) { in writeServiceStateChanged() argument 210 if (mVoiceRegState != serviceState.getVoiceRegState()) { in writeServiceStateChanged() 211 mVoiceRegState = serviceState.getVoiceRegState(); in writeServiceStateChanged() 215 if (mDataRegState != serviceState.getDataRegState()) { in writeServiceStateChanged() 216 mDataRegState = serviceState.getDataRegState(); in writeServiceStateChanged() 220 if (mVoiceRoamingType != serviceState.getVoiceRoamingType()) { in writeServiceStateChanged() 221 mVoiceRoamingType = serviceState.getVoiceRoamingType(); in writeServiceStateChanged() 225 if (mDataRoamingType != serviceState.getDataRoamingType()) { in writeServiceStateChanged() 226 mDataRoamingType = serviceState.getDataRoamingType(); in writeServiceStateChanged() 230 if (!equals(mVoiceOperatorAlphaShort, serviceState.getVoiceOperatorAlphaShort()) in writeServiceStateChanged() [all …]
|
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 | 488 int serviceState = phone.getServiceState().getState(); in disconnectCauseFromCode() local 492 if (serviceState == ServiceState.STATE_POWER_OFF) { in disconnectCauseFromCode() 494 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE in disconnectCauseFromCode() 495 || serviceState == ServiceState.STATE_EMERGENCY_ONLY ) { in disconnectCauseFromCode()
|
D | GsmCdmaCallTracker.java | 591 int serviceState = mPhone.getServiceState().getState(); in canDial() local 595 ret = (serviceState != ServiceState.STATE_POWER_OFF) in canDial() 613 serviceState, in canDial() 614 serviceState != ServiceState.STATE_POWER_OFF, in canDial()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyEventLogTest.java | 115 ServiceState serviceState = new ServiceState(); in testWriteServiceStateChanged() local 116 serviceState.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testWriteServiceStateChanged() 117 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testWriteServiceStateChanged() 118 serviceState.setVoiceRoamingType(ServiceState.ROAMING_TYPE_NOT_ROAMING); in testWriteServiceStateChanged() 119 serviceState.setDataRoamingType(ServiceState.ROAMING_TYPE_NOT_ROAMING); in testWriteServiceStateChanged() 120 serviceState.setVoiceOperatorName("Test Voice Long", "TestVoice", "12345"); in testWriteServiceStateChanged() 121 serviceState.setDataOperatorName("Test Date Long", "TestData", "67890"); in testWriteServiceStateChanged() 122 serviceState.setRilVoiceRadioTechnology(ServiceState.RIL_RADIO_TECHNOLOGY_LTE); in testWriteServiceStateChanged() 123 serviceState.setRilDataRadioTechnology(ServiceState.RIL_RADIO_TECHNOLOGY_LTE); in testWriteServiceStateChanged() 125 mEventLog.writeServiceStateChanged(serviceState); in testWriteServiceStateChanged()
|
D | PhoneStateListenerTest.java | 41 public void onServiceStateChanged(ServiceState serviceState) { in onLooperPrepared() 43 mServiceState.setVoiceRegState(serviceState.getVoiceRegState()); in onLooperPrepared() 44 mServiceState.setDataRegState(serviceState.getDataRegState()); in onLooperPrepared()
|
D | GsmCdmaPhoneTest.java | 159 ServiceState serviceState = new ServiceState(); in testGetServiceState() local 160 mSST.mSS = serviceState; in testGetServiceState() 161 assertEquals(serviceState, mPhoneUT.getServiceState()); in testGetServiceState()
|
/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 | 704 int serviceState = mPhone.getServiceState().getState(); in canDial() local 708 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 | 663 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); 667 Log.v(TAG, "action " + action + " serviceState=" + serviceState + " subId=" 671 mHandler.obtainMessage(MSG_SERVICE_STATE_CHANGE, subId, 0, serviceState)); 1347 private void handleServiceStateChange(int subId, ServiceState serviceState) { in handleServiceStateChange() argument 1350 "handleServiceStateChange(subId=" + subId + ", serviceState=" + serviceState); in handleServiceStateChange() 1358 mServiceStates.put(subId, serviceState); in handleServiceStateChange()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalActions.java | 1055 public void onServiceStateChanged(ServiceState serviceState) { 1057 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;
|