/frameworks/base/ |
H A D | Android.mk | 400 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessStats.java | 258 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/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 37 import android.telephony.ServiceState; 2025 if (state == ServiceState.STATE_OUT_OF_SERVICE 2027 state = ServiceState.STATE_IN_SERVICE; 2045 if (state == ServiceState.STATE_OUT_OF_SERVICE 2047 state = ServiceState.STATE_IN_SERVICE; 2052 if (state == ServiceState.STATE_POWER_OFF) { 2056 } else if (state == ServiceState.STATE_IN_SERVICE) { 2061 } else if (state == ServiceState.STATE_OUT_OF_SERVICE) { 2119 * @param state phone state from ServiceState.getState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkController.java | 36 import android.telephony.ServiceState; 73 ServiceState mServiceState; 408 public void onServiceStateChanged(ServiceState state) { 492 case ServiceState.STATE_POWER_OFF: 494 case ServiceState.STATE_OUT_OF_SERVICE: 495 case ServiceState.STATE_EMERGENCY_ONLY: 496 return mServiceState.getDataRegState() == ServiceState.STATE_IN_SERVICE;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 52 import android.telephony.ServiceState; 854 public void onServiceStateChanged(ServiceState serviceState) { 856 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;
|
/frameworks/base/services/java/com/android/server/ |
H A D | TelephonyRegistry.java | 36 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/am/ |
H A D | ActiveServices.java | 386 ProcessStats.ServiceState stracker = r.getTracker(); 713 ProcessStats.ServiceState stracker = s.getTracker(); 1052 ProcessStats.ServiceState stracker = r.getTracker();
|
H A D | ProcessStatsService.java | 118 public ProcessStats.ServiceState getServiceStateLocked(String packageName, int uid, 146 ArrayMap<String, ProcessStats.ServiceState> services = pkg.mServices; 148 ProcessStats.ServiceState service = services.valueAt(k);
|
H A D | ServiceRecord.java | 87 ProcessStats.ServiceState tracker; // tracking service execution, may be null 88 ProcessStats.ServiceState restartTracker; // tracking service restart 325 public ProcessStats.ServiceState getTracker() {
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | 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/base/services/java/com/android/server/location/ |
H A D | ComprehensiveCountryDetector.java | 26 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/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 22 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...] |
H A D | ServiceState.aidl | 20 parcelable ServiceState;
|
H A D | ServiceState.java | 27 * 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...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IPhoneStateListener.aidl | 20 import android.telephony.ServiceState; 25 void onServiceStateChanged(in ServiceState serviceState);
|
H A D | ITelephonyRegistry.aidl | 23 import android.telephony.ServiceState; 32 void notifyServiceState(in ServiceState state);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallManager.java | 29 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 D | DefaultPhoneNotifier.java | 25 import android.telephony.ServiceState; 61 ServiceState ss = sender.getServiceState(); 63 ss = new ServiceState(); 129 ServiceState ss = sender.getServiceState();
|
H A D | Phone.java | 27 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.
|
H A D | PhoneBase.java | 37 import android.telephony.ServiceState; 660 protected void notifyServiceStateChangedP(ServiceState ss) {
|
H A D | PhoneProxy.java | 33 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 D | PhoneStateIntentReceiver.java | 25 import android.telephony.ServiceState; 48 ServiceState mServiceState = new ServiceState(); 86 public ServiceState getServiceState() { 186 mServiceState = ServiceState.newFromBundle(intent.getExtras());
|
H A D | SMSDispatcher.java | 45 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 D | ServiceStateTracker.java | 27 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...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMAPhone.java | 40 import android.telephony.ServiceState; 274 public ServiceState getServiceState() { 344 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE) { 698 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) { 929 void notifyServiceStateChanged(ServiceState ss) {
|