/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 52 import android.telephony.ServiceState; 281 public void onServiceStateChanged(ServiceState serviceState) { 282 log("onServiceStateChanged: ServiceState=" + serviceState); 283 updateServiceState(serviceState); 791 updateServiceState(ServiceState serviceState) { 792 int state = serviceState.getState(); 797 case ServiceState.STATE_IN_SERVICE [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 42 import android.telephony.ServiceState; 61 private ServiceState mServiceState; 445 public void onServiceStateChanged(ServiceState serviceState) { 447 mServiceState = serviceState;
|
PhoneStateListenerTest.java | 22 import android.telephony.ServiceState; 96 public void onServiceStateChanged(ServiceState serviceState) {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
ProcessPendingMessagesAction.java | 26 import android.telephony.ServiceState; 122 public void onPhoneStateChanged(final Context context, final int serviceState) { 123 if (serviceState == ServiceState.STATE_IN_SERVICE) {
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
TelephonyConnectionServiceTest.java | 20 import android.telephony.ServiceState; 80 Phone slot0Phone = makeTestPhone(SLOT_0_PHONE_ID, ServiceState.STATE_IN_SERVICE, 82 Phone slot1Phone = makeTestPhone(SLOT_1_PHONE_ID, ServiceState.STATE_OUT_OF_SERVICE, 102 Phone slot0Phone = makeTestPhone(SLOT_0_PHONE_ID, ServiceState.STATE_OUT_OF_SERVICE, 104 Phone slot1Phone = makeTestPhone(SLOT_1_PHONE_ID, ServiceState.STATE_OUT_OF_SERVICE, 124 Phone slot0Phone = makeTestPhone(SLOT_0_PHONE_ID, ServiceState.STATE_OUT_OF_SERVICE, 126 Phone slot1Phone = makeTestPhone(SLOT_1_PHONE_ID, ServiceState.STATE_IN_SERVICE, 148 Phone slot0Phone = makeTestPhone(SLOT_0_PHONE_ID, ServiceState.STATE_OUT_OF_SERVICE, 150 Phone slot1Phone = makeTestPhone(SLOT_1_PHONE_ID, ServiceState.STATE_OUT_OF_SERVICE, 178 Phone slot0Phone = makeTestPhone(SLOT_0_PHONE_ID, ServiceState.STATE_OUT_OF_SERVICE [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
GsmCdmaConnection.java | 31 import android.telephony.ServiceState; 498 int serviceState = phone.getServiceState().getState(); 502 if (serviceState == ServiceState.STATE_POWER_OFF) { 510 if ((serviceState == ServiceState.STATE_OUT_OF_SERVICE 511 || serviceState == ServiceState.STATE_EMERGENCY_ONLY)) { [all...] |
GsmCdmaCallTracker.java | 36 import android.telephony.ServiceState; 610 int serviceState = mPhone.getServiceState().getState(); 614 ret = (serviceState != ServiceState.STATE_POWER_OFF) 625 "((serviceState=%d) != ServiceState.STATE_POWER_OFF)::=%s\n" + 632 serviceState, 633 serviceState != ServiceState.STATE_POWER_OFF, [all...] |
ServiceStateTracker.java | 65 import android.telephony.ServiceState; 120 public ServiceState mSS; 121 private ServiceState mNewSS; 313 ServiceState.rilRadioTechnologyToString( 607 mSS = new ServiceState(); 608 mNewSS = new ServiceState(); 661 ServiceState.rilRadioTechnologyToString(ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN)); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
KeyguardUpdateMonitor.java | 60 import android.telephony.ServiceState; 162 HashMap<Integer, ServiceState> mServiceStates = new HashMap<Integer, ServiceState>(); 274 handleServiceStateChange(msg.arg1, (ServiceState) msg.obj); 697 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); 701 Log.v(TAG, "action " + action + " serviceState=" + serviceState + " subId=" 705 mHandler.obtainMessage(MSG_SERVICE_STATE_CHANGE, subId, 0, serviceState)); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterService.java | 677 Integer serviceState = mProfileServicesState.get(serviceName); 679 if(serviceState != null && serviceState != expectedCurrentState) { 683 + ". Invalid state: " + serviceState); 721 Integer serviceState = mProfileServicesState.get(serviceName); 722 if(serviceState != null && serviceState != expectedCurrentState) { 726 + ". Invalid state: " + serviceState); [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelecomAccountRegistry.java | 40 import android.telephony.ServiceState; 476 public void onServiceStateChanged(ServiceState serviceState) { 477 int newState = serviceState.getState(); 478 if (newState == ServiceState.STATE_IN_SERVICE && mServiceState != newState) { 493 private int mServiceState = ServiceState.STATE_POWER_OFF;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaPhoneTest.java | 53 import android.telephony.ServiceState; 98 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_GSM); 100 new AsyncResult(null, new int[]{ServiceState.RIL_RADIO_TECHNOLOGY_GSM}, null))); 107 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_IS95A); 109 new AsyncResult(null, new int[]{ServiceState.RIL_RADIO_TECHNOLOGY_IS95A}, null))); 154 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT); 165 ServiceState serviceState = new ServiceState(); 166 mSST.mSS = serviceState; [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilitySettings.java | 479 final String serviceState = serviceEnabled ? 485 serviceState, serviceSummary); 486 preference.setSummary((TextUtils.isEmpty(serviceSummary)) ? serviceState [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
GlobalActionsDialog.java | 54 import android.telephony.ServiceState; [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
LegacyGlobalActions.java | 55 import android.telephony.ServiceState; [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
TelephonyMetricsTest.java | 19 import static android.telephony.ServiceState.RIL_RADIO_TECHNOLOGY_LTE; 20 import static android.telephony.ServiceState.ROAMING_TYPE_DOMESTIC; 39 import android.telephony.ServiceState; 82 private ServiceState mServiceState; 534 TelephonyServiceState state = event.serviceState; 575 TelephonyServiceState state = event.serviceState;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapContentObserver.java | 48 import android.telephony.ServiceState; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhoneCallTracker.java | 46 import android.telephony.ServiceState; [all...] |
/external/robolectric/v3/runtime/ |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-4.4_r1-robolectric-1.jar | |
android-all-6.0.0_r1-robolectric-0.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |