Home
last modified time | relevance | path

Searched refs:getServiceState (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkTypeController.java348 int dataNetworkType = mPhone.getServiceState().getDataNetworkType(); in getCurrentOverrideNetworkType()
351 && (mPhone.getServiceState().getNrState() != NetworkRegistrationInfo.NR_STATE_NONE in getCurrentOverrideNetworkType()
375 switch (mPhone.getServiceState().getNrState()) { in getNrDisplayType()
403 if (mPhone.getServiceState().getDataNetworkType() == TelephonyManager.NETWORK_TYPE_LTE_CA in getLteDisplayType()
404 || mPhone.getServiceState().isUsingCarrierAggregation()) { in getLteDisplayType()
418 for (String opName : new String[] {mPhone.getServiceState().getOperatorAlphaLongRaw(), in isLteEnhancedAvailable()
419 mPhone.getServiceState().getOperatorAlphaShortRaw()}) { in isLteEnhancedAvailable()
538 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage()
614 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage()
681 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage()
[all …]
DImsSmsDispatcher.java258 return ((mPhone.getServiceState().getRilDataRadioTechnology() == in isLteService()
259 ServiceState.RIL_RADIO_TECHNOLOGY_LTE) && (mPhone.getServiceState(). in isLteService()
264 return ((mPhone.getServiceState().getRilVoiceRadioTechnology() == in isLimitedLteService()
265 ServiceState.RIL_RADIO_TECHNOLOGY_LTE) && mPhone.getServiceState().isEmergencyOnly()); in isLimitedLteService()
357 + " SS=" + mPhone.getServiceState().getState()); in sendSms()
DDisplayInfoController.java61 mPhone.getServiceState().getDataNetworkType(), in updateTelephonyDisplayInfo()
DCellularNetworkValidator.java166 if (phone == null || phone.getServiceState() == null) return null;
168 NetworkRegistrationInfo regInfo = phone.getServiceState().getNetworkRegistrationInfo(
DPhoneStateIntentReceiver.java91 public ServiceState getServiceState() { in getServiceState() method in PhoneStateIntentReceiver
DCallManager.java276 public int getServiceState() { in getServiceState() method in CallManager
280 int serviceState = phone.getServiceState().getState(); in getServiceState()
304 public int getServiceState(int subId) { in getServiceState() method in CallManager
309 int serviceState = phone.getServiceState().getState(); in getServiceState()
880 int serviceState = phone.getServiceState().getState(); in canDial()
DGsmCdmaPhone.java524 public ServiceState getServiceState() { in getServiceState() method in GsmCdmaPhone
528 mImsPhone.getServiceState()); in getServiceState()
654 ServiceState ss = getServiceState(); in getPreciseDataConnectionState()
1207 && imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in handleInCallMmiCommands()
1263 && (mImsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE); in useImsForCall()
1352 + ((imsPhone != null) ? imsPhone.getServiceState().getState() : "N/A")); in dial()
1547 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in handleUssdRequest()
3781 return getServiceState().getCdmaEriIconIndex(); in getCdmaEriIconIndex()
3795 return getServiceState().getCdmaEriIconMode(); in getCdmaEriIconMode()
3808 int roamInd = getServiceState().getCdmaRoamingIndicator(); in getCdmaEriText()
[all …]
DPhoneInternalInterface.java235 ServiceState getServiceState(); in getServiceState() method
DDefaultPhoneNotifier.java81 ServiceState ss = sender.getServiceState(); in notifyServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java184 new BrandOverrideEfData(operatorName, getServiceState().getOperatorNumeric())); in updateEfForBrandOverride()
207 sb.append(", roamingFromSS = " + getServiceState().getRoaming()); in toString()
208 sb.append(", registeredPLMN = " + getServiceState().getOperatorNumeric()); in toString()
291 String registeredPlmnName = getServiceState().getOperatorAlpha(); in getCarrierDisplayNameFromEf()
292 String registeredPlmnNumeric = getServiceState().getOperatorNumeric(); in getCarrierDisplayNameFromEf()
299 boolean isRoaming = getServiceState().getRoaming() in getCarrierDisplayNameFromEf()
347 getServiceState().getState() == ServiceState.STATE_POWER_OFF); in getCarrierDisplayNameFromWifiCallingOverride()
393 ServiceState ss = getServiceState(); in getOutOfServiceDisplayName()
414 if (getCombinedRegState(getServiceState()) == ServiceState.STATE_IN_SERVICE) { in resolveCarrierDisplayName()
494 private ServiceState getServiceState() { in getServiceState() method in CarrierDisplayNameResolver
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java238 doReturn(mSecondServiceState).when(mSecondPhone).getServiceState(); in testGetServiceState()
246 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
250 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
254 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
260 CallManager.getInstance().getServiceState()); in testGetServiceState()
265 CallManager.getInstance().getServiceState()); in testGetServiceState()
271 CallManager.getInstance().getServiceState()); in testGetServiceState()
DCarrierDisplayNameResolverTest.java78 doReturn(mSS).when(mSST).getServiceState(); in setUp()
DGsmCdmaPhoneTest.java167 assertEquals(serviceState, mPhoneUT.getServiceState()); in testGetServiceState()
199 doReturn(imsServiceState).when(mImsPhone).getServiceState(); in testGetMergedServiceState()
239 ServiceState mergedServiceState = mPhoneUT.getServiceState(); in testGetMergedServiceState()
280 doReturn(imsServiceState).when(mImsPhone).getServiceState(); in testGetMergedServiceStateNoCsfb()
321 ServiceState mergedServiceState = mPhoneUT.getServiceState(); in testGetMergedServiceStateNoCsfb()
1403 doReturn(mImsServiceState).when(mImsPhone).getServiceState(); in setupTestSendUssd()
DTelephonyTest.java500 doReturn(mServiceState).when(mPhone).getServiceState(); in setUp()
501 doReturn(mServiceState).when(mImsPhone).getServiceState(); in setUp()
591 doReturn(mServiceState).when(mSST).getServiceState(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java102 int ss = mPhone.getServiceState().getState(); in sendSms()
121 int currentDataNetwork = mPhone.getServiceState().getDataNetworkType(); in sendSms()
127 && mPhone.getServiceState().getVoiceNetworkType() in sendSms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorGsmCdmaPhone.java146 public ServiceState getServiceState() { in getServiceState() method in VendorGsmCdmaPhone
156 mImsPhone.getServiceState()); in getServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java149 int ss = mPhone.getServiceState().getState(); in sendSms()
162 if(mPhone.getServiceState().getRilDataRadioTechnology() in sendSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsDispatcherTest.java80 doReturn(mServiceState).when(mPhone).getServiceState(); in testSendSms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java628 ServiceState ss = mPhone.getServiceState(); in DataConnection()
629 mDataRegState = mPhone.getServiceState().getDataRegistrationState(); in DataConnection()
712 boolean isModemRoaming = mPhone.getServiceState().getDataRoamingFromRegistration(); in connect()
722 || (isModemRoaming && (!mPhone.getServiceState().getDataRoaming() in connect()
730 + mPhone.getServiceState().getDataRoaming() in connect()
1065 ServiceState ss = mPhone.getServiceState(); in updateTcpBufferSizes()
1166 ratName = mPhone.getServiceState().getNrFrequencyRange() in updateLinkBandwidthsFromCarrierConfig()
1201 ratName = mPhone.getServiceState().getNrFrequencyRange() in updateLinkBandwidthsFromModem()
1294 if (!mDct.getDataRoamingEnabled() && mPhone.getServiceState().getDataRoaming()) { in shouldRestrictNetwork()
1317 if (!mPhone.getServiceState().getDataRoaming() || mDct.getDataRoamingEnabled()) { in isUnmeteredUseOnly()
[all …]
DApnSettingUtils.java124 boolean isRoaming = phone.getServiceState().getDataRoaming(); in isMeteredApnType()
DDcTracker.java1374 if (mPhone.getServiceState().getDataRoaming() && !getDataRoamingEnabled()) { in isDataAllowed()
1533 if (radioTech == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN && mPhone.getServiceState() in trySetupData()
1537 log("service state=" + mPhone.getServiceState()); in trySetupData()
1677 boolean isRoaming = mPhone.getServiceState().getDataRoaming(); in shouldCleanUpConnection()
1794 if (mPhone.getServiceState().getRoaming()) { in fetchDunApns()
2106 mPhone.getServiceState().getDataRoamingFromRegistration(), null); in setInitialAttachApn()
2674 if (!mPhone.getServiceState().getDataRoaming()) { in onDataRoamingOnOrSettingsChanged()
2707 && mPhone.getServiceState().getDataRoaming()) { in checkDataRoamingStatus()
3166 mPhone.getServiceState().getDataRoamingFromRegistration(), null); in setDataProfilesAsNeeded()
3954 ServiceState serviceState = mPhone.getServiceState(); in shouldAutoAttach()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java93 public ServiceState getServiceState() { in getServiceState() method in SipPhoneBase
184 int serviceState = getServiceState().getState(); in canDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java339 ServiceState serviceState = getServiceState(); in addCall()
493 private @Nullable ServiceState getServiceState() { in getServiceState() method in VoiceCallSessionStats
495 return tracker != null ? tracker.getServiceState() : null; in getServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java142 public ServiceState getServiceState() { in getServiceState() method in ImsPhoneBase
230 int serviceState = getServiceState().getState(); in canDial()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java144 ServiceState ss = mKeyguardUpdateMonitor.getServiceState(subId); in updateText()

12