/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 286 ServiceState serviceState = userState.serviceStateMap.get(component); in buildTvInputListLocked() local 287 if (serviceState == null) { in buildTvInputListLocked() 290 serviceState = new ServiceState(component, userId); in buildTvInputListLocked() 291 userState.serviceStateMap.put(component, serviceState); in buildTvInputListLocked() 294 inputList.addAll(serviceState.hardwareInputMap.values()); in buildTvInputListLocked() 340 ServiceState serviceState = userState.serviceStateMap.get(info.getComponent()); in buildTvInputListLocked() local 341 if (serviceState != null) { in buildTvInputListLocked() 342 abortPendingCreateSessionRequestsLocked(serviceState, inputId, userId); in buildTvInputListLocked() 403 ServiceState serviceState = userState.serviceStateMap.get(component); in switchUser() local 404 if (serviceState != null && serviceState.sessionTokens.isEmpty()) { in switchUser() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneStateListenerExecutorTest.java | 57 public void onServiceStateChanged(ServiceState serviceState) { in setUp() 59 mServiceState.setVoiceRegState(serviceState.getVoiceRegState()); in setUp() 60 mServiceState.setDataRegState(serviceState.getDataRegState()); in setUp()
|
D | PhoneStateListenerTest.java | 53 public void onServiceStateChanged(ServiceState serviceState) { in onLooperPrepared() 55 mServiceState.setVoiceRegState(serviceState.getVoiceRegState()); in onLooperPrepared() 56 mServiceState.setDataRegState(serviceState.getDataRegState()); in onLooperPrepared()
|
D | GsmCdmaPhoneTest.java | 165 ServiceState serviceState = new ServiceState(); in testGetServiceState() local 166 mSST.mSS = serviceState; in testGetServiceState() 167 assertEquals(serviceState, mPhoneUT.getServiceState()); in testGetServiceState()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 391 public static boolean isInService(ServiceState serviceState) { in isInService() argument 392 if (serviceState == null) { in isInService() 395 int state = getCombinedServiceState(serviceState); in isInService() 411 public static int getCombinedServiceState(ServiceState serviceState) { in getCombinedServiceState() argument 412 if (serviceState == null) { in getCombinedServiceState() 423 int state = serviceState.getState(); in getCombinedServiceState() 424 int dataState = serviceState.getDataRegState(); in getCombinedServiceState() 428 && serviceState.getDataNetworkType() != RIL_RADIO_TECHNOLOGY_IWLAN) { in getCombinedServiceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 433 + "(" + "Data RAT " + event.serviceState.dataRat in printAllMetrics() 434 + " Voice RAT " + event.serviceState.voiceRat in printAllMetrics() 435 + " Channel Number " + event.serviceState.channelNumber in printAllMetrics() 462 + "(" + "Data RAT " + event.serviceState.dataRat in printAllMetrics() 463 + " Voice RAT " + event.serviceState.voiceRat in printAllMetrics() 464 + " Channel Number " + event.serviceState.channelNumber in printAllMetrics() 877 private TelephonyServiceState toServiceStateProto(ServiceState serviceState) { in toServiceStateProto() argument 880 ssProto.voiceRoamingType = serviceState.getVoiceRoamingType(); in toServiceStateProto() 881 ssProto.dataRoamingType = serviceState.getDataRoamingType(); in toServiceStateProto() 885 if (serviceState.getVoiceOperatorAlphaLong() != null) { in toServiceStateProto() [all …]
|
D | SmsSessionEventBuilder.java | 68 mEvent.serviceState = state; in setServiceState()
|
D | CallSessionEventBuilder.java | 103 mEvent.serviceState = state; in setServiceState()
|
D | TelephonyEventBuilder.java | 74 mEvent.serviceState = state; in setServiceState()
|
/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 | RatRatcheter.java | 64 public static boolean updateBandwidths(int[] bandwidths, ServiceState serviceState) { in updateBandwidths() argument 69 int ssAggregateBandwidth = Arrays.stream(serviceState.getCellBandwidths()).sum(); in updateBandwidths() 73 serviceState.setCellBandwidths(bandwidths); in updateBandwidths()
|
D | LocaleTracker.java | 261 private void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument 262 mLastServiceState = serviceState.getState(); in onServiceStateChanged()
|
D | GsmCdmaConnection.java | 544 int serviceState = phone.getServiceState().getState(); in disconnectCauseFromCode() local 548 if (serviceState == ServiceState.STATE_POWER_OFF) { in disconnectCauseFromCode() 556 if ((serviceState == ServiceState.STATE_OUT_OF_SERVICE in disconnectCauseFromCode() 557 || serviceState == ServiceState.STATE_EMERGENCY_ONLY)) { in disconnectCauseFromCode()
|
D | SmsDispatchersController.java | 332 ServiceState serviceState = mPhone.getServiceState(); in isInService() local 333 return serviceState != null && serviceState.getState() == ServiceState.STATE_IN_SERVICE; in isInService()
|
D | ServiceStateTracker.java | 1994 private void combinePsRegistrationStates(ServiceState serviceState) { in combinePsRegistrationStates() argument 1995 NetworkRegistrationInfo wlanPsRegState = serviceState.getNetworkRegistrationInfo( in combinePsRegistrationStates() 1997 NetworkRegistrationInfo wwanPsRegState = serviceState.getNetworkRegistrationInfo( in combinePsRegistrationStates() 2002 serviceState.setIwlanPreferred(isIwlanPreferred); in combinePsRegistrationStates() 2009 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in combinePsRegistrationStates() 2014 serviceState.setDataRegState(regCodeToServiceState(regState)); in combinePsRegistrationStates() 2017 log("combinePsRegistrationStates: " + serviceState); in combinePsRegistrationStates() 2116 int serviceState = regCodeToServiceState(registrationState); in handlePollStateResultMessage() local 2127 if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in handlePollStateResultMessage() 4648 private void updateServiceStateLteEarfcnBoost(ServiceState serviceState, int lteEarfcn) { in updateServiceStateLteEarfcnBoost() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 185 int serviceState = getServiceState().getState(); in canDial() local 186 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState); in canDial() 187 if (serviceState == ServiceState.STATE_POWER_OFF) return false; in canDial()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IPhoneStateListener.aidl | 33 void onServiceStateChanged(in ServiceState serviceState); in onServiceStateChanged() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 236 int serviceState = getServiceState().getState(); in canDial() local 237 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState); in canDial() 238 if (serviceState == ServiceState.STATE_POWER_OFF) return false; in canDial()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneStateListener.java | 462 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument 966 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument 971 () -> mExecutor.execute(() -> psl.onServiceStateChanged(serviceState))); in onServiceStateChanged()
|
D | ServiceState.java | 1005 public static String rilServiceStateToString(int serviceState) { in rilServiceStateToString() argument 1006 switch(serviceState) { in rilServiceStateToString()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 597 ServiceState serviceState = phone.getServiceState(); 603 if (serviceState != null && serviceState.getDataRoamingFromRegistration()) {
|
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/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 1038 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); 1042 Log.v(TAG, "action " + action + " serviceState=" + serviceState + " subId=" 1046 mHandler.obtainMessage(MSG_SERVICE_STATE_CHANGE, subId, 0, serviceState)); 2044 void handleServiceStateChange(int subId, ServiceState serviceState) { in handleServiceStateChange() argument 2047 "handleServiceStateChange(subId=" + subId + ", serviceState=" + serviceState); in handleServiceStateChange() 2057 mServiceStates.put(subId, serviceState); in handleServiceStateChange()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 764 public void onServiceStateChanged(ServiceState serviceState) { 766 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 668 TelephonyServiceState state = event.serviceState; in testWriteServiceStateChanged() 712 TelephonyServiceState state = event.serviceState; in testReset()
|