HomeSort by relevance Sort by last modified time
    Searched defs:serviceState (Results 1 - 25 of 47) sorted by null

1 2

  /cts/tests/tests/telephony/src/android/telephony/cts/
ServiceStateTest.java 18 import static android.telephony.ServiceState.DUPLEX_MODE_FDD;
19 import static android.telephony.ServiceState.DUPLEX_MODE_TDD;
20 import static android.telephony.ServiceState.DUPLEX_MODE_UNKNOWN;
24 import android.telephony.ServiceState;
38 ServiceState serviceState = new ServiceState();
40 assertEquals(0, serviceState.describeContents());
42 serviceState.setStateOff();
43 assertEquals(ServiceState.STATE_POWER_OFF, serviceState.getState())
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyEvents.java 23 import android.telephony.ServiceState;
208 private ServiceState mServiceState;
210 ServiceStateEvent(ServiceState serviceState, int subscriptionId) {
211 mServiceState = serviceState;
214 serviceState.getState());
217 serviceState.isEmergencyOnly()) {
226 public ServiceState getServiceState() {
231 JSONObject serviceState = new JSONObject();
233 serviceState.put
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
RadioOnStateListener.java 23 import android.telephony.ServiceState;
45 boolean isOkToCall(Phone phone, int serviceState);
76 onServiceStateChanged((ServiceState) ((AsyncResult) msg.obj).result);
149 private void onServiceStateChanged(ServiceState state) {
175 private boolean isOkToCall(int serviceState) {
176 return (mCallback == null) ? false : mCallback.isOkToCall(mPhone, serviceState);
183 int serviceState = mPhone.getServiceState().getState();
185 mPhone.getState(), serviceState, mNumRetriesSoFar);
193 if (isOkToCall(serviceState)) {
  /packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
SimStatusDialogController.java 38 import android.telephony.ServiceState;
159 final ServiceState serviceState = getCurrentServiceState();
160 updateNetworkProvider(serviceState);
163 updateServiceState(serviceState);
166 updateRoamingStatus(serviceState);
208 private void updateNetworkProvider(ServiceState serviceState) {
209 mDialog.setText(NETWORK_PROVIDER_VALUE_ID, serviceState.getOperatorAlphaLong());
254 private void updateServiceState(ServiceState serviceState)
    [all...]
  /frameworks/base/services/core/java/com/android/server/tv/
TvInputManagerService.java 284 ServiceState serviceState = userState.serviceStateMap.get(component);
285 if (serviceState == null) {
286 // New hardware input found. Create a new ServiceState and connect to the
288 serviceState = new ServiceState(component, userId);
289 userState.serviceStateMap.put(component, serviceState);
292 inputList.addAll(serviceState.hardwareInputMap.values());
338 ServiceState serviceState = userState.serviceStateMap.get(info.getComponent())
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
GsmCdmaConnection.java 31 import android.telephony.ServiceState;
522 int serviceState = phone.getServiceState().getState();
526 if (serviceState == ServiceState.STATE_POWER_OFF) {
534 if ((serviceState == ServiceState.STATE_OUT_OF_SERVICE
535 || serviceState == ServiceState.STATE_EMERGENCY_ONLY)) {
    [all...]
GsmCdmaCallTracker.java 36 import android.telephony.ServiceState;
616 int serviceState = mPhone.getServiceState().getState();
620 ret = (serviceState != ServiceState.STATE_POWER_OFF)
631 "((serviceState=%d) != ServiceState.STATE_POWER_OFF)::=%s\n" +
638 serviceState,
639 serviceState != ServiceState.STATE_POWER_OFF,
    [all...]
CallManager.java 31 import android.telephony.ServiceState;
280 int resultState = ServiceState.STATE_OUT_OF_SERVICE;
283 int serviceState = phone.getServiceState().getState();
284 if (serviceState == ServiceState.STATE_IN_SERVICE) {
286 resultState = serviceState;
288 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) {
291 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY ||
292 resultState == ServiceState.STATE_POWER_OFF)
    [all...]
ServiceStateTracker.java 69 import android.telephony.ServiceState;
128 public ServiceState mSS;
129 private ServiceState mNewSS;
300 ServiceState.rilRadioTechnologyToString(
586 if (mSS != null && mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE) {
591 if (mSS != null && mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE) {
595 mSS = new ServiceState();
596 mNewSS = new ServiceState();
647 ServiceState.rilRadioTechnologyToString(ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN))
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsPhoneBase.java 31 import android.telephony.ServiceState;
140 public ServiceState getServiceState() {
143 ServiceState s = new ServiceState();
144 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE);
238 void notifyServiceStateChanged(ServiceState ss) {
248 int serviceState = getServiceState().getState();
249 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState);
250 if (serviceState == ServiceState.STATE_POWER_OFF) return false
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipPhoneBase.java 32 import android.telephony.ServiceState;
99 public ServiceState getServiceState() {
102 ServiceState s = new ServiceState();
103 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE);
190 void notifyServiceStateChanged(ServiceState ss) {
200 int serviceState = getServiceState().getState();
201 Rlog.v(LOG_TAG, "canDial(): serviceState = " + serviceState);
202 if (serviceState == ServiceState.STATE_POWER_OFF) return false
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
GsmCdmaPhoneTest.java 55 import android.telephony.ServiceState;
106 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_GSM);
108 new AsyncResult(null, new int[]{ServiceState.RIL_RADIO_TECHNOLOGY_GSM}, null)));
115 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_IS95A);
117 new AsyncResult(null, new int[]{ServiceState.RIL_RADIO_TECHNOLOGY_IS95A}, null)));
167 mSimulatedCommands.setVoiceRadioTech(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT);
178 ServiceState serviceState = new ServiceState();
179 mSST.mSS = serviceState;
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
TelephonyMetrics.java 42 import android.telephony.ServiceState;
355 + "(" + event.serviceState.dataRat + ")");
378 + "(" + event.serviceState.dataRat + ")");
624 * @param serviceState Service state
627 private TelephonyServiceState toServiceStateProto(ServiceState serviceState) {
630 ssProto.voiceRoamingType = serviceState.getVoiceRoamingType();
631 ssProto.dataRoamingType = serviceState.getDataRoamingType();
635 if (serviceState.getVoiceOperatorAlphaLong() != null) {
636 ssProto.voiceOperator.alphaLong = serviceState.getVoiceOperatorAlphaLong()
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
AccessibilitySettings.java 349 final String serviceState = serviceEnabled
355 serviceState, serviceSummary);
358 ? serviceState
    [all...]
  /packages/apps/Settings/src/com/android/settings/
RadioInfo.java 64 import android.telephony.ServiceState;
318 public void onServiceStateChanged(ServiceState serviceState) {
319 log("onServiceStateChanged: ServiceState=" + serviceState);
320 updateServiceState(serviceState);
    [all...]
  /prebuilts/misc/common/robolectric/android-all/
android-all-8.0.0_r4-robolectric-0.jar 
android-all-o-preview-4-robolectric-0.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
android-all-6.0.0_r1-robolectric-0.jar 
android-all-4.4_r1-robolectric-1.jar 
  /external/robolectric/v3/runtime/
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
android-all-4.4_r1-robolectric-1.jar 
  /external/robolectric/v1/lib/main/
android.jar 

Completed in 411 milliseconds

1 2