HomeSort by relevance Sort by last modified time
    Searched full:servicestate (Results 1 - 25 of 70) sorted by null

1 2 3

  /cts/tests/tests/telephony/src/android/telephony/cts/
ServiceStateTest.java 19 import android.telephony.ServiceState;
26 @TestTargetClass(ServiceState.class)
80 method = "ServiceState",
85 method = "ServiceState",
90 method = "ServiceState",
91 args = {ServiceState.class}
96 args = {ServiceState.class}
140 ServiceState serviceState = new ServiceState();
    [all...]
PhoneStateListenerTest.java 23 import android.telephony.ServiceState;
90 args = {ServiceState.class}
100 public void onServiceStateChanged(ServiceState serviceState) {
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/
CdmaLteServiceStateTracker.java 26 import android.telephony.ServiceState;
41 private ServiceState mLteSS; // The last LTE state from Voice Registration
49 mLteSS = new ServiceState();
210 if (mLteSS.getState() == ServiceState.STATE_IN_SERVICE) {
233 if (newSS.getState() == ServiceState.STATE_OUT_OF_SERVICE) {
246 boolean hasRegistered = ss.getState() != ServiceState.STATE_IN_SERVICE
247 && newSS.getState() == ServiceState.STATE_IN_SERVICE;
249 boolean hasDeregistered = ss.getState() == ServiceState.STATE_IN_SERVICE
250 && newSS.getState() != ServiceState.STATE_IN_SERVICE;
253 mDataConnectionState != ServiceState.STATE_IN_SERVIC
    [all...]
CdmaServiceStateTracker.java 46 import android.telephony.ServiceState;
87 * Values correspond to ServiceState.RADIO_TECHNOLOGY_ definitions.
100 protected int mDataConnectionState = ServiceState.STATE_OUT_OF_SERVICE;
101 protected int mNewDataConnectionState = ServiceState.STATE_OUT_OF_SERVICE;
170 ss = new ServiceState();
171 newSS = new ServiceState();
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
IPhoneStateListener.aidl 20 import android.telephony.ServiceState;
24 void onServiceStateChanged(in ServiceState serviceState);
ITelephonyRegistry.aidl 23 import android.telephony.ServiceState;
31 void notifyServiceState(in ServiceState state);
PhoneStateIntentReceiver.java 25 import android.telephony.ServiceState;
50 ServiceState mServiceState = new ServiceState();
89 public ServiceState getServiceState() {
189 mServiceState = ServiceState.newFromBundle(intent.getExtras());
DefaultPhoneNotifier.java 24 import android.telephony.ServiceState;
59 ServiceState ss = sender.getServiceState();
61 ss = new ServiceState();
122 ServiceState ss = sender.getServiceState();
  /frameworks/base/telephony/java/android/telephony/
PhoneStateListener.java 22 import android.telephony.ServiceState;
56 * @see ServiceState
165 * @see ServiceState#STATE_EMERGENCY_ONLY
166 * @see ServiceState#STATE_IN_SERVICE
167 * @see ServiceState#STATE_OUT_OF_SERVICE
168 * @see ServiceState#STATE_POWER_OFF
170 public void onServiceStateChanged(ServiceState serviceState) {
177 * @see ServiceState#STATE_EMERGENCY_ONLY
178 * @see ServiceState#STATE_IN_SERVIC
    [all...]
ServiceState.aidl 20 parcelable ServiceState;
ServiceState.java 27 * The following phone information is included in returned ServiceState:
36 public class ServiceState implements Parcelable {
137 * Create a new ServiceState from a intent notifier Bundle
143 * @return newly created ServiceState
146 public static ServiceState newFromBundle(Bundle m) {
147 ServiceState ret;
148 ret = new ServiceState();
156 public ServiceState() {
164 public ServiceState(ServiceState s)
    [all...]
  /frameworks/base/services/java/com/android/server/location/
ComprehensiveCountryDetector.java 25 import android.telephony.ServiceState;
74 private ServiceState mLastState;
78 public void onServiceStateChanged(ServiceState serviceState) {
83 if (mLastState == null || mLastState.getState() != serviceState.getState()) {
85 mLastState = new ServiceState(serviceState);
363 public void onServiceStateChanged(ServiceState serviceState) {
369 if (mLastState == null || mLastState.getState() != serviceState.getState())
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/sip/
SipPhoneBase.java 28 import android.telephony.ServiceState;
114 public ServiceState getServiceState() {
117 ServiceState s = new ServiceState();
118 s.setState(ServiceState.STATE_IN_SERVICE);
194 void notifyServiceStateChanged(ServiceState ss) {
203 int serviceState = getServiceState().getState();
204 Log.v(LOG_TAG, "canDial(): serviceState = " + serviceState);
205 if (serviceState == ServiceState.STATE_POWER_OFF) return false
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java 41 import android.telephony.ServiceState;
145 ServiceState serviceState = status.mPhoneStateReceiver.getServiceState();
146 status.updateServiceState(serviceState);
359 private void updateServiceState(ServiceState serviceState) {
360 int state = serviceState.getState();
364 case ServiceState.STATE_IN_SERVICE:
367 case ServiceState.STATE_OUT_OF_SERVICE:
368 case ServiceState.STATE_EMERGENCY_ONLY
    [all...]
  /packages/apps/Phone/src/com/android/phone/
OtaStartupReceiver.java 30 import android.telephony.ServiceState;
74 ServiceState state = (ServiceState) ((AsyncResult) msg.obj).result;
86 if (state.getState() == ServiceState.STATE_IN_SERVICE) {
130 if (app.mCM.getServiceState() != ServiceState.STATE_IN_SERVICE) {
PhoneInterfaceManager.java 32 import android.telephony.ServiceState;
524 // needed for the ServiceState.requestStateUpdate() call (which is
530 return mPhone.getServiceState().getState() != ServiceState.STATE_POWER_OFF;
539 if ((mPhone.getServiceState().getState() != ServiceState.STATE_POWER_OFF) != turnOn) {
745 case ServiceState.RADIO_TECHNOLOGY_GPRS:
747 case ServiceState.RADIO_TECHNOLOGY_EDGE:
749 case ServiceState.RADIO_TECHNOLOGY_UMTS:
751 case ServiceState.RADIO_TECHNOLOGY_HSDPA:
753 case ServiceState.RADIO_TECHNOLOGY_HSUPA:
755 case ServiceState.RADIO_TECHNOLOGY_HSPA
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
GsmServiceStateTracker.java 54 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();
192 newSS = new ServiceState();
750 log("Poll ServiceState done: " +
757 " oldType=" + ServiceState.radioTechnologyToString(mRadioTechnology) +
758 " newType=" + ServiceState.radioTechnologyToString(mNewRadioTechnology));
762 ss.getState() != ServiceState.STATE_IN_SERVICE
763 && newSS.getState() == ServiceState.STATE_IN_SERVICE
    [all...]
GsmConnection.java 28 import android.telephony.ServiceState;
367 int serviceState = phone.getServiceState().getState();
368 if (serviceState == ServiceState.STATE_POWER_OFF) {
370 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE
371 || serviceState == ServiceState.STATE_EMERGENCY_ONLY ) {
  /packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
ImsFrameworkApp.java 27 import android.telephony.ServiceState;
100 ServiceState ss = ServiceState.newFromBundle(intent.getExtras());
101 Log.d(TAG, "- ServiceState: " + ss);
  /prebuilt/sdk/4/
framework.aidl 30 parcelable android.telephony.ServiceState;
  /prebuilt/sdk/5/
framework.aidl 33 parcelable android.telephony.ServiceState;
  /prebuilt/sdk/10/
framework.aidl 39 parcelable android.telephony.ServiceState;
  /prebuilt/sdk/11/
framework.aidl 39 parcelable android.telephony.ServiceState;
  /prebuilt/sdk/12/
framework.aidl 39 parcelable android.telephony.ServiceState;
  /prebuilt/sdk/13/
framework.aidl 39 parcelable android.telephony.ServiceState;

Completed in 196 milliseconds

1 2 3