Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java183 new BrandOverrideEfData(operatorName, getServiceState().getOperatorNumeric())); in updateEfForBrandOverride()
206 sb.append(", roamingFromSS = " + getServiceState().getRoaming()); in toString()
207 sb.append(", registeredPLMN = " + getServiceState().getOperatorNumeric()); in toString()
290 String registeredPlmnNumeric = getServiceState().getOperatorNumeric(); in getCarrierDisplayNameFromEf()
297 boolean isRoaming = getServiceState().getRoaming() in getCarrierDisplayNameFromEf()
339 getServiceState().getVoiceRegState() == ServiceState.STATE_POWER_OFF); in getCarrierDisplayNameFromWifiCallingOverride()
382 ServiceState ss = getServiceState(); in getOutOfServiceDisplayName()
403 if (getCombinedRegState(getServiceState()) == ServiceState.STATE_IN_SERVICE) { in resolveCarrierDisplayName()
477 private ServiceState getServiceState() { in getServiceState() method in CarrierDisplayNameResolver
478 return mPhone.getServiceStateTracker().getServiceState(); in getServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java126 + " SS=" + mPhone.getServiceState().getState()); in sendSms()
128 int ss = mPhone.getServiceState().getState(); in sendSms()
138 int currentDataNetwork = mPhone.getServiceState().getDataNetworkType(); in sendSms()
142 && mPhone.getServiceState().getVoiceNetworkType() in sendSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java272 doReturn(mSecondServiceState).when(mSecondPhone).getServiceState(); in testGetServiceState()
283 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
287 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
291 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
297 CallManager.getInstance().getServiceState()); in testGetServiceState()
302 CallManager.getInstance().getServiceState()); in testGetServiceState()
308 CallManager.getInstance().getServiceState()); in testGetServiceState()
DCarrierDisplayNameResolverTest.java78 doReturn(mSS).when(mSST).getServiceState(); in setUp()
DTelephonyTest.java437 doReturn(mServiceState).when(mPhone).getServiceState(); in setUp()
438 doReturn(mServiceState).when(mImsPhone).getServiceState(); in setUp()
520 doReturn(mServiceState).when(mSST).getServiceState(); in setUp()
DServiceStateTrackerTest.java233 doReturn(new ServiceState()).when(mPhone).getServiceState(); in setUp()
2132 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly()
2156 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS()
2179 doReturn(ss).when(mSST).getServiceState(); in testUpdateSpnDisplay_flightMode_displayOOS()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java244 return ((mPhone.getServiceState().getRilVoiceRadioTechnology() == in isLteService()
245 ServiceState.RIL_RADIO_TECHNOLOGY_LTE) && (mPhone.getServiceState(). in isLteService()
250 return ((mPhone.getServiceState().getRilVoiceRadioTechnology() == in isLimitedLteService()
251 ServiceState.RIL_RADIO_TECHNOLOGY_LTE) && mPhone.getServiceState().isEmergencyOnly()); in isLimitedLteService()
343 + " SS=" + mPhone.getServiceState().getState()); in sendSms()
DGsmCdmaPhone.java498 public ServiceState getServiceState() { in getServiceState() method in GsmCdmaPhone
502 mImsPhone.getServiceState()); in getServiceState()
1116 && imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in handleInCallMmiCommands()
1191 && (imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in dial()
1222 + ((imsPhone != null) ? imsPhone.getServiceState().getState() : "N/A")); in dial()
1404 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in handleUssdRequest()
1913 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in getCallForwardingOption()
1944 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in setCallForwardingOption()
2026 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in getOutgoingCallerIdDisplay()
2042 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in setOutgoingCallerIdDisplay()
[all …]
DDefaultPhoneNotifier.java79 ServiceState ss = sender.getServiceState(); in notifyServiceState()
186 ServiceState ss = sender.getServiceState(); in doNotifyDataConnection()
DPhoneStateIntentReceiver.java90 public ServiceState getServiceState() { in getServiceState() method in PhoneStateIntentReceiver
DCallManager.java279 public int getServiceState() { in getServiceState() method in CallManager
283 int serviceState = phone.getServiceState().getState(); in getServiceState()
307 public int getServiceState(int subId) { in getServiceState() method in CallManager
312 int serviceState = phone.getServiceState().getState(); in getServiceState()
883 int serviceState = phone.getServiceState().getState(); in canDial()
DPhoneInternalInterface.java229 ServiceState getServiceState(); in getServiceState() method
DSMSDispatcher.java686 int ss = mPhone.getServiceState().getState(); in handleSendComplete()
699 +" SS= "+mPhone.getServiceState().getState()); in handleSendComplete()
1463 int ss = mPhone.getServiceState().getState(); in sendMultipartSms()
DSmsDispatchersController.java332 ServiceState serviceState = mPhone.getServiceState(); in isInService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java171 + " SS=" + mPhone.getServiceState().getState()); in sendSms()
187 + " SS=" + mPhone.getServiceState().getState()); in sendSms()
189 int ss = mPhone.getServiceState().getState(); 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/sip/
DSipPhoneBase.java94 public ServiceState getServiceState() { in getServiceState() method in SipPhoneBase
185 int serviceState = getServiceState().getState(); in canDial()
DSipPhone.java387 public ServiceState getServiceState() { in getServiceState() method in SipPhone
390 return super.getServiceState(); in getServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSettingUtils.java124 boolean isRoaming = phone.getServiceState().getDataRoaming(); in isMeteredApnType()
DDataConnection.java578 ServiceState ss = mPhone.getServiceState(); in DataConnection()
580 mDataRegState = mPhone.getServiceState().getDataRegState(); in DataConnection()
653 boolean isModemRoaming = mPhone.getServiceState().getDataRoamingFromRegistration(); in connect()
659 || (isModemRoaming && !mPhone.getServiceState().getDataRoaming()); in connect()
1122 if (!mDct.getDataRoamingEnabled() && mPhone.getServiceState().getDataRoaming()) { in shouldRestrictNetwork()
1148 if (mDct.getDataRoamingEnabled() && mPhone.getServiceState().getDataRoaming()) { in isUnmeteredUseOnly()
1281 !mPhone.getServiceState().getDataRoaming()); in getNetworkCapabilities()
1608 final ServiceState state = mPhone.getServiceState(); in updateNetworkInfo()
2725 return mPhone.getServiceState().getNrState() in isNRConnected()
DDcTracker.java1334 if (mPhone.getServiceState().getDataRoaming() && !getDataRoamingEnabled()) { in isDataAllowed()
1488 log("service state=" + mPhone.getServiceState()); in trySetupData()
1620 boolean isRoaming = mPhone.getServiceState().getDataRoaming(); in shouldCleanUpConnection()
2036 mPhone.getServiceState().getDataRoamingFromRegistration(), null); in setInitialAttachApn()
2574 if (!mPhone.getServiceState().getDataRoaming()) { in onDataRoamingOnOrSettingsChanged()
2607 && mPhone.getServiceState().getDataRoaming()) { in checkDataRoamingStatus()
3086 mPhone.getServiceState().getDataRoamingFromRegistration(), null); in setDataProfilesAsNeeded()
3881 ServiceState serviceState = mPhone.getServiceState(); in shouldAutoAttach()
4150 mPhone.getServiceState().getDataRoamingFromRegistration())) { in containsAllApns()
4821 ServiceState ss = mPhone.getServiceState(); in getDataRat()
[all …]
DDcNetworkAgent.java198 + mPhone.getServiceState().getRilDataRadioTechnology() in sendNetworkCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java143 public ServiceState getServiceState() { in getServiceState() method in ImsPhoneBase
236 int serviceState = getServiceState().getState(); in canDial()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java144 ServiceState ss = mKeyguardUpdateMonitor.getServiceState(subId); in updateText()
/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java597 ServiceState serviceState = phone.getServiceState();

12