Home
last modified time | relevance | path

Searched refs:STATE_IN_SERVICE (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java215 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceInService_returnTrue()
223 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
239 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
276 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService()
279 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService()
285 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
292 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
298 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java538 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldSendNotificationWhenServiceStateIsChanged()
547 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
550 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
670 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testImsRegistered()
719 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingDuplicateMessages()
742 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingToAirplanModeIwlanInService()
752 ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN, ServiceState.STATE_IN_SERVICE, false)); in testRoamingToAirplanModeIwlanInService()
770 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingToOutOfService()
796 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingChangeForLteInLegacyMode()
805 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, false)); in testRoamingChangeForLteInLegacyMode()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneStateListenerExecutorTest.java77 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
82 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
DServiceStateTest.java68 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testRegState()
69 assertEquals(ServiceState.STATE_IN_SERVICE, ss.getDataRegistrationState()); in testRegState()
71 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testRegState()
72 assertEquals(ServiceState.STATE_IN_SERVICE, ss.getState()); in testRegState()
233 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testParcel()
DCallManagerTest.java69 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in setUp()
246 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
250 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
254 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
DPhoneStateListenerTest.java90 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
96 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
DGsmCdmaPhoneTest.java200 imsServiceState.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState()
201 imsServiceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState()
237 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState()
245 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getState()); in testGetMergedServiceState()
246 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getDataRegistrationState()); in testGetMergedServiceState()
281 imsServiceState.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb()
282 imsServiceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb()
319 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb()
327 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getState()); in testGetMergedServiceStateNoCsfb()
328 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getDataRegistrationState()); in testGetMergedServiceStateNoCsfb()
[all …]
DServiceStateTrackerTest.java681 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnImsServiceStateChanged()
1376 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForVoiceRegStateOrRatChange()
1400 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForDataRegStateOrRatChange()
2188 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchet()
2207 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchetWithCellChange()
2537 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnLteVopsInfoChanged()
2538 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testOnLteVopsInfoChanged()
2567 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testOnLteVopsInfoChanged()
2598 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnNrVopsInfoChanged()
2599 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testOnNrVopsInfoChanged()
[all …]
DCarrierDisplayNameResolverTest.java90 mSS.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in setUp()
91 mSS.setDataRegState(ServiceState.STATE_IN_SERVICE); in setUp()
DLocaleTrackerTest.java177 sendServiceState(ServiceState.STATE_IN_SERVICE); in testToggleAirplaneModeOn()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMobileRadioPowerCalculatorTest.java71 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testCounterBasedModel()
131 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testMeasuredEnergyBasedModel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java775 if (mSS != null && mSS.getState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType()
980 boolean isRegistered = mSS.getState() == ServiceState.STATE_IN_SERVICE in updatePhoneObject()
1567 if (mSS.getState() != ServiceState.STATE_IN_SERVICE) { in handleMessage()
2089 (mNewSS.getState() == ServiceState.STATE_IN_SERVICE); in handlePollStateResult()
2270 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in combinePsRegistrationStates()
2908 && (combinedRegState == ServiceState.STATE_IN_SERVICE)) { in updateSpnDisplayLegacy()
3027 } else if (combinedRegState == ServiceState.STATE_IN_SERVICE) { in updateSpnDisplayLegacy()
3330 && mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE) { in isConcurrentVoiceAndDataAllowed()
3512 mSS.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
3513 && mNewSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
[all …]
DCarrierServiceStateTracker.java195 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
196 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
DGsmCdmaPhone.java581 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
701 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE in getDataConnectionState()
741 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE in getDataActivityState()
1068 if (baseSs.getState() == ServiceState.STATE_IN_SERVICE) { in mergeServiceStates()
1072 if (imsSs.getState() != ServiceState.STATE_IN_SERVICE) { in mergeServiceStates()
1235 && imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in handleInCallMmiCommands()
1291 && (mImsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE); in useImsForCall()
1433 && mSST.mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE in dial()
1452 && !(mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE in dial()
1597 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in handleUssdRequest()
[all …]
DImsSmsDispatcher.java306 getDataRegistrationState() == ServiceState.STATE_IN_SERVICE)); in isLteService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java613 || (lastVoiceState == ServiceState.STATE_IN_SERVICE in updateMobileStatus()
614 || currentVoiceState == ServiceState.STATE_IN_SERVICE))) { in updateMobileStatus()
615 boolean isNoCalling = currentVoiceState != ServiceState.STATE_IN_SERVICE; in updateMobileStatus()
626 boolean isNoCalling = currentVoiceState != ServiceState.STATE_IN_SERVICE; in updateNoCallingState()
654 && mServiceState.getState() != ServiceState.STATE_IN_SERVICE; in refreshCallIndicator()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java116 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java148 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in updateText()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java72 value = {STATE_IN_SERVICE, STATE_OUT_OF_SERVICE, STATE_EMERGENCY_ONLY,
80 public static final int STATE_IN_SERVICE = TelephonyProtoEnums.SERVICE_STATE_IN_SERVICE; // 0 field in ServiceState
1118 case STATE_IN_SERVICE: in rilServiceStateToString()
1908 if (voiceSs.mVoiceRegState != STATE_IN_SERVICE) { in mergeServiceStates()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java518 if (dataState == ServiceState.STATE_IN_SERVICE && isNotInIwlan(serviceState)) { in getCombinedServiceState()
519 return ServiceState.STATE_IN_SERVICE; in getCombinedServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java163 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java345 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimInvalid_ServiceState_InService()
439 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_ServiceState_InService()
451 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_SimState_Loaded()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DServiceStateStatsTest.java191 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getDataRegState(); in conclude_airplaneModeWithWifiCalling()
766 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getVoiceRegState(); in update_airplaneMode()
767 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getDataRegState(); in update_airplaneMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java97 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java146 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()

12