/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 229 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInService_returnTrue() 242 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse() 255 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataNull_returnFalse() 266 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in isInService_voiceOutOfServiceDataOutOfService_returnFalse() 286 .isEqualTo(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_servicestateNull_returnOutOfService() 307 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService() 320 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService() 328 .isEqualTo(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService() 333 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService() 335 .thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in getCombinedServiceState_voiceOutOfServiceDataOutOfService_returnOutOfService() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CallManagerTest.java | 232 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSecondServiceState).getState(); in testGetServiceState() 244 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSecondServiceState).getState(); in testGetServiceState() 246 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState() 251 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState() 257 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, in testGetServiceState()
|
D | LocaleTrackerTest.java | 161 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testNoSim() 227 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeOff() 252 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeOosPlmn() 290 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testToggleAirplaneModeNoCellInfo() 336 sendServiceState(ServiceState.STATE_OUT_OF_SERVICE); in testClearCellInfoForLostOperator()
|
D | CarrierServiceStateTrackerTest.java | 178 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getState(); in testSendPrefNetworkNotification() 179 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS).getDataRegistrationState(); in testSendPrefNetworkNotification()
|
D | ServiceStateTrackerTest.java | 909 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testOnImsServiceStateChanged() 1860 sst.mSS.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState() 1861 assertEquals(sst.getCurrentDataConnectionState(), ServiceState.STATE_OUT_OF_SERVICE); in testGetCurrentDataRegState() 2956 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, sst.mSS.getState()); in testLastKnownCellIdentity() 2973 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly() 2999 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS() 3000 ss.setDataRegState(ServiceState.STATE_OUT_OF_SERVICE); in testUpdateSpnDisplay_noServiceAndEmergencyCallNotAvailable_displayOOS() 3230 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS() 3359 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testGetCombinedRegState() 3360 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegistrationState(); in testGetCombinedRegState() [all …]
|
D | SignalStrengthControllerTest.java | 20 import static android.telephony.ServiceState.STATE_OUT_OF_SERVICE; 1429 doReturn(STATE_OUT_OF_SERVICE).when(mServiceState).getState(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
|
D | GsmCdmaPhoneTest.java | 290 serviceState.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetMergedServiceState() 373 serviceState.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetMergedServiceStateNoCsfb() 1244 ss.setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testGetCsCallRadioTech() 1453 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mSST.mSS) in testSendUssdInOutOfService() 1940 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, mPhoneUT.getServiceState().getState()); in testSetVoiceServiceStateOverride() 1958 assertEquals(ServiceState.STATE_OUT_OF_SERVICE, mPhoneUT.getServiceState().getState()); in testSetVoiceServiceStateOverride()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/ |
D | SatelliteSOSMessageRecommenderTest.java | 19 import static android.telephony.ServiceState.STATE_OUT_OF_SERVICE; 145 when(mServiceState.getState()).thenReturn(STATE_OUT_OF_SERVICE); in setUp() 146 when(mServiceState2.getState()).thenReturn(STATE_OUT_OF_SERVICE); in setUp() 197 when(mServiceState.getState()).thenReturn(STATE_OUT_OF_SERVICE); in testStartTimer_emergencyCallNull() 198 when(mServiceState2.getState()).thenReturn(STATE_OUT_OF_SERVICE); in testStartTimer_emergencyCallNull() 427 ServiceState.STATE_IN_SERVICE, STATE_OUT_OF_SERVICE); in testCellularServiceStateChangedBeforeTimeout_InServiceToOutOfService() 439 ServiceState.STATE_EMERGENCY_ONLY, STATE_OUT_OF_SERVICE); in testCellularServiceStateChangedBeforeTimeout_EmergencyOnlyToOutOfService()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | MobileRadioPowerCalculatorTest.java | 89 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testCounterBasedModel() 209 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testCounterBasedModel_multipleDefinedRat() 366 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testCounterBasedModel_legacyPowerProfile() 488 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testTimerBasedModel_byProcessState() 605 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel() 686 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel() 870 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile() 974 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testMeasuredEnergyBasedModel_byProcessState()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ServiceState.java | 76 value = {STATE_IN_SERVICE, STATE_OUT_OF_SERVICE, STATE_EMERGENCY_ONLY, 92 public static final int STATE_OUT_OF_SERVICE = field in ServiceState 280 private int mVoiceRegState = STATE_OUT_OF_SERVICE; 281 private int mDataRegState = STATE_OUT_OF_SERVICE; 1169 case STATE_OUT_OF_SERVICE: in rilServiceStateToString() 1223 mVoiceRegState = STATE_OUT_OF_SERVICE; in init() 1224 mDataRegState = STATE_OUT_OF_SERVICE; in init()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | EventLogTags.logtags | 44 # and STATE_OUT_OF_SERVICE in "network_to". To avoid confusion, the fixed version
|
D | TelephonyTester.java | 475 ServiceState.STATE_OUT_OF_SERVICE); in overrideServiceState() 477 ServiceState.STATE_OUT_OF_SERVICE)); in overrideServiceState() 492 ServiceState.STATE_OUT_OF_SERVICE); in overrideServiceState()
|
D | CallManager.java | 279 int resultState = ServiceState.STATE_OUT_OF_SERVICE; in getServiceState() 287 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in getServiceState() 307 int resultState = ServiceState.STATE_OUT_OF_SERVICE; in getServiceState() 316 } else if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in getServiceState()
|
D | LocaleTracker.java | 462 && (mLastServiceState == ServiceState.STATE_OUT_OF_SERVICE in updateTrackingStatus()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | DataConnectionStats.java | 140 && mServiceState.getState() != ServiceState.STATE_OUT_OF_SERVICE in hasService()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 622 || state == ServiceState.STATE_OUT_OF_SERVICE in isInService() 642 return ServiceState.STATE_OUT_OF_SERVICE; in getCombinedServiceState() 653 if (voiceRegState == ServiceState.STATE_OUT_OF_SERVICE in getCombinedServiceState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionRepositoryTest.kt | 35 import android.telephony.ServiceState.STATE_OUT_OF_SERVICE 938 it.voiceRegState = STATE_OUT_OF_SERVICE in isInService_notIwlan() 953 it.voiceRegState = STATE_OUT_OF_SERVICE in isInService_notIwlan() 976 it.voiceRegState = STATE_OUT_OF_SERVICE in isInService_isIwlan_voiceOutOfService_dataInService()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | OperatorNameViewControllerTest.kt | 191 .thenReturn(ServiceState().also { it.state = ServiceState.STATE_OUT_OF_SERVICE }) in notInService_doesNotShowOperatorName()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/ |
D | SatelliteSOSMessageRecommender.java | 22 import static android.telephony.ServiceState.STATE_OUT_OF_SERVICE; 518 return isStateOutOfService ? STATE_OUT_OF_SERVICE : STATE_EMERGENCY_ONLY; in getBestCellularServiceState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | RadioOnStateListenerTest.java | 171 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testPhoneChangeState_NoOkToCall_Timeout()
|
D | EmergencyStateTrackerTest.java | 186 .isOkToCall(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode() 189 .isOkToCall(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode() 245 .isOkToCall(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode() 247 .onTimeout(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode() 251 .isOkToCall(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode() 253 .onTimeout(testPhone, ServiceState.STATE_OUT_OF_SERVICE, false)); in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode() 3388 Phone testPhone1 = makeTestPhone(1 /* phoneId */, ServiceState.STATE_OUT_OF_SERVICE, in setupTestPhoneForEmergencyCall()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerDataTest.java | 343 setVoiceRegState(ServiceState.STATE_OUT_OF_SERVICE); in testIsDataInService_notInService_false()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataCallSessionStats.java | 376 && serviceState.getDataRegistrationState() == ServiceState.STATE_OUT_OF_SERVICE; in getIsOos()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | DataCallSessionStatsTest.java | 301 .thenReturn(ServiceState.STATE_OUT_OF_SERVICE); in testSetupDataCallOnIwlan_success_thenOOS()
|
D | ServiceStateStatsTest.java | 179 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getVoiceRegState(); in conclude_outOfService() 180 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegState(); in conclude_outOfService() 283 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getVoiceRegState(); in conclude_noSimCardOutOfService() 284 doReturn(ServiceState.STATE_OUT_OF_SERVICE).when(mServiceState).getDataRegState(); in conclude_noSimCardOutOfService()
|