Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java222 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceInService_returnTrue()
230 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
246 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
283 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService()
286 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService()
292 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
299 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
305 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
/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()
DGsmCdmaPhoneTest.java196 imsServiceState.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState()
197 imsServiceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState()
233 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceState()
241 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getState()); in testGetMergedServiceState()
242 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getDataRegistrationState()); in testGetMergedServiceState()
277 imsServiceState.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb()
278 imsServiceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb()
315 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in testGetMergedServiceStateNoCsfb()
323 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getState()); in testGetMergedServiceStateNoCsfb()
324 assertEquals(ServiceState.STATE_IN_SERVICE, mergedServiceState.getDataRegistrationState()); in testGetMergedServiceStateNoCsfb()
[all …]
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.java88 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
94 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
DCarrierDisplayNameResolverTest.java90 mSS.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in setUp()
91 mSS.setDataRegState(ServiceState.STATE_IN_SERVICE); in setUp()
DServiceStateTrackerTest.java635 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnImsServiceStateChanged()
1330 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForVoiceRegStateOrRatChange()
1354 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForDataRegStateOrRatChange()
1997 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchet()
2016 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchetWithCellChange()
2308 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnVopsInfoChanged()
2309 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testOnVopsInfoChanged()
2338 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testOnVopsInfoChanged()
2459 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly()
2460 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly()
[all …]
DLocaleTrackerTest.java173 sendServiceState(ServiceState.STATE_IN_SERVICE); in testToggleAirplaneModeOn()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java533 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldSendNotificationWhenServiceStateIsChanged()
542 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
545 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
676 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testImsRegistered()
738 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingDuplicateMessages()
761 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingToOutOfService()
786 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingChangeForLteInLegacyMode()
795 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, false)); in testRoamingChangeForLteInLegacyMode()
810 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testDataOnlyRoamingCellToIWlanInLegacyMode()
819 ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN, ServiceState.STATE_IN_SERVICE, false)); in testDataOnlyRoamingCellToIWlanInLegacyMode()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java724 if (mSS != null && mSS.getState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType()
928 boolean isRegistered = mSS.getState() == ServiceState.STATE_IN_SERVICE in updatePhoneObject()
1481 if (mSS.getState() != ServiceState.STATE_IN_SERVICE) { in handleMessage()
1926 (mNewSS.getState() == ServiceState.STATE_IN_SERVICE); in handlePollStateResult()
2107 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in combinePsRegistrationStates()
2664 && (combinedRegState == ServiceState.STATE_IN_SERVICE)) { in updateSpnDisplayLegacy()
2751 } else if (combinedRegState == ServiceState.STATE_IN_SERVICE) { in updateSpnDisplayLegacy()
3028 && mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE) { in isConcurrentVoiceAndDataAllowed()
3205 mSS.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
3206 && mNewSS.getState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
[all …]
DCarrierServiceStateTracker.java167 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
168 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
DGsmCdmaPhone.java525 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
641 || ((mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE) in getPreciseDataConnectionState()
675 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE in getDataConnectionState()
715 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE in getDataActivityState()
1040 if (baseSs.getState() == ServiceState.STATE_IN_SERVICE) { in mergeServiceStates()
1044 if (imsSs.getState() != ServiceState.STATE_IN_SERVICE) { in mergeServiceStates()
1207 && imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in handleInCallMmiCommands()
1263 && (mImsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE); in useImsForCall()
1380 && mSST.mSS.getDataRegistrationState() != ServiceState.STATE_IN_SERVICE in dial()
1399 && !(mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE in dial()
[all …]
DImsSmsDispatcher.java260 getDataRegistrationState() == ServiceState.STATE_IN_SERVICE)); in isLteService()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java195 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimInvalid_ServiceState_InService()
289 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_ServiceState_InService()
301 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_SimState_Loaded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorGsmCdmaPhone.java147 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java113 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java145 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in updateText()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java428 if (dataState == ServiceState.STATE_IN_SERVICE && isNotInIwlan(serviceState)) { in getCombinedServiceState()
429 return ServiceState.STATE_IN_SERVICE; in getCombinedServiceState()
/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
1065 case STATE_IN_SERVICE: in rilServiceStateToString()
1855 if (voiceSs.mVoiceRegState != STATE_IN_SERVICE) { in mergeServiceStates()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java414 if (getCombinedRegState(getServiceState()) == ServiceState.STATE_IN_SERVICE) { in resolveCarrierDisplayName()
565 if (ss.getState() != ServiceState.STATE_IN_SERVICE) return ss.getDataRegistrationState(); in getCombinedRegState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java160 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
/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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java285 if (ss != null && ss.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE) { in updateCarrierText()

12