Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java218 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceInService_returnTrue()
225 when(mServiceState.getDataRegState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
234 when(mServiceState.getDataRegState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
266 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService()
268 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService()
274 when(mServiceState.getDataRegState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
276 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java496 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldSendNotificationWhenServiceStateIsChanged()
505 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
508 mImsPhoneUT.setServiceState(ServiceState.STATE_IN_SERVICE); in testShouldNotSendNotificationWhenServiceStateIsNotChanged()
655 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingDuplicateMessages()
678 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingToOutOfService()
703 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testRoamingChangeForLteInLegacyMode()
712 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, false)); in testRoamingChangeForLteInLegacyMode()
727 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true)); in testDataOnlyRoamingCellToIWlanInLegacyMode()
736 ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN, ServiceState.STATE_IN_SERVICE, false)); in testDataOnlyRoamingCellToIWlanInLegacyMode()
752 ServiceState.RIL_RADIO_TECHNOLOGY_LTE, ServiceState.STATE_IN_SERVICE, true); in testCellVoiceDataChangeToWlanInLegacyMode()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneStateListenerExecutorTest.java89 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
94 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
DPhoneStateListenerTest.java99 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
106 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
DServiceStateTest.java74 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testRegState()
75 assertEquals(ServiceState.STATE_IN_SERVICE, ss.getDataRegState()); in testRegState()
77 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testRegState()
78 assertEquals(ServiceState.STATE_IN_SERVICE, ss.getVoiceRegState()); in testRegState()
244 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testParcel()
DCallManagerTest.java102 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in setUp()
283 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
287 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
291 assertEquals(ServiceState.STATE_IN_SERVICE, CallManager.getInstance().getServiceState()); in testGetServiceState()
DCarrierDisplayNameResolverTest.java90 mSS.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in setUp()
91 mSS.setDataRegState(ServiceState.STATE_IN_SERVICE); in setUp()
DServiceStateTrackerTest.java567 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnImsServiceStateChanged()
1142 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForVoiceRegStateOrRatChange()
1166 assertEquals(new Pair<Integer, Integer>(ServiceState.STATE_IN_SERVICE, in testRegisterForDataRegStateOrRatChange()
1767 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchet()
1785 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchetWithCellChange()
1806 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testRatRatchetWithCellChangeBeforeRatChange()
2050 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testOnVopsInfoChanged()
2051 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testOnVopsInfoChanged()
2079 assertEquals(ServiceState.STATE_IN_SERVICE, sst.getCurrentDataConnectionState()); in testOnVopsInfoChanged()
2200 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly()
[all …]
DLocaleTrackerTest.java180 sendServiceState(ServiceState.STATE_IN_SERVICE); in testToggleAirplaneModeOn()
DGsmCdmaPhoneTest.java324 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in testDial()
955 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetCsCallRadioTech()
969 ss.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in testGetCsCallRadioTech()
DGsmCdmaCallTrackerTest.java106 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in testMOCallDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceStateTracker.java162 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered()
163 || mSST.mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
170 return (mSST.mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE); in isPhoneVoiceRegistered()
DServiceStateTracker.java677 if (mSS != null && mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE) { in updatePhoneType()
866 boolean isRegistered = mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE || in updatePhoneObject()
1390 if (mSS.getState() != ServiceState.STATE_IN_SERVICE) { in handleMessage()
1817 (mNewSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE); in handlePollStateResult()
2009 serviceState.setDataRegState(ServiceState.STATE_IN_SERVICE); in combinePsRegistrationStates()
2554 && (combinedRegState == ServiceState.STATE_IN_SERVICE)) { in updateSpnDisplayLegacy()
2643 } else if (combinedRegState == ServiceState.STATE_IN_SERVICE) { in updateSpnDisplayLegacy()
3031 mSS.getVoiceRegState() != ServiceState.STATE_IN_SERVICE in pollStateDone()
3032 && mNewSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE; in pollStateDone()
3035 mSS.getVoiceRegState() == ServiceState.STATE_IN_SERVICE in pollStateDone()
[all …]
DGsmCdmaPhone.java499 if (mSST == null || mSST.mSS.getState() != ServiceState.STATE_IN_SERVICE) { in getServiceState()
598 } else if (mSST.getCurrentDataConnectionState() != ServiceState.STATE_IN_SERVICE in getDataConnectionState()
639 if (mSST.getCurrentDataConnectionState() == ServiceState.STATE_IN_SERVICE in getDataActivityState()
949 if (imsSs.getVoiceRegState() != ServiceState.STATE_IN_SERVICE) { in mergeServiceStates()
1116 && imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in handleInCallMmiCommands()
1191 && (imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in dial()
1248 && mSST.mSS.getDataRegState() != ServiceState.STATE_IN_SERVICE && !isEmergency) { in dial()
1264 && !(mSST.mSS.getDataRegState() == ServiceState.STATE_IN_SERVICE in dial()
1404 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in handleUssdRequest()
1913 && ((imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) in getCallForwardingOption()
[all …]
DImsSmsDispatcher.java246 getState() == ServiceState.STATE_IN_SERVICE)); in isLteService()
DSMSDispatcher.java688 if ( tracker.mImsRetry > 0 && ss != ServiceState.STATE_IN_SERVICE) { in handleSendComplete()
703 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in handleSendComplete()
1465 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendMultipartSms()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java171 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimInvalid_ServiceState_InService()
265 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_ServiceState_InService()
277 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_SimState_Loaded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java145 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in updateText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java130 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java427 if (dataState == ServiceState.STATE_IN_SERVICE in getCombinedServiceState()
429 return ServiceState.STATE_IN_SERVICE; in getCombinedServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java403 if (getCombinedRegState(getServiceState()) == ServiceState.STATE_IN_SERVICE) { in resolveCarrierDisplayName()
548 if (ss.getVoiceRegState() != ServiceState.STATE_IN_SERVICE) return ss.getDataRegState(); in getCombinedRegState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java191 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java70 public static final int STATE_IN_SERVICE = TelephonyProtoEnums.SERVICE_STATE_IN_SERVICE; // 0 field in ServiceState
1007 case STATE_IN_SERVICE: in rilServiceStateToString()
1797 if (voiceSs.mVoiceRegState != STATE_IN_SERVICE) { in mergeServiceStates()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java98 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java147 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()

12