HomeSort by relevance Sort by last modified time
    Searched defs:mServiceState (Results 1 - 22 of 22) sorted by null

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
RatRatcheterTest.java 31 private ServiceState mServiceState;
35 mServiceState = new ServiceState();
41 mServiceState.setCellBandwidths(new int[] {5000});
43 boolean updated = RatRatcheter.updateBandwidths(bandwidths, mServiceState);
46 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), bandwidths));
53 mServiceState.setCellBandwidths(originalBandwidths);
55 boolean updated = RatRatcheter.updateBandwidths(newBandwidths, mServiceState);
58 assertTrue(Arrays.equals(mServiceState.getCellBandwidths(), originalBandwidths));
64 mServiceState.setCellBandwidths(originalBandwidths);
66 boolean updated = RatRatcheter.updateBandwidths(null, mServiceState);
    [all...]
TelephonyTest.java 138 protected ServiceState mServiceState;
383 doReturn(mServiceState).when(mPhone).getServiceState();
384 doReturn(mServiceState).when(mImsPhone).getServiceState();
448 doReturn(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS).when(mServiceState).
460 mSST.mSS = mServiceState;
  /frameworks/base/services/core/java/com/android/server/connectivity/
DataConnectionStats.java 45 private ServiceState mServiceState;
82 if (mServiceState == null) {
90 int networkType = mServiceState.getDataNetworkType();
126 return mServiceState != null
127 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE
128 && mServiceState.getState() != ServiceState.STATE_POWER_OFF;
139 mServiceState = state;
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyEvents.java 208 private ServiceState mServiceState;
211 mServiceState = serviceState;
227 return mServiceState;
239 mServiceState.getVoiceRegState()));
243 mServiceState.getVoiceNetworkType()));
247 mServiceState.getDataRegState()));
251 mServiceState.getDataNetworkType()));
254 mServiceState.getOperatorAlphaLong());
257 mServiceState.getOperatorNumeric());
260 mServiceState.getIsManualSelection())
    [all...]
  /frameworks/av/services/soundtrigger/
SoundTriggerHwService.h 149 sound_trigger_service_state_t mServiceState;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
PhoneStateIntentReceiver.java 48 ServiceState mServiceState = new ServiceState();
91 return mServiceState;
186 mServiceState = ServiceState.newFromBundle(intent.getExtras());
  /packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/simstatus/
SimStatusDialogControllerTest.java 93 private ServiceState mServiceState;
118 doReturn(mServiceState).when(mController).getCurrentServiceState();
142 when(mServiceState.getOperatorAlphaLong()).thenReturn(carrierName);
171 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE);
181 when(mServiceState.getState()).thenReturn(ServiceState.STATE_POWER_OFF);
232 when(mServiceState.getRoaming()).thenReturn(true);
242 when(mServiceState.getRoaming()).thenReturn(false);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileSignalController.java 70 private ServiceState mServiceState;
323 if (mServiceState != null) {
330 switch (mServiceState.getVoiceRegState()) {
335 return mServiceState.getDataRegState() == ServiceState.STATE_IN_SERVICE;
349 return (mServiceState != null && mServiceState.isEmergencyOnly());
357 if (isCdma() && mServiceState != null) {
358 final int iconMode = mServiceState.getCdmaEriIconMode();
359 return mServiceState.getCdmaEriIconIndex() != EriInfo.ROAMING_INDICATOR_OFF
363 return mServiceState != null && mServiceState.getRoaming()
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
NetworkControllerBaseTest.java 84 protected ServiceState mServiceState;
127 mServiceState = mock(ServiceState.class);
245 when(mServiceState.getRoaming()).thenReturn(isRoaming);
250 when(mServiceState.getCdmaEriIconIndex()).thenReturn(isRoaming ?
252 when(mServiceState.getCdmaEriIconMode()).thenReturn(isRoaming ?
258 when(mServiceState.getVoiceRegState()).thenReturn(voiceRegState);
263 when(mServiceState.getDataRegState()).thenReturn(dataRegState);
268 when(mServiceState.isEmergencyOnly()).thenReturn(isEmergency);
297 Log.d(TAG, "Sending Service State: " + mServiceState);
298 mPhoneStateListener.onServiceStateChanged(mServiceState);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java 56 private ServiceState mServiceState;
283 mServiceState = serviceState;
416 if (mServiceState != null && (
417 mServiceState.getRadioTechnology() == ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0
418 || mServiceState.getRadioTechnology()
  /cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java 67 private ServiceState mServiceState;
484 mServiceState = serviceState;
499 assertEquals(mServiceState, mTelephonyManager.getServiceState());
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
TelephonyMetricsTest.java 80 private ServiceState mServiceState;
102 doReturn(ROAMING_TYPE_DOMESTIC).when(mServiceState).getVoiceRoamingType();
103 doReturn(ROAMING_TYPE_DOMESTIC).when(mServiceState).getDataRoamingType();
104 doReturn("voiceshort").when(mServiceState).getVoiceOperatorAlphaShort();
105 doReturn("voicelong").when(mServiceState).getVoiceOperatorAlphaLong();
106 doReturn("datashort").when(mServiceState).getDataOperatorAlphaShort();
107 doReturn("datalong").when(mServiceState).getDataOperatorAlphaLong();
108 doReturn("123456").when(mServiceState).getVoiceOperatorNumeric();
109 doReturn("123456").when(mServiceState).getDataOperatorNumeric();
110 doReturn(RIL_RADIO_TECHNOLOGY_LTE).when(mServiceState).getRilVoiceRadioTechnology()
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
TelecomAccountRegistry.java 602 if (newState == ServiceState.STATE_IN_SERVICE && mServiceState != newState) {
606 mServiceState = newState;
617 private int mServiceState = ServiceState.STATE_POWER_OFF;
    [all...]
  /frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java 158 private ServiceState[] mServiceState;
330 mServiceState = new ServiceState[numPhones];
347 mServiceState[i] = new ServiceState();
517 if (VDBG) log("listen: call onSSC state=" + mServiceState[phoneId]);
519 new ServiceState(mServiceState[phoneId]));
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.4_r1-robolectric-1.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-7.0.0_r1-robolectric-0.jar 

Completed in 616 milliseconds