Searched refs:ServiceState (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/
H A DServiceState.aidl20 parcelable ServiceState;
H A DServiceState.java27 * The following phone information is included in returned ServiceState:
36 public class ServiceState implements Parcelable { class in inherits:Parcelable
188 * Create a new ServiceState from a intent notifier Bundle
194 * @return newly created ServiceState
197 public static ServiceState newFromBundle(Bundle m) {
198 ServiceState ret;
199 ret = new ServiceState();
207 public ServiceState() { method in class:ServiceState
215 public ServiceState(ServiceState method in class:ServiceState
242 public ServiceState(Parcel in) { method in class:ServiceState
[all...]
H A DPhoneStateListener.java22 import android.telephony.ServiceState;
58 * @see ServiceState
174 * @see ServiceState#STATE_EMERGENCY_ONLY
175 * @see ServiceState#STATE_IN_SERVICE
176 * @see ServiceState#STATE_OUT_OF_SERVICE
177 * @see ServiceState#STATE_POWER_OFF
179 public void onServiceStateChanged(ServiceState serviceState) {
186 * @see ServiceState#STATE_EMERGENCY_ONLY
187 * @see ServiceState#STATE_IN_SERVICE
188 * @see ServiceState#STATE_OUT_OF_SERVIC
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIPhoneStateListener.aidl20 import android.telephony.ServiceState;
25 void onServiceStateChanged(in ServiceState serviceState);
H A DITelephonyRegistry.aidl23 import android.telephony.ServiceState;
32 void notifyServiceState(in ServiceState state);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaLteServiceStateTracker.java30 import android.telephony.ServiceState;
264 boolean hasRegistered = mSS.getVoiceRegState() != ServiceState.STATE_IN_SERVICE
265 && mNewSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE;
267 boolean hasDeregistered = mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE
268 && mNewSS.getVoiceRegState() != ServiceState.STATE_IN_SERVICE;
271 mSS.getDataRegState() != ServiceState.STATE_IN_SERVICE
272 && mNewSS.getDataRegState() == ServiceState.STATE_IN_SERVICE;
275 mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE
276 && mNewSS.getDataRegState() != ServiceState.STATE_IN_SERVICE;
296 mNewSS.getDataRegState() == ServiceState
[all...]
H A DCdmaServiceStateTracker.java39 import android.telephony.ServiceState;
573 int regState = ServiceState.RIL_REG_STATE_UNKNOWN;
805 == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN)) {
815 == ServiceState.RIL_RADIO_TECHNOLOGY_LTE) {
985 mSS.getVoiceRegState() != ServiceState.STATE_IN_SERVICE
986 && mNewSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE;
989 mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE
990 && mNewSS.getVoiceRegState() != ServiceState.STATE_IN_SERVICE;
993 mSS.getDataRegState() != ServiceState.STATE_IN_SERVICE
994 && mNewSS.getDataRegState() == ServiceState
[all...]
H A DCdmaConnection.java32 import android.telephony.ServiceState;
419 if (serviceState == ServiceState.STATE_POWER_OFF) {
421 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE
422 || serviceState == ServiceState.STATE_EMERGENCY_ONLY) {
/frameworks/base/services/java/com/android/server/connectivity/
H A DDataConnectionStats.java26 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/
H A DPhoneStateIntentReceiver.java25 import android.telephony.ServiceState;
48 ServiceState mServiceState = new ServiceState();
86 public ServiceState getServiceState() {
186 mServiceState = ServiceState.newFromBundle(intent.getExtras());
H A DServiceStateTracker.java27 import android.telephony.ServiceState;
62 public ServiceState mSS = new ServiceState();
63 protected ServiceState mNewSS = new ServiceState();
215 ServiceState.rilRadioTechnologyToString(ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN));
255 ServiceState.rilRadioTechnologyToString(rat));
468 if (getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) {
486 if (getCurrentDataConnectionState() != ServiceState
[all...]
H A DDefaultPhoneNotifier.java25 import android.telephony.ServiceState;
61 ServiceState ss = sender.getServiceState();
63 ss = new ServiceState();
129 ServiceState ss = sender.getServiceState();
H A DPhoneProxy.java33 import android.telephony.ServiceState;
86 mIccCardProxy.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS);
88 mIccCardProxy.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT);
153 if ((newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_LTE)) {
157 if (volteReplacementRat != ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN) {
176 newVoiceRadioTech = ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT;
179 if ((ServiceState.isCdma(newVoiceRadioTech) &&
181 (ServiceState.isGsm(newVoiceRadioTech) &&
192 if (newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN) {
243 + (ServiceState
[all...]
H A DCallManager.java29 import android.telephony.ServiceState;
263 int resultState = ServiceState.STATE_OUT_OF_SERVICE;
267 if (serviceState == ServiceState.STATE_IN_SERVICE) {
271 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) {
274 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY ||
275 resultState == ServiceState.STATE_POWER_OFF) {
278 } else if (serviceState == ServiceState.STATE_EMERGENCY_ONLY) {
279 if (resultState == ServiceState.STATE_POWER_OFF) {
821 boolean result = (serviceState != ServiceState.STATE_POWER_OFF
1274 * Register for ServiceState change
[all...]
H A DSMSDispatcher.java45 import android.telephony.ServiceState;
378 if ( tracker.mImsRetry > 0 && ss != ServiceState.STATE_IN_SERVICE) {
393 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) {
448 if (ss == ServiceState.STATE_POWER_OFF) {
708 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) {
980 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) {
H A DPhone.java27 import android.telephony.ServiceState;
173 * Get the current ServiceState. Use
177 ServiceState getServiceState();
484 * Register for ServiceState changed.
486 * AsyncResult.result will be a ServiceState instance
841 * android.telephony.ServiceState#getState() getState()}.
1196 * Update the ServiceState CellLocation for current network registration.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java49 import android.telephony.ServiceState;
522 if (mSS.getVoiceRegState() == ServiceState.STATE_OUT_OF_SERVICE
523 || mSS.getVoiceRegState() == ServiceState.STATE_EMERGENCY_ONLY) {
536 } else if (mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE) {
622 int type = ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN;
623 int regState = ServiceState.RIL_REG_STATE_UNKNOWN;
658 if ((regState == ServiceState.RIL_REG_STATE_DENIED_EMERGENCY_CALL_ENABLED
659 || regState == ServiceState.RIL_REG_STATE_NOT_REG_EMERGENCY_CALL_ENABLED
660 || regState == ServiceState.RIL_REG_STATE_SEARCHING_EMERGENCY_CALL_ENABLED
661 || regState == ServiceState
[all...]
H A DGsmConnection.java28 import android.telephony.ServiceState;
376 if (serviceState == ServiceState.STATE_POWER_OFF) {
378 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE
379 || serviceState == ServiceState.STATE_EMERGENCY_ONLY ) {
H A DGSMPhone.java34 import android.telephony.ServiceState;
253 public ServiceState
259 return new ServiceState();
304 != ServiceState.STATE_IN_SERVICE) {
314 } else { /* mSST.gprsState == ServiceState.STATE_IN_SERVICE */
346 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) {
411 notifyServiceStateChanged(ServiceState ss) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java29 import android.telephony.ServiceState;
120 public ServiceState getServiceState() {
123 ServiceState s = new ServiceState();
124 s.setState(ServiceState.STATE_IN_SERVICE);
212 void notifyServiceStateChanged(ServiceState ss) {
224 if (serviceState == ServiceState.STATE_POWER_OFF) return false;
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java258 ServiceState otherSvc = otherState.mServices.valueAt(isvc);
261 ServiceState thisSvc = getServiceStateLocked(pkgName, uid,
443 int uid, String serviceName, ServiceState svc, int serviceType, int opCount,
461 int memFactor = type / ServiceState.SERVICE_COUNT;
462 type %= ServiceState.SERVICE_COUNT;
1014 ServiceState ss = pkgState.mServices.valueAt(isvc);
1279 ServiceState svc = pkgState.mServices.valueAt(isvc);
1526 ServiceState serv = hadData ? pkgState.mServices.get(serviceName) : null;
1528 serv = new ServiceState(this, pkgName, serviceName, processName, null);
1680 ServiceState s
2909 public static final class ServiceState extends DurationsTable { class in class:ProcessStats
2940 public ServiceState(ProcessStats processStats, String pkg, String name, method in class:ProcessStats.ServiceState
[all...]
/frameworks/base/services/java/com/android/server/
H A DTelephonyRegistry.java36 import android.telephony.ServiceState;
96 private ServiceState mServiceState = new ServiceState();
228 r.callback.onServiceStateChanged(new ServiceState(mServiceState));
348 public void notifyServiceState(ServiceState state) {
357 r.callback.onServiceStateChanged(new ServiceState(state));
642 private void broadcastServiceStateChanged(ServiceState state) {
/frameworks/base/services/java/com/android/server/location/
H A DComprehensiveCountryDetector.java26 import android.telephony.ServiceState;
119 * Number of {@link PhoneStateListener#onServiceStateChanged(ServiceState state)} events that
125 * Total number of {@link PhoneStateListener#onServiceStateChanged(ServiceState state)} events
440 public void onServiceStateChanged(ServiceState serviceState) {
/frameworks/base/services/java/com/android/server/am/
H A DServiceRecord.java87 ProcessStats.ServiceState tracker; // tracking service execution, may be null
88 ProcessStats.ServiceState restartTracker; // tracking service restart
325 public ProcessStats.ServiceState getTracker() {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccCardProxy.java31 import android.telephony.ServiceState;
139 log("Setting radio tech " + ServiceState.rilRadioTechnologyToString(radioTech));
141 if (ServiceState.isGsm(radioTech)) {

Completed in 487 milliseconds

12