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

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
PhoneStateListenerTest.java 43 mServiceState.setVoiceRegState(serviceState.getVoiceRegState());
44 mServiceState.setDataRegState(serviceState.getDataRegState());
77 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE);
78 verify(mServiceState).setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY);
TelephonyTest.java 129 protected ServiceState mServiceState;
341 doReturn(mServiceState).when(mPhone).getServiceState();
342 doReturn(mServiceState).when(mImsPhone).getServiceState();
394 doReturn(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS).when(mServiceState).
405 mSST.mSS = mServiceState;
CallManagerTest.java 103 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState();
344 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getState();
349 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getState();
GsmCdmaCallTrackerTest.java 94 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState();
GsmCdmaPhoneTest.java 284 mSST.mSS = mServiceState;
285 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState();
  /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 210 private ServiceState mServiceState;
213 mServiceState = serviceState;
229 return mServiceState;
241 mServiceState.getVoiceRegState()));
245 mServiceState.getVoiceNetworkType()));
249 mServiceState.getDataRegState()));
253 mServiceState.getDataNetworkType()));
256 mServiceState.getOperatorAlphaLong());
259 mServiceState.getOperatorNumeric());
262 mServiceState.getIsManualSelection())
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
NetworkControllerBaseTest.java 63 protected ServiceState mServiceState;
91 mServiceState = mock(ServiceState.class);
188 when(mServiceState.getRoaming()).thenReturn(isRoaming);
193 when(mServiceState.getCdmaEriIconIndex()).thenReturn(isRoaming ?
195 when(mServiceState.getCdmaEriIconMode()).thenReturn(isRoaming ?
201 when(mServiceState.getVoiceRegState()).thenReturn(voiceRegState);
206 when(mServiceState.getDataRegState()).thenReturn(dataRegState);
211 when(mServiceState.isEmergencyOnly()).thenReturn(isEmergency);
240 Log.d(TAG, "Sending Service State: " + mServiceState);
241 mPhoneStateListener.onServiceStateChanged(mServiceState);
    [all...]
NetworkControllerDataTest.java 149 Mockito.when(mServiceState.getDataNetworkType())
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileSignalController.java 65 private ServiceState mServiceState;
253 if (mServiceState != null) {
260 switch (mServiceState.getVoiceRegState()) {
265 return mServiceState.getDataRegState() == ServiceState.STATE_IN_SERVICE;
279 return (mServiceState != null && mServiceState.isEmergencyOnly());
284 final int iconMode = mServiceState.getCdmaEriIconMode();
285 return mServiceState.getCdmaEriIconIndex() != EriInfo.ROAMING_INDICATOR_OFF
289 return mServiceState != null && mServiceState.getRoaming()
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java 39 private ServiceState mServiceState;
238 mServiceState = serviceState;
319 if (mServiceState != null &&
320 (mServiceState.getRadioTechnology() ==
322 mServiceState.getRadioTechnology() ==
  /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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastReceiver.java 42 private static int mServiceState = -1;
62 if (newState != mServiceState) {
64 " Current state=" + mServiceState);
65 mServiceState = newState;
76 // Do not rely on mServiceState as it gets reset to -1 time to time because
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
CdmaSmsDispatcherTest.java 78 doReturn(mServiceState).when(mPhone).getServiceState();
  /packages/services/Telephony/src/com/android/services/telephony/
TelecomAccountRegistry.java 358 if (newState == ServiceState.STATE_IN_SERVICE && mServiceState != newState) {
362 mServiceState = newState;
372 private int mServiceState = ServiceState.STATE_POWER_OFF;
  /frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java 143 private ServiceState[] mServiceState;
303 mServiceState = new ServiceState[numPhones];
319 mServiceState[i] = new ServiceState();
536 if (VDBG) log("listen: call onSSC state=" + mServiceState[phoneId]);
538 new ServiceState(mServiceState[phoneId]));
    [all...]
  /frameworks/av/services/soundtrigger/
SoundTriggerHwService.cpp 496 mClient(client), mServiceState(SOUND_TRIGGER_STATE_NO_INIT)
616 if (mServiceState == SOUND_TRIGGER_STATE_DISABLED) {
773 if (state == mServiceState) {
777 mServiceState = state;
SoundTriggerHwService.h 153 sound_trigger_service_state_t mServiceState;
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DcTrackerTest.java 614 doReturn(true).when(mServiceState).getDataRoaming();
648 doReturn(true).when(mServiceState).getDataRoaming();
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 

Completed in 525 milliseconds