/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 215 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/ |
D | ImsPhoneTest.java | 538 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/ |
D | PhoneStateListenerExecutorTest.java | 77 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged() 82 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
|
D | ServiceStateTest.java | 68 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()
|
D | CallManagerTest.java | 69 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()
|
D | PhoneStateListenerTest.java | 90 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged() 96 verify(mServiceState).setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
|
D | GsmCdmaPhoneTest.java | 200 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 …]
|
D | ServiceStateTrackerTest.java | 681 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 …]
|
D | CarrierDisplayNameResolverTest.java | 90 mSS.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in setUp() 91 mSS.setDataRegState(ServiceState.STATE_IN_SERVICE); in setUp()
|
D | LocaleTrackerTest.java | 177 sendServiceState(ServiceState.STATE_IN_SERVICE); in testToggleAirplaneModeOn()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MobileRadioPowerCalculatorTest.java | 71 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/ |
D | ServiceStateTracker.java | 775 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 …]
|
D | CarrierServiceStateTracker.java | 195 return (mSST.mSS.getState() == ServiceState.STATE_IN_SERVICE in isPhoneStillRegistered() 196 || mSST.mSS.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE); in isPhoneStillRegistered()
|
D | GsmCdmaPhone.java | 581 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 …]
|
D | ImsSmsDispatcher.java | 306 getDataRegistrationState() == ServiceState.STATE_IN_SERVICE)); in isLteService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileSignalController.java | 613 || (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/ |
D | CdmaSMSDispatcher.java | 116 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameView.java | 148 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in updateText()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ServiceState.java | 72 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/ |
D | Utils.java | 518 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/ |
D | GsmSMSDispatcher.java | 163 if (!isIms() && ss != ServiceState.STATE_IN_SERVICE) { in sendSms()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 345 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/ |
D | ServiceStateStatsTest.java | 191 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/ |
D | SipPhoneBase.java | 97 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 146 s.setVoiceRegState(ServiceState.STATE_IN_SERVICE); in getServiceState()
|