Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaLteServiceStateTracker.java26 import android.telephony.ServiceState;
41 private ServiceState mLteSS; // The last LTE state from Voice Registration
49 mLteSS = new ServiceState(); in CdmaLteServiceStateTracker()
210 if (mLteSS.getState() == ServiceState.STATE_IN_SERVICE) { in pollStateDone()
233 if (newSS.getState() == ServiceState.STATE_OUT_OF_SERVICE) { in pollStateDone()
246 boolean hasRegistered = ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
247 && newSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
249 boolean hasDeregistered = ss.getState() == ServiceState.STATE_IN_SERVICE in pollStateDone()
250 && newSS.getState() != ServiceState.STATE_IN_SERVICE; in pollStateDone()
253 mDataConnectionState != ServiceState.STATE_IN_SERVICE in pollStateDone()
[all …]
DCdmaServiceStateTracker.java46 import android.telephony.ServiceState;
100 protected int mDataConnectionState = ServiceState.STATE_OUT_OF_SERVICE;
101 protected int mNewDataConnectionState = ServiceState.STATE_OUT_OF_SERVICE;
170 ss = new ServiceState(); in CdmaServiceStateTracker()
171 newSS = new ServiceState(); in CdmaServiceStateTracker()
879 ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
880 && newSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
883 ss.getState() == ServiceState.STATE_IN_SERVICE in pollStateDone()
884 && newSS.getState() != ServiceState.STATE_IN_SERVICE; in pollStateDone()
887 mDataConnectionState != ServiceState.STATE_IN_SERVICE in pollStateDone()
[all …]
DCdmaConnection.java33 import android.telephony.ServiceState;
427 if (serviceState == ServiceState.STATE_POWER_OFF) { in disconnectCauseFromCode()
429 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE in disconnectCauseFromCode()
430 || serviceState == ServiceState.STATE_EMERGENCY_ONLY) { in disconnectCauseFromCode()
DCDMAPhone.java38 import android.telephony.ServiceState;
279 public ServiceState getServiceState() { in getServiceState()
340 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) { in getDataActivityState()
626 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) { in getDataConnectionState()
830 void notifyServiceStateChanged(ServiceState ss) { in notifyServiceStateChanged()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java36 public class ServiceState implements Parcelable { class
146 public static ServiceState newFromBundle(Bundle m) { in newFromBundle()
147 ServiceState ret; in newFromBundle()
148 ret = new ServiceState(); in newFromBundle()
156 public ServiceState() { in ServiceState() method in ServiceState
164 public ServiceState(ServiceState s) { in ServiceState() method in ServiceState
168 protected void copyFrom(ServiceState s) { in copyFrom()
189 public ServiceState(Parcel in) { in ServiceState() method in ServiceState
229 public static final Parcelable.Creator<ServiceState> CREATOR =
230 new Parcelable.Creator<ServiceState>() {
[all …]
DPhoneStateListener.java22 import android.telephony.ServiceState;
170 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged()
283 public void onServiceStateChanged(ServiceState serviceState) {
333 PhoneStateListener.this.onServiceStateChanged((ServiceState)msg.obj);
DServiceState.aidl20 parcelable ServiceState;
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java54 import android.telephony.ServiceState;
79 private int gprsState = ServiceState.STATE_OUT_OF_SERVICE;
80 private int newGPRSState = ServiceState.STATE_OUT_OF_SERVICE;
191 ss = new ServiceState(); in GsmServiceStateTracker()
192 newSS = new ServiceState(); in GsmServiceStateTracker()
754 " oldType=" + ServiceState.radioTechnologyToString(mRadioTechnology) + in pollStateDone()
755 " newType=" + ServiceState.radioTechnologyToString(mNewRadioTechnology)); in pollStateDone()
759 ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
760 && newSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
763 ss.getState() == ServiceState.STATE_IN_SERVICE in pollStateDone()
[all …]
DGsmConnection.java28 import android.telephony.ServiceState;
368 if (serviceState == ServiceState.STATE_POWER_OFF) { in disconnectCauseFromCode()
370 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE in disconnectCauseFromCode()
371 || serviceState == ServiceState.STATE_EMERGENCY_ONLY ) { in disconnectCauseFromCode()
DGSMPhone.java34 import android.telephony.ServiceState;
252 public ServiceState
299 != ServiceState.STATE_IN_SERVICE) { in getDataConnectionState()
340 if (mSST.getCurrentGprsState() == ServiceState.STATE_IN_SERVICE) { in getDataActivityState()
395 notifyServiceStateChanged(ServiceState ss) { in notifyServiceStateChanged()
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneStateIntentReceiver.java25 import android.telephony.ServiceState;
50 ServiceState mServiceState = new ServiceState();
89 public ServiceState getServiceState() { in getServiceState()
189 mServiceState = ServiceState.newFromBundle(intent.getExtras()); in onReceive()
DServiceStateTracker.java24 import android.telephony.ServiceState;
34 public ServiceState ss;
35 protected ServiceState newSS;
316 if (getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) { in registerForDataConnectionAttached()
334 if (getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) { in registerForDataConnectionDetached()
352 if (ss.getState() == ServiceState.STATE_IN_SERVICE) { in registerForNetworkAttached()
DIPhoneStateListener.aidl20 import android.telephony.ServiceState;
24 void onServiceStateChanged(in ServiceState serviceState); in onServiceStateChanged()
DITelephonyRegistry.aidl23 import android.telephony.ServiceState;
31 void notifyServiceState(in ServiceState state); in notifyServiceState()
DDefaultPhoneNotifier.java24 import android.telephony.ServiceState;
59 ServiceState ss = sender.getServiceState(); in notifyServiceState()
61 ss = new ServiceState(); in notifyServiceState()
122 ServiceState ss = sender.getServiceState(); in doNotifyDataConnection()
DDataConnectionTracker.java40 import android.telephony.ServiceState;
1055 if ((rt == ServiceState.RADIO_TECHNOLOGY_IS95A) || in getReryConfig()
1056 (rt == ServiceState.RADIO_TECHNOLOGY_IS95B) || in getReryConfig()
1057 (rt == ServiceState.RADIO_TECHNOLOGY_1xRTT) || in getReryConfig()
1058 (rt == ServiceState.RADIO_TECHNOLOGY_EVDO_0) || in getReryConfig()
1059 (rt == ServiceState.RADIO_TECHNOLOGY_EVDO_A) || in getReryConfig()
1060 (rt == ServiceState.RADIO_TECHNOLOGY_EVDO_B) || in getReryConfig()
1061 (rt == ServiceState.RADIO_TECHNOLOGY_EHRPD)) { in getReryConfig()
DRestrictedState.java19 import android.telephony.ServiceState;
DCallManager.java29 import android.telephony.ServiceState;
261 int resultState = ServiceState.STATE_OUT_OF_SERVICE; in getServiceState()
265 if (serviceState == ServiceState.STATE_IN_SERVICE) { in getServiceState()
269 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in getServiceState()
272 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY || in getServiceState()
273 resultState == ServiceState.STATE_POWER_OFF) { in getServiceState()
276 } else if (serviceState == ServiceState.STATE_EMERGENCY_ONLY) { in getServiceState()
277 if (resultState == ServiceState.STATE_POWER_OFF) { in getServiceState()
777 boolean result = (serviceState != ServiceState.STATE_POWER_OFF in canDial()
DSMSDispatcher.java43 import android.telephony.ServiceState;
398 if (ss != ServiceState.STATE_IN_SERVICE) { in handleSendComplete()
453 if (ss == ServiceState.STATE_POWER_OFF) { in handleNotInService()
897 if (ss != ServiceState.STATE_IN_SERVICE) { in sendRawPdu()
978 if (ss != ServiceState.STATE_IN_SERVICE) { in sendMultipartSms()
DPhone.java27 import android.telephony.ServiceState;
261 ServiceState getServiceState(); in getServiceState()
/frameworks/base/services/java/com/android/server/location/
DComprehensiveCountryDetector.java25 import android.telephony.ServiceState;
74 private ServiceState mLastState;
78 public void onServiceStateChanged(ServiceState serviceState) {
85 mLastState = new ServiceState(serviceState);
363 public void onServiceStateChanged(ServiceState serviceState) { in addPhoneStateListener()
371 mLastState = new ServiceState(serviceState); in addPhoneStateListener()
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipPhoneBase.java28 import android.telephony.ServiceState;
114 public ServiceState getServiceState() { in getServiceState()
117 ServiceState s = new ServiceState(); in getServiceState()
118 s.setState(ServiceState.STATE_IN_SERVICE); in getServiceState()
194 void notifyServiceStateChanged(ServiceState ss) { in notifyServiceStateChanged()
205 if (serviceState == ServiceState.STATE_POWER_OFF) return false; in canDial()
/frameworks/base/services/java/com/android/server/
DTelephonyRegistry.java30 import android.telephony.ServiceState;
80 private ServiceState mServiceState = new ServiceState();
168 r.callback.onServiceStateChanged(new ServiceState(mServiceState)); in listen()
279 public void notifyServiceState(ServiceState state) { in notifyServiceState()
288 r.callback.onServiceStateChanged(new ServiceState(state)); in notifyServiceState()
544 private void broadcastServiceStateChanged(ServiceState state) { in broadcastServiceStateChanged()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java32 import android.telephony.ServiceState;
536 public void onServiceStateChanged(ServiceState serviceState) {
537 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java43 import android.telephony.ServiceState;
75 ServiceState mServiceState;
301 public void onServiceStateChanged(ServiceState state) {
379 case ServiceState.STATE_OUT_OF_SERVICE: in hasService()
380 case ServiceState.STATE_POWER_OFF: in hasService()

12