Searched defs:mServiceState (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
H A DDataConnectionStats.java45 private ServiceState mServiceState; field in class:DataConnectionStats
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;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
H A DTelephonyMetricsTest.java72 private ServiceState mServiceState; field in class:TelephonyMetricsTest
88 doReturn(ROAMING_TYPE_DOMESTIC).when(mServiceState).getVoiceRoamingType();
89 doReturn(ROAMING_TYPE_DOMESTIC).when(mServiceState).getDataRoamingType();
90 doReturn("voiceshort").when(mServiceState).getVoiceOperatorAlphaShort();
91 doReturn("voicelong").when(mServiceState).getVoiceOperatorAlphaLong();
92 doReturn("datashort").when(mServiceState).getDataOperatorAlphaShort();
93 doReturn("datalong").when(mServiceState).getDataOperatorAlphaLong();
94 doReturn("123456").when(mServiceState).getVoiceOperatorNumeric();
95 doReturn("123456").when(mServiceState).getDataOperatorNumeric();
96 doReturn(RIL_RADIO_TECHNOLOGY_LTE).when(mServiceState)
[all...]
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h153 sound_trigger_service_state_t mServiceState; member in class:android::SoundTriggerHwService::Module
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneStateIntentReceiver.java48 ServiceState mServiceState = new ServiceState(); field in class:PhoneStateIntentReceiver
91 return mServiceState;
186 mServiceState = ServiceState.newFromBundle(intent.getExtras());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerBaseTest.java63 protected ServiceState mServiceState; field in class:NetworkControllerBaseTest
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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DMobileSignalController.java65 private ServiceState mServiceState; field in class:MobileSignalController
267 if (mServiceState != null) {
274 switch (mServiceState.getVoiceRegState()) {
279 return mServiceState.getDataRegState() == ServiceState.STATE_IN_SERVICE;
293 return (mServiceState != null && mServiceState.isEmergencyOnly());
298 final int iconMode = mServiceState.getCdmaEriIconMode();
299 return mServiceState.getCdmaEriIconIndex() != EriInfo.ROAMING_INDICATOR_OFF
303 return mServiceState != null && mServiceState
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTelephonyTest.java131 protected ServiceState mServiceState; field in class:TelephonyTest
354 doReturn(mServiceState).when(mPhone).getServiceState();
355 doReturn(mServiceState).when(mImsPhone).getServiceState();
409 doReturn(ServiceState.RIL_RADIO_TECHNOLOGY_UMTS).when(mServiceState).
420 mSST.mSS = mServiceState;
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java143 private ServiceState[] mServiceState; field in class:TelephonyRegistry
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]));
767 mServiceState[phoneId] = state;
1324 pw.println(" mServiceState=" + mServiceState[i]);
1703 mServiceState[phoneId]);
1705 new ServiceState(mServiceState[phoneI
[all...]

Completed in 382 milliseconds