Home
last modified time | relevance | path

Searched refs:mServiceState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java45 private ServiceState mServiceState; field in DataConnectionStats
82 if (mServiceState == null) { in notePhoneDataConnectionState()
90 int networkType = mServiceState.getDataNetworkType(); in notePhoneDataConnectionState()
126 return mServiceState != null in hasService()
127 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE in hasService()
128 && mServiceState.getState() != ServiceState.STATE_POWER_OFF; in hasService()
139 mServiceState = state;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java64 private ServiceState mServiceState; field in MobileSignalController
243 if (mServiceState != null) { in hasService()
250 switch (mServiceState.getVoiceRegState()) { in hasService()
255 return mServiceState.getDataRegState() == ServiceState.STATE_IN_SERVICE; in hasService()
269 return (mServiceState != null && mServiceState.isEmergencyOnly()); in isEmergencyOnly()
274 final int iconMode = mServiceState.getCdmaEriIconMode(); in isRoaming()
275 return mServiceState.getCdmaEriIconIndex() != EriInfo.ROAMING_INDICATOR_OFF in isRoaming()
279 return mServiceState != null && mServiceState.getRoaming(); in isRoaming()
394 if (mCurrentState.networkName == mNetworkNameDefault && mServiceState != null in updateTelephony()
395 && !TextUtils.isEmpty(mServiceState.getOperatorAlphaShort())) { in updateTelephony()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java63 private ServiceState mServiceState; field in NetworkControllerBaseTest
91 mServiceState = mock(ServiceState.class); in setUp()
186 when(mServiceState.getRoaming()).thenReturn(isRoaming); in setGsmRoaming()
191 when(mServiceState.getCdmaEriIconIndex()).thenReturn(isRoaming ? in setCdmaRoaming()
193 when(mServiceState.getCdmaEriIconMode()).thenReturn(isRoaming ? in setCdmaRoaming()
199 when(mServiceState.getVoiceRegState()).thenReturn(voiceRegState); in setVoiceRegState()
204 when(mServiceState.getDataRegState()).thenReturn(dataRegState); in setDataRegState()
209 when(mServiceState.isEmergencyOnly()).thenReturn(isEmergency); in setIsEmergencyOnly()
238 Log.d(TAG, "Sending Service State: " + mServiceState); in updateServiceState()
239 mPhoneStateListener.onServiceStateChanged(mServiceState); in updateServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneStateIntentReceiver.java48 ServiceState mServiceState = new ServiceState(); field in PhoneStateIntentReceiver
91 return mServiceState; in getServiceState()
186 mServiceState = ServiceState.newFromBundle(intent.getExtras()); in onReceive()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java144 private ServiceState[] mServiceState; field in TelephonyRegistry
305 mServiceState = new ServiceState[numPhones]; in TelephonyRegistry()
321 mServiceState[i] = new ServiceState(); in TelephonyRegistry()
538 if (VDBG) log("listen: call onSSC state=" + mServiceState[phoneId]); in listen()
540 new ServiceState(mServiceState[phoneId])); in listen()
772 mServiceState[phoneId] = state; in notifyServiceStateForPhoneId()
1358 pw.println(" mServiceState=" + mServiceState[i]); in dump()
1730 mServiceState[phoneId]); in checkPossibleMissNotify()
1732 new ServiceState(mServiceState[phoneId])); in checkPossibleMissNotify()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp488 mClient(client), mServiceState(SOUND_TRIGGER_STATE_NO_INIT) in Module()
612 if (mServiceState == SOUND_TRIGGER_STATE_DISABLED) { in startRecognition()
769 if (state == mServiceState) { in setCaptureState_l()
773 mServiceState = state; in setCaptureState_l()
DSoundTriggerHwService.h153 sound_trigger_service_state_t mServiceState; variable