Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/
DServiceState.java36 public class ServiceState implements Parcelable { class
154 public static ServiceState newFromBundle(Bundle m) { in newFromBundle()
155 ServiceState ret; in newFromBundle()
156 ret = new ServiceState(); in newFromBundle()
164 public ServiceState() { in ServiceState() method in ServiceState
172 public ServiceState(ServiceState s) { in ServiceState() method in ServiceState
176 protected void copyFrom(ServiceState s) { in copyFrom()
197 public ServiceState(Parcel in) { in ServiceState() method in ServiceState
237 public static final Parcelable.Creator<ServiceState> CREATOR =
238 new Parcelable.Creator<ServiceState>() {
[all …]
DPhoneStateListener.java22 import android.telephony.ServiceState;
179 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged()
306 public void onServiceStateChanged(ServiceState serviceState) {
360 PhoneStateListener.this.onServiceStateChanged((ServiceState)msg.obj);
DServiceState.aidl20 parcelable ServiceState;
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaLteServiceStateTracker.java27 import android.telephony.ServiceState;
46 private ServiceState mLteSS; // The last LTE state from Voice Registration
52 mLteSS = new ServiceState(); in CdmaLteServiceStateTracker()
193 if (mLteSS.getState() == ServiceState.STATE_IN_SERVICE) { in pollStateDone()
218 if (newSS.getState() == ServiceState.STATE_OUT_OF_SERVICE) { in pollStateDone()
231 boolean hasRegistered = ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
232 && newSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
234 boolean hasDeregistered = ss.getState() == ServiceState.STATE_IN_SERVICE in pollStateDone()
235 && newSS.getState() != ServiceState.STATE_IN_SERVICE; in pollStateDone()
238 mDataConnectionState != ServiceState.STATE_IN_SERVICE in pollStateDone()
[all …]
DCdmaServiceStateTracker.java49 import android.telephony.ServiceState;
99 protected int mDataConnectionState = ServiceState.STATE_OUT_OF_SERVICE;
100 protected int mNewDataConnectionState = ServiceState.STATE_OUT_OF_SERVICE;
170 ss = new ServiceState(); in CdmaServiceStateTracker()
171 newSS = new ServiceState(); in CdmaServiceStateTracker()
935 ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
936 && newSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
939 ss.getState() == ServiceState.STATE_IN_SERVICE in pollStateDone()
940 && newSS.getState() != ServiceState.STATE_IN_SERVICE; in pollStateDone()
943 mDataConnectionState != ServiceState.STATE_IN_SERVICE in pollStateDone()
[all …]
DCdmaConnection.java33 import android.telephony.ServiceState;
428 if (serviceState == ServiceState.STATE_POWER_OFF) { in disconnectCauseFromCode()
430 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE in disconnectCauseFromCode()
431 || serviceState == ServiceState.STATE_EMERGENCY_ONLY) { in disconnectCauseFromCode()
DCDMAPhone.java38 import android.telephony.ServiceState;
274 public ServiceState getServiceState() { in getServiceState()
335 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) { in getDataActivityState()
621 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) { in getDataConnectionState()
825 void 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;
38 public ServiceState ss;
39 protected ServiceState newSS;
324 if (getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) { in registerForDataConnectionAttached()
342 if (getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) { in registerForDataConnectionDetached()
360 if (ss.getState() == ServiceState.STATE_IN_SERVICE) { in registerForNetworkAttached()
DIPhoneStateListener.aidl20 import android.telephony.ServiceState;
25 void onServiceStateChanged(in ServiceState serviceState); in onServiceStateChanged()
DITelephonyRegistry.aidl23 import android.telephony.ServiceState;
32 void notifyServiceState(in ServiceState state); in notifyServiceState()
DDefaultPhoneNotifier.java25 import android.telephony.ServiceState;
60 ServiceState ss = sender.getServiceState(); in notifyServiceState()
62 ss = new ServiceState(); in notifyServiceState()
123 ServiceState ss = sender.getServiceState(); in doNotifyDataConnection()
DPhoneProxy.java30 import android.telephony.ServiceState;
152 newVoiceRadioTech = ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT; in updatePhoneObject()
155 if ((ServiceState.isCdma(newVoiceRadioTech) && in updatePhoneObject()
157 (ServiceState.isGsm(newVoiceRadioTech) && in updatePhoneObject()
168 if (newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN) { in updatePhoneObject()
219 + (ServiceState.isGsm(newVoiceRadioTech) ? "GSM" : "CDMA")); in deleteAndCreatePhone()
234 if (ServiceState.isCdma(newVoiceRadioTech)) { in deleteAndCreatePhone()
236 } else if (ServiceState.isGsm(newVoiceRadioTech)) { in deleteAndCreatePhone()
251 public ServiceState getServiceState() { in getServiceState()
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()
797 boolean result = (serviceState != ServiceState.STATE_POWER_OFF in canDial()
DRestrictedState.java19 import android.telephony.ServiceState;
DSMSDispatcher.java44 import android.telephony.ServiceState;
389 if (ss != ServiceState.STATE_IN_SERVICE) { in handleSendComplete()
444 if (ss == ServiceState.STATE_POWER_OFF) { in handleNotInService()
917 if (ss != ServiceState.STATE_IN_SERVICE) { in sendRawPdu()
1016 if (ss != ServiceState.STATE_IN_SERVICE) { in sendMultipartSms()
DPhone.java27 import android.telephony.ServiceState;
262 ServiceState getServiceState(); in getServiceState()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java55 import android.telephony.ServiceState;
85 private int gprsState = ServiceState.STATE_OUT_OF_SERVICE;
86 private int newGPRSState = ServiceState.STATE_OUT_OF_SERVICE;
200 ss = new ServiceState(); in GsmServiceStateTracker()
201 newSS = new ServiceState(); in GsmServiceStateTracker()
759 " oldType=" + ServiceState.rilRadioTechnologyToString(mRilRadioTechnology) + in pollStateDone()
760 " newType=" + ServiceState.rilRadioTechnologyToString(mNewRilRadioTechnology)); in pollStateDone()
764 ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
765 && newSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
768 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;
244 public ServiceState
291 != ServiceState.STATE_IN_SERVICE) { in getDataConnectionState()
332 if (mSST.getCurrentGprsState() == ServiceState.STATE_IN_SERVICE) { in getDataActivityState()
387 notifyServiceStateChanged(ServiceState ss) { in notifyServiceStateChanged()
/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;
81 private ServiceState mServiceState = new ServiceState();
171 r.callback.onServiceStateChanged(new ServiceState(mServiceState)); in listen()
289 public void notifyServiceState(ServiceState state) { in notifyServiceState()
298 r.callback.onServiceStateChanged(new ServiceState(state)); in notifyServiceState()
575 private void broadcastServiceStateChanged(ServiceState state) { in broadcastServiceStateChanged()
/frameworks/base/services/java/com/android/server/location/
DComprehensiveCountryDetector.java26 import android.telephony.ServiceState;
440 public void onServiceStateChanged(ServiceState serviceState) { in addPhoneStateListener()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java43 import android.telephony.ServiceState;
734 public void onServiceStateChanged(ServiceState serviceState) {
736 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java44 import android.telephony.ServiceState;
76 ServiceState mServiceState;
377 public void onServiceStateChanged(ServiceState state) {
455 case ServiceState.STATE_OUT_OF_SERVICE: in hasService()
456 case ServiceState.STATE_POWER_OFF: in hasService()

12