/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipPhoneBase.java | 29 import android.telephony.ServiceState; 105 public ServiceState getServiceState() { 108 ServiceState s = new ServiceState(); 109 s.setState(ServiceState.STATE_IN_SERVICE); 197 void notifyServiceStateChanged(ServiceState ss) { 207 int serviceState = getServiceState().getState(); 208 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState); 209 if (serviceState == ServiceState.STATE_POWER_OFF) return false [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallController.java | 35 import android.telephony.ServiceState; 301 // Check the current ServiceState to make sure it's OK 544 * Checks the current ServiceState to make sure it's OK 553 if (VDBG) log("checkIfOkToInitiateOutgoingCall: ServiceState = " + state); 556 case ServiceState.STATE_IN_SERVICE: 560 case ServiceState.STATE_POWER_OFF: 564 case ServiceState.STATE_EMERGENCY_ONLY: 568 // does not actually use ServiceState.STATE_EMERGENCY_ONLY, 575 case ServiceState.STATE_OUT_OF_SERVICE: 580 throw new IllegalStateException("Unexpected ServiceState: " + state) [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Status.java | 42 import android.telephony.ServiceState; 183 ServiceState serviceState = status.mPhoneStateReceiver.getServiceState(); 184 status.updateServiceState(serviceState); 503 private void updateServiceState(ServiceState serviceState) { 504 int state = serviceState.getState(); 508 case ServiceState.STATE_IN_SERVICE: 511 case ServiceState.STATE_OUT_OF_SERVICE: 512 case ServiceState.STATE_EMERGENCY_ONLY [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionService.java | 29 import android.telephony.ServiceState; 139 if (state == ServiceState.STATE_POWER_OFF) { 144 case ServiceState.STATE_IN_SERVICE: 145 case ServiceState.STATE_EMERGENCY_ONLY: 147 case ServiceState.STATE_OUT_OF_SERVICE: 151 "ServiceState.STATE_OUT_OF_SERVICE")); 152 case ServiceState.STATE_POWER_OFF: 156 "ServiceState.STATE_POWER_OFF"));
|
TelecomAccountRegistry.java | 29 import android.telephony.ServiceState; 203 public void onServiceStateChanged(ServiceState serviceState) { 204 int newState = serviceState.getState(); 205 if (newState == ServiceState.STATE_IN_SERVICE && mServiceState != newState) { 218 private int mServiceState = ServiceState.STATE_POWER_OFF;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaServiceStateTracker.java | 39 import android.telephony.ServiceState; 605 int regState = ServiceState.RIL_REG_STATE_UNKNOWN; [all...] |
CdmaConnection.java | 33 import android.telephony.ServiceState; 373 int serviceState = phone.getServiceState().getState(); 378 if (serviceState == ServiceState.STATE_POWER_OFF) { 380 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE 381 || serviceState == ServiceState.STATE_EMERGENCY_ONLY) {
|
CdmaSMSDispatcher.java | 31 import android.telephony.ServiceState; 257 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) {
|
/packages/apps/Mms/src/com/android/mms/util/ |
DownloadManager.java | 34 import android.telephony.ServiceState; 98 ServiceState state = ServiceState.newFromBundle(intent.getExtras());
|
/frameworks/base/services/core/java/com/android/server/tv/ |
TvInputManagerService.java | 286 ServiceState serviceState = userState.serviceStateMap.get(component); 287 if (serviceState == null) { 289 // prepare the ServiceState object so that we can connect to the service and 291 serviceState = new ServiceState(component, userId); 292 userState.serviceStateMap.put(component, serviceState); 295 inputList.addAll(serviceState.inputList); 340 ServiceState serviceState = userState.serviceStateMap.get(info.getComponent()) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneProxy.java | 33 import android.telephony.ServiceState; 96 mIccCardProxy.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS); 98 mIccCardProxy.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT); 163 if ((newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_LTE) || 164 (newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN)) { 168 if (volteReplacementRat != ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN) { 187 newVoiceRadioTech = ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT; 190 if ((ServiceState.isCdma(newVoiceRadioTech) && 192 (ServiceState.isGsm(newVoiceRadioTech) && 203 if (newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN) [all...] |
CallManager.java | 32 import android.telephony.ServiceState; 310 int resultState = ServiceState.STATE_OUT_OF_SERVICE; 313 int serviceState = phone.getServiceState().getState(); 314 if (serviceState == ServiceState.STATE_IN_SERVICE) { 316 resultState = serviceState; 318 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { 321 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY || 322 resultState == ServiceState.STATE_POWER_OFF) [all...] |
DefaultPhoneNotifier.java | 28 import android.telephony.ServiceState; 77 ServiceState ss = sender.getServiceState(); 84 ss = new ServiceState(); 175 ServiceState ss = sender.getServiceState();
|
HardwareConfig.java | 21 import android.telephony.ServiceState; 90 * rat - BitSet value, based on android.telephony.ServiceState
|
ProxyController.java | 37 import android.telephony.ServiceState;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmConnection.java | 29 import android.telephony.ServiceState; 337 int serviceState = phone.getServiceState().getState(); 341 if (serviceState == ServiceState.STATE_POWER_OFF) { 343 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE 344 || serviceState == ServiceState.STATE_EMERGENCY_ONLY ) {
|
GSMPhone.java | 35 import android.telephony.ServiceState; 291 public ServiceState 293 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { 295 mImsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { 304 return new ServiceState(); 349 mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) { 363 } else { /* mSST.gprsState == ServiceState.STATE_IN_SERVICE */ 395 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) { 460 notifyServiceStateChanged(ServiceState ss) { 748 && imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 36 import android.telephony.ServiceState; 433 return phone.getServiceState().getState() != ServiceState.STATE_POWER_OFF; 460 if ((ServiceState.STATE_OUT_OF_SERVICE == state) || 461 (ServiceState.STATE_POWER_OFF == state)) { 570 ServiceState serviceState = mPhoneStateReceiver.getServiceState(); 571 int state = serviceState.getState(); 576 case ServiceState.STATE_IN_SERVICE: 579 case ServiceState.STATE_OUT_OF_SERVICE: 580 case ServiceState.STATE_EMERGENCY_ONLY [all...] |
/frameworks/base/services/core/java/com/android/server/ |
TelephonyRegistry.java | 40 import android.telephony.ServiceState; 123 private ServiceState[] mServiceState; 245 mServiceState = new ServiceState[numPhones]; 261 mServiceState[i] = new ServiceState(); 359 new ServiceState(mServiceState[phoneId])); 542 public void notifyServiceStateForPhoneId(int phoneId, long subId, ServiceState state) { 571 r.callback.onServiceStateChanged(new ServiceState(state)); [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneStateListenerTest.java | 24 import android.telephony.ServiceState; 93 public void onServiceStateChanged(ServiceState serviceState) {
|
/packages/apps/OMA-DM/plugins/diagmon/com/android/omadm/plugin/diagmon/ |
DiagmonPlugin.java | 21 import android.telephony.ServiceState; 234 public void onServiceStateChanged(ServiceState serviceState) { 235 mHomeRoam = serviceState.getRoaming();
|
/external/chromium_org/chrome/browser/printing/cloud_print/ |
cloud_print_proxy_service_unittest.cc | 62 } ServiceState; 64 void SetConnectSuccessMockExpectations(ServiceState state, bool post_task); 95 ServiceState service_state,
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcStatsEntry.java | 266 public void addService(ProcessStats.ServiceState svc) { 318 public Service(ProcessStats.ServiceState service) { 323 ProcessStats.ServiceState.SERVICE_RUN,
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiverService.java | 47 import android.telephony.ServiceState; 227 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); 228 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) {
|
/frameworks/base/services/core/java/com/android/server/location/ |
ComprehensiveCountryDetector.java | 26 import android.telephony.ServiceState; 118 * Number of {@link PhoneStateListener#onServiceStateChanged(ServiceState state)} events that 124 * Total number of {@link PhoneStateListener#onServiceStateChanged(ServiceState state)} events 439 public void onServiceStateChanged(ServiceState serviceState) { 446 if (DEBUG) Slog.d(TAG, "onServiceStateChanged: " + serviceState.getState());
|