HomeSort by relevance Sort by last modified time
    Searched refs:ServiceState (Results 1 - 25 of 60) sorted by null

1 2 3

  /frameworks/base/telephony/java/android/telephony/
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...]
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...]
  /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());
RestrictedState.java 19 import android.telephony.ServiceState;
ServiceStateTracker.java 24 import android.telephony.ServiceState;
34 public ServiceState ss;
35 protected ServiceState newSS;
57 * Values correspond to ServiceState.RADIO_TECHNOLOGY_ definitions.
316 if (getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) {
334 if (getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) {
352 if (ss.getState() == ServiceState.STATE_IN_SERVICE) {
DefaultPhoneNotifier.java 24 import android.telephony.ServiceState;
59 ServiceState ss = sender.getServiceState();
61 ss = new ServiceState();
122 ServiceState ss = sender.getServiceState();
  /packages/apps/Phone/src/com/android/phone/
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...]
EmergencyCallHelper.java 32 import android.telephony.ServiceState;
199 ServiceState state = (ServiceState) ((AsyncResult) msg.obj).result;
211 boolean okToCall = (state.getState() == ServiceState.STATE_IN_SERVICE)
212 || (state.getState() == ServiceState.STATE_EMERGENCY_ONLY);
282 int serviceState = mPhone.getServiceState().getState();
284 + ", service state " + serviceState
301 if (serviceState != ServiceState.STATE_POWER_OFF) {
CallController.java 31 import android.telephony.ServiceState;
319 // Check the current ServiceState to make sure it's OK
561 * Checks the current ServiceState to make sure it's OK
570 if (VDBG) log("checkIfOkToInitiateOutgoingCall: ServiceState = " + state);
573 case ServiceState.STATE_IN_SERVICE:
577 case ServiceState.STATE_POWER_OFF:
581 case ServiceState.STATE_EMERGENCY_ONLY:
585 // does not actually use ServiceState.STATE_EMERGENCY_ONLY,
592 case ServiceState.STATE_OUT_OF_SERVICE:
597 throw new IllegalStateException("Unexpected ServiceState: " + state)
    [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...]
  /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();
747 log("Poll ServiceState done: " +
754 " oldType=" + ServiceState.radioTechnologyToString(mRadioTechnology) +
755 " newType=" + ServiceState.radioTechnologyToString(mNewRadioTechnology));
759 ss.getState() != ServiceState.STATE_IN_SERVICE
760 && 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/apps/Settings/src/com/android/settings/deviceinfo/
Status.java 38 import android.telephony.ServiceState;
142 ServiceState serviceState = status.mPhoneStateReceiver.getServiceState();
143 status.updateServiceState(serviceState);
354 private void updateServiceState(ServiceState serviceState) {
355 int state = serviceState.getState();
359 case ServiceState.STATE_IN_SERVICE:
362 case ServiceState.STATE_OUT_OF_SERVICE:
363 case ServiceState.STATE_EMERGENCY_ONLY
    [all...]
  /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);
  /packages/apps/Mms/src/com/android/mms/util/
DownloadManager.java 43 import android.telephony.ServiceState;
94 ServiceState state = ServiceState.newFromBundle(intent.getExtras());
  /frameworks/base/services/java/com/android/server/
TelephonyRegistry.java 30 import android.telephony.ServiceState;
80 private ServiceState mServiceState = new ServiceState();
168 r.callback.onServiceStateChanged(new ServiceState(mServiceState));
279 public void notifyServiceState(ServiceState state) {
288 r.callback.onServiceStateChanged(new ServiceState(state));
544 private void broadcastServiceStateChanged(ServiceState state) {
  /packages/apps/Settings/src/com/android/settings/
RadioInfo.java 38 import android.telephony.ServiceState;
408 return phone.getServiceState().getState() != ServiceState.STATE_POWER_OFF;
430 if ((ServiceState.STATE_OUT_OF_SERVICE == state) ||
431 (ServiceState.STATE_POWER_OFF == state)) {
518 ServiceState serviceState = mPhoneStateReceiver.getServiceState();
519 int state = serviceState.getState();
524 case ServiceState.STATE_IN_SERVICE:
527 case ServiceState.STATE_OUT_OF_SERVICE:
528 case ServiceState.STATE_EMERGENCY_ONLY
    [all...]

Completed in 2237 milliseconds

1 2 3