/frameworks/base/telephony/java/android/telephony/ |
ServiceState.aidl | 20 parcelable ServiceState;
|
RadioAccessFamily.java | 32 public static final int RAF_UNKNOWN = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN); 33 public static final int RAF_GPRS = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_GPRS); 34 public static final int RAF_EDGE = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_EDGE); 35 public static final int RAF_UMTS = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_UMTS); 36 public static final int RAF_IS95A = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_IS95A); 37 public static final int RAF_IS95B = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_IS95B); 38 public static final int RAF_1xRTT = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT); 39 public static final int RAF_EVDO_0 = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0); 40 public static final int RAF_EVDO_A = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A); 41 public static final int RAF_HSDPA = (1 << ServiceState.RIL_RADIO_TECHNOLOGY_HSDPA) [all...] |
ServiceState.java | 27 * The following phone information is included in returned ServiceState: 36 public class ServiceState implements Parcelable { 243 * Create a new ServiceState from a intent notifier Bundle 249 * @return newly created ServiceState 252 public static ServiceState newFromBundle(Bundle m) { 253 ServiceState ret; 254 ret = new ServiceState(); 262 public ServiceState() { 270 public ServiceState(ServiceState s) [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
ServiceStateTest.java | 19 import android.telephony.ServiceState; 28 ServiceState serviceState = new ServiceState(); 30 assertEquals(0, serviceState.describeContents()); 32 serviceState.setStateOff(); 33 assertEquals(ServiceState.STATE_POWER_OFF, serviceState.getState()); 34 checkOffStatus(serviceState); 36 serviceState.setStateOutOfService() [all...] |
/external/chromium_org/cloud_print/service/ |
service_state.h | 14 class ServiceState { 16 ServiceState(); 17 virtual ~ServiceState(); 96 DISALLOW_COPY_AND_ASSIGN(ServiceState);
|
service_state_unittest.cc | 16 ServiceState state; 21 ServiceState state; 39 ServiceState state; 59 class ServiceStateMock : public ServiceState {
|
service_state.cc | 84 ServiceState::ServiceState() { 88 ServiceState::~ServiceState() { 91 void ServiceState::Reset() { 100 bool ServiceState::FromString(const std::string& json) { 129 bool ServiceState::IsValid() const { 137 std::string ServiceState::ToString() { 160 std::string ServiceState::LoginToGoogle(const std::string& service, 212 bool ServiceState::Configure(const std::string& email [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaLteServiceStateTracker.java | 35 import android.telephony.ServiceState; 330 boolean hasRegistered = mSS.getVoiceRegState() != ServiceState.STATE_IN_SERVICE 331 && mNewSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE; 333 boolean hasDeregistered = mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE 334 && mNewSS.getVoiceRegState() != ServiceState.STATE_IN_SERVICE; 337 mSS.getDataRegState() != ServiceState.STATE_IN_SERVICE 338 && mNewSS.getDataRegState() == ServiceState.STATE_IN_SERVICE; 341 mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE 342 && mNewSS.getDataRegState() != ServiceState.STATE_IN_SERVICE; 366 mNewSS.getDataRegState() == ServiceState.STATE_IN_SERVICE & [all...] |
CdmaServiceStateTracker.java | 39 import android.telephony.ServiceState; 621 int regState = ServiceState.RIL_REG_STATE_UNKNOWN; [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
CreateConnectionTimeout.java | 27 import android.telephony.ServiceState; 105 public void onServiceStateChanged(ServiceState serviceState) { 106 long timeoutLengthMillis = getTimeoutLengthMillis(serviceState); 111 } else if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) { 135 private long getTimeoutLengthMillis(ServiceState serviceState) { 138 if (serviceState.getState() == ServiceState.STATE_POWER_OFF) [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
EmergencyCallHelper.java | 27 import android.telephony.ServiceState; 73 onServiceStateChanged((ServiceState) ((AsyncResult) msg.obj).result); 152 private void onServiceStateChanged(ServiceState state) { 180 private boolean isOkToCall(int serviceState, PhoneConstants.State phoneState) { 184 || (serviceState == ServiceState.STATE_IN_SERVICE) 185 || (serviceState == ServiceState.STATE_EMERGENCY_ONLY)) || 189 serviceState == ServiceState.STATE_OUT_OF_SERVICE) [all...] |
TelephonyConnectionService.java | 28 import android.telephony.ServiceState; 151 if (state == ServiceState.STATE_OUT_OF_SERVICE) { 157 if (state == ServiceState.STATE_POWER_OFF) { 162 case ServiceState.STATE_IN_SERVICE: 163 case ServiceState.STATE_EMERGENCY_ONLY: 165 case ServiceState.STATE_OUT_OF_SERVICE: 169 "ServiceState.STATE_OUT_OF_SERVICE")); 170 case ServiceState.STATE_POWER_OFF: 174 "ServiceState.STATE_POWER_OFF")); 429 if (ServiceState.STATE_IN_SERVICE == phone.getServiceState().getState()) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IPhoneStateListener.aidl | 20 import android.telephony.ServiceState; 29 void onServiceStateChanged(in ServiceState serviceState);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
DataConnectionStats.java | 26 import android.telephony.ServiceState; 45 private ServiceState mServiceState; 127 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE 128 && mServiceState.getState() != ServiceState.STATE_POWER_OFF; 138 public void onServiceStateChanged(ServiceState state) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneStateIntentReceiver.java | 25 import android.telephony.ServiceState; 48 ServiceState mServiceState = new ServiceState(); 86 public ServiceState getServiceState() { 186 mServiceState = ServiceState.newFromBundle(intent.getExtras());
|
/packages/services/Telephony/src/com/android/phone/ |
HfaLogic.java | 28 import android.telephony.ServiceState; 144 private void onServiceStateChange(ServiceState state) { 145 final boolean radioIsOff = state.getVoiceRegState() == ServiceState.STATE_POWER_OFF; 216 ServiceState state = (ServiceState) ((AsyncResult) msg.obj).result;
|
OtaStartupReceiver.java | 30 import android.telephony.ServiceState; 81 ServiceState state = (ServiceState) ((AsyncResult) msg.obj).result; 93 if (state.getState() == ServiceState.STATE_IN_SERVICE) { 143 if (app.mCM.getServiceState() != ServiceState.STATE_IN_SERVICE) {
|
EmergencyCallHelper.java | 33 import android.telephony.ServiceState; 192 ServiceState state = (ServiceState) ((AsyncResult) msg.obj).result; 204 boolean okToCall = (state.getState() == ServiceState.STATE_IN_SERVICE) 205 || (state.getState() == ServiceState.STATE_EMERGENCY_ONLY); 269 int serviceState = mCM.getDefaultPhone().getServiceState().getState(); 271 + ", service state " + serviceState 288 if (serviceState != ServiceState.STATE_POWER_OFF) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmServiceStateTracker.java | 50 import android.telephony.ServiceState; 599 if (mSS.getVoiceRegState() == ServiceState.STATE_OUT_OF_SERVICE 600 || mSS.getVoiceRegState() == ServiceState.STATE_EMERGENCY_ONLY) { 613 } else if (mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE) { 637 if (mSS.getVoiceRegState() == ServiceState.STATE_POWER_OFF 715 int type = ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN; 716 int regState = ServiceState.RIL_REG_STATE_UNKNOWN; 751 if ((regState == ServiceState.RIL_REG_STATE_DENIED_EMERGENCY_CALL_ENABLED 752 || regState == ServiceState.RIL_REG_STATE_NOT_REG_EMERGENCY_CALL_ENABLED 753 || regState == ServiceState.RIL_REG_STATE_SEARCHING_EMERGENCY_CALL_ENABLE [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetPhoneState.java | 21 import android.telephony.ServiceState; 39 private ServiceState mServiceState; 233 public void onServiceStateChanged(ServiceState serviceState) { 235 mServiceState = serviceState; 236 mService = (serviceState.getState() == ServiceState.STATE_IN_SERVICE) ? 239 setRoam(serviceState.getRoaming() ? HeadsetHalConstants.SERVICE_TYPE_ROAMING 318 ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0 || 320 ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A)) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DataConnection.java | 50 import android.telephony.ServiceState; 422 ServiceState ss = mPhone.getServiceState(); 826 String ratName = ServiceState.rilRadioTechnologyToString(rilRat).toLowerCase(Locale.ROOT); 827 // ServiceState gives slightly different names for EVDO tech ("evdo-rev.0" for ex) 829 if (rilRat == ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0 || 830 rilRat == ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A | [all...] |
DataProfile.java | 20 import android.telephony.ServiceState; 76 (ServiceState.isCdma(apn.bearer) ? TYPE_3GPP2 : TYPE_3GPP), apn.maxConnsTime,
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
SimStatus.java | 34 import android.telephony.ServiceState; 277 private void updateServiceState(ServiceState serviceState) { 278 final int state = serviceState.getState(); 282 case ServiceState.STATE_IN_SERVICE: 285 case ServiceState.STATE_OUT_OF_SERVICE: 286 case ServiceState.STATE_EMERGENCY_ONLY: 289 case ServiceState.STATE_POWER_OFF: 296 if (serviceState.getRoaming()) { 301 setSummaryText(KEY_OPERATOR_NAME, serviceState.getOperatorAlphaLong()) [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastReceiver.java | 30 import android.telephony.ServiceState; 58 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); 59 int newState = serviceState.getState(); 61 Log.d(TAG, "Service state changed! " + newState + " Full: " + serviceState + 64 if (((newState == ServiceState.STATE_IN_SERVICE) || 65 (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);
|