HomeSort by relevance Sort by last modified time
    Searched refs:ServiceState (Results 26 - 50 of 131) sorted by null

12 3 4 5 6

  /packages/apps/Settings/src/com/android/settings/deviceinfo/
SimStatus.java 33 import android.telephony.ServiceState;
317 private void updateServiceState(ServiceState serviceState) {
318 final int state = serviceState.getState();
322 case ServiceState.STATE_IN_SERVICE:
325 case ServiceState.STATE_OUT_OF_SERVICE:
328 case ServiceState.STATE_EMERGENCY_ONLY:
333 case ServiceState.STATE_POWER_OFF:
342 if (serviceState.getRoaming()) {
347 setSummaryText(KEY_OPERATOR_NAME, serviceState.getOperatorAlphaLong())
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastReceiver.java 27 import android.telephony.ServiceState;
58 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras());
59 if (serviceState != null) {
60 int newState = serviceState.getState();
62 Log.d(TAG, "Service state changed! " + newState + " Full: " + serviceState +
65 if (((newState == ServiceState.STATE_IN_SERVICE) ||
66 (newState == 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);
  /packages/services/Telephony/src/com/android/services/telephony/
EmergencyCallStateListener.java 23 import android.telephony.ServiceState;
73 onServiceStateChanged((ServiceState) ((AsyncResult) msg.obj).result);
145 private void onServiceStateChanged(ServiceState state) {
173 private boolean isOkToCall(int serviceState) {
182 int serviceState = mPhone.getServiceState().getState();
184 mPhone.getState(), serviceState, mNumRetriesSoFar);
192 if (isOkToCall(serviceState)) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DataProfile.java 20 import android.telephony.ServiceState;
76 ? TYPE_COMMON : (ServiceState.bearerBitmapHasCdma(apn.bearerBitmask)
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyEvents.java 23 import android.telephony.ServiceState;
210 private ServiceState mServiceState;
212 ServiceStateEvent(ServiceState serviceState, int subscriptionId) {
213 mServiceState = serviceState;
216 serviceState.getState());
219 serviceState.isEmergencyOnly()) {
228 public ServiceState getServiceState() {
233 JSONObject serviceState = new JSONObject();
235 serviceState.put
    [all...]
TelephonyUtils.java 24 import android.telephony.ServiceState;
344 case ServiceState.STATE_EMERGENCY_ONLY:
346 case ServiceState.STATE_IN_SERVICE:
348 case ServiceState.STATE_OUT_OF_SERVICE:
350 case ServiceState.STATE_POWER_OFF:
  /frameworks/base/telephony/java/android/telephony/
PhoneStateListener.java 28 import android.telephony.ServiceState;
65 * @see ServiceState
283 PhoneStateListener.this.onServiceStateChanged((ServiceState)msg.obj);
345 * @see ServiceState#STATE_EMERGENCY_ONLY
346 * @see ServiceState#STATE_IN_SERVICE
347 * @see ServiceState#STATE_OUT_OF_SERVICE
348 * @see ServiceState#STATE_POWER_OFF
350 public void onServiceStateChanged(ServiceState serviceState) {
357 * @see ServiceState#STATE_EMERGENCY_ONL
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
ITelephonyRegistry.aidl 24 import android.telephony.ServiceState;
41 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsPhoneBase.java 28 import android.telephony.ServiceState;
136 public ServiceState getServiceState() {
139 ServiceState s = new ServiceState();
140 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE);
232 void notifyServiceStateChanged(ServiceState ss) {
242 int serviceState = getServiceState().getState();
243 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState);
244 if (serviceState == ServiceState.STATE_POWER_OFF) return false
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipPhoneBase.java 28 import android.telephony.ServiceState;
104 public ServiceState getServiceState() {
107 ServiceState s = new ServiceState();
108 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE);
195 void notifyServiceStateChanged(ServiceState ss) {
205 int serviceState = getServiceState().getState();
206 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState);
207 if (serviceState == ServiceState.STATE_POWER_OFF) return false
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CallController.java 35 import android.telephony.ServiceState;
291 // Check the current ServiceState to make sure it's OK
534 * Checks the current ServiceState to make sure it's OK
543 if (VDBG) log("checkIfOkToInitiateOutgoingCall: ServiceState = " + state);
546 case ServiceState.STATE_IN_SERVICE:
550 case ServiceState.STATE_POWER_OFF:
554 case ServiceState.STATE_EMERGENCY_ONLY:
558 // does not actually use ServiceState.STATE_EMERGENCY_ONLY,
565 case ServiceState.STATE_OUT_OF_SERVICE:
570 throw new IllegalStateException("Unexpected ServiceState: " + state)
    [all...]
  /external/ims/rcs/rcsmanager/src/java/com/android/ims/
RcsPresenceInfo.java 111 public static class ServiceState {
141 * Service state. It is defined by ServiceState.
143 * @see ServiceState
186 * Return the ServiceState of the specific serviceType.
193 * @see ServiceState
197 return getServiceInfo(serviceType, ServiceInfoKey.STATE, ServiceState.UNKNOWN);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
GsmCdmaPhone.java 45 import android.telephony.ServiceState;
278 mIccCardProxy.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS);
292 mIccCardProxy.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT);
394 public ServiceState getServiceState() {
395 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) {
397 return ServiceState.mergeServiceStates(
398 (mSST == null) ? new ServiceState() : mSST.mSS,
407 return new ServiceState();
500 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE
510 } else { /* mSST.gprsState == ServiceState.STATE_IN_SERVICE *
    [all...]
DefaultPhoneNotifier.java 27 import android.telephony.ServiceState;
76 ServiceState ss = sender.getServiceState();
83 ss = new ServiceState();
179 ServiceState ss = sender.getServiceState();
TelephonyTester.java 28 import android.telephony.ServiceState;
169 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN,
CallManager.java 31 import android.telephony.ServiceState;
280 int resultState = ServiceState.STATE_OUT_OF_SERVICE;
283 int serviceState = phone.getServiceState().getState();
284 if (serviceState == ServiceState.STATE_IN_SERVICE) {
286 resultState = serviceState;
288 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) {
291 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY ||
292 resultState == ServiceState.STATE_POWER_OFF)
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
CarrierText.java 29 import android.telephony.ServiceState;
125 ServiceState ss = mKeyguardUpdateMonitor.mServiceStates.get(subId);
126 if (ss != null && ss.getDataRegState() == ServiceState.STATE_IN_SERVICE) {
129 if (ss.getRilDataRadioTechnology() != ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DcTrackerTest.java 38 import android.telephony.ServiceState;
462 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(0), eq(FAKE_APN1),
526 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(0), eq(FAKE_APN1),
550 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(0), eq(FAKE_APN2),
581 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(0), eq(FAKE_APN1),
584 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(2), eq(FAKE_APN3),
633 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(0), eq(FAKE_APN1),
636 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(2), eq(FAKE_APN3),
693 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(0), eq(FAKE_APN1),
696 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(2), eq(FAKE_APN3)
    [all...]
DataConnectionTest.java 27 import android.telephony.ServiceState;
128 ServiceState.RIL_RADIO_TECHNOLOGY_UMTS);
201 eq(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS), eq(0), eq("spmode.ne.jp"),
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileSignalController.java 23 import android.telephony.ServiceState;
65 private ServiceState mServiceState;
275 case ServiceState.STATE_POWER_OFF:
277 case ServiceState.STATE_OUT_OF_SERVICE:
278 case ServiceState.STATE_EMERGENCY_ONLY:
279 return mServiceState.getDataRegState() == ServiceState.STATE_IN_SERVICE;
467 public void onServiceStateChanged(ServiceState state) {
EmergencyCryptkeeperText.java 25 import android.telephony.ServiceState;
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
GsmCdmaPhoneTest.java 32 import android.telephony.ServiceState;
95 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_GSM);
97 new AsyncResult(null, new int[]{ServiceState.RIL_RADIO_TECHNOLOGY_GSM}, null)));
104 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_IS95A);
106 new AsyncResult(null, new int[]{ServiceState.RIL_RADIO_TECHNOLOGY_IS95A}, null)));
151 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT);
162 ServiceState serviceState = new ServiceState();
163 mSST.mSS = serviceState;
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaSMSDispatcher.java 28 import android.telephony.ServiceState;
248 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) {
258 || (ServiceState.isLte(currentDataNetwork)
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
NetworkControllerBaseTest.java 25 import android.telephony.ServiceState;
63 protected ServiceState mServiceState;
91 mServiceState = mock(ServiceState.class);
162 setVoiceRegState(ServiceState.STATE_IN_SERVICE);

Completed in 1431 milliseconds

12 3 4 5 6