Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A DUtilsTest.java235 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceInService_returnTrue()
243 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue()
259 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
296 when(mServiceState.getState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService()
299 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceInService_returnInService()
305 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
312 ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService()
318 when(mServiceState.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DMobileRadioPowerCalculatorTest.java88 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testCounterBasedModel()
208 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testCounterBasedModel_multipleDefinedRat()
363 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testCounterBasedModel_legacyPowerProfile()
491 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testTimerBasedModel_byProcessState()
602 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
685 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
873 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile()
971 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testMeasuredEnergyBasedModel_byProcessState()
H A DBatteryStatsNoteTest.java2454 mBsi.notePhoneDataConnectionStateLocked(dataType, true, ServiceState.STATE_IN_SERVICE, in setRatType()
2461 ServiceState.STATE_IN_SERVICE, frequency); in setFrequencyRange()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DMobileConnectionRepositoryTest.kt25 import android.telephony.ServiceState.STATE_IN_SERVICE
884 it.voiceRegState = STATE_IN_SERVICE
885 it.dataRegState = STATE_IN_SERVICE
894 it.dataRegState = STATE_IN_SERVICE
921 whenever(serviceState.dataRegistrationState).thenReturn(STATE_IN_SERVICE)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DOperatorNameViewController.java220 && mServiceState.getState() == ServiceState.STATE_IN_SERVICE; in stateInService()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java73 value = {STATE_IN_SERVICE, STATE_OUT_OF_SERVICE, STATE_EMERGENCY_ONLY,
81 public static final int STATE_IN_SERVICE = TelephonyProtoEnums.SERVICE_STATE_IN_SERVICE; // 0 field in ServiceState
1163 case STATE_IN_SERVICE: in rilServiceStateToString()
1982 if (voiceSs.mVoiceRegState != STATE_IN_SERVICE) { in mergeServiceStates()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DMobileState.kt114 return serviceState?.state != ServiceState.STATE_IN_SERVICE
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java573 if (dataState == ServiceState.STATE_IN_SERVICE && isNotInIwlan(serviceState)) { in getCombinedServiceState()
574 return ServiceState.STATE_IN_SERVICE; in getCombinedServiceState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DCarrierTextManager.java345 if (ss != null && ss.getDataRegistrationState() == ServiceState.STATE_IN_SERVICE) { in updateCarrierText()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
H A DNetworkControllerBaseTest.java323 setVoiceRegState(ServiceState.STATE_IN_SERVICE); in setupDefaultSignal()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DCarrierTextManagerTest.java435 when(ss.getDataRegistrationState()).thenReturn(ServiceState.STATE_IN_SERVICE); in testCarrierText_noTextOnReadySimWhenNull_airplaneMode_wifiOn()
H A DKeyguardUpdateMonitorTest.java573 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimInvalid_ServiceState_InService()
667 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_ServiceState_InService()
679 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_SimState_Loaded()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialogControllerTest.java469 doReturn(ServiceState.STATE_IN_SERVICE).when(mServiceState).getState(); in getSubtitleText_withMobileDataDisabled_returnNoOtherAvailable()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialogController.java997 && serviceState.getState() == serviceState.STATE_IN_SERVICE;
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DBatteryStatsImpl.java5941 state = ServiceState.STATE_IN_SERVICE; in updateAllPhoneStateLocked()
5950 } else if (state == ServiceState.STATE_IN_SERVICE) { in updateAllPhoneStateLocked()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt45067 field public static final int STATE_IN_SERVICE = 0; // 0x0