Home
last modified time | relevance | path

Searched refs:STATE_EMERGENCY_ONLY (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneStateListenerExecutorTest.java78 ss.setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY); in testTriggerServiceStateChanged()
83 verify(mServiceState).setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY); in testTriggerServiceStateChanged()
DPhoneStateListenerTest.java91 ss.setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY); in testTriggerServiceStateChanged()
97 verify(mServiceState).setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY); in testTriggerServiceStateChanged()
DCallManagerTest.java249 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mSecondServiceState).getState(); in testGetServiceState()
258 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getState(); in testGetServiceState()
269 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mSecondServiceState).getState(); in testGetServiceState()
DServiceStateTrackerTest.java2673 ss.setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly()
3042 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getState(); in testGetCombinedRegState()
3043 assertEquals(ServiceState.STATE_EMERGENCY_ONLY, sst.getCombinedRegState(mServiceState)); in testGetCombinedRegState()
3051 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getState(); in testGetCombinedRegState()
3052 assertEquals(ServiceState.STATE_EMERGENCY_ONLY, sst.getCombinedRegState(mServiceState)); in testGetCombinedRegState()
3061 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getState(); in testGetCombinedRegState()
3062 assertEquals(ServiceState.STATE_EMERGENCY_ONLY, sst.getCombinedRegState(mServiceState)); in testGetCombinedRegState()
3071 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getState(); in testGetCombinedRegState()
3072 assertEquals(ServiceState.STATE_EMERGENCY_ONLY, sst.getCombinedRegState(mServiceState)); in testGetCombinedRegState()
DLocaleTrackerTest.java156 sendServiceState(ServiceState.STATE_EMERGENCY_ONLY); in testNoSim()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java488 || state == ServiceState.STATE_EMERGENCY_ONLY) { in isInService()
517 || state == ServiceState.STATE_EMERGENCY_ONLY) { in getCombinedServiceState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallManager.java290 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY || in getServiceState()
294 } else if (serviceState == ServiceState.STATE_EMERGENCY_ONLY) { in getServiceState()
319 if ( resultState == ServiceState.STATE_EMERGENCY_ONLY || in getServiceState()
323 } else if (serviceState == ServiceState.STATE_EMERGENCY_ONLY) { in getServiceState()
DLocaleTracker.java453 || mLastServiceState == ServiceState.STATE_EMERGENCY_ONLY); in updateTrackingStatus()
DGsmCdmaConnection.java583 || serviceState == ServiceState.STATE_EMERGENCY_ONLY)) { in disconnectCauseFromCode()
DServiceStateTracker.java981 || mSS.getState() == ServiceState.STATE_EMERGENCY_ONLY; in updatePhoneObject()
3008 || combinedRegState == ServiceState.STATE_EMERGENCY_ONLY) { in updateSpnDisplayLegacy()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java72 value = {STATE_IN_SERVICE, STATE_OUT_OF_SERVICE, STATE_EMERGENCY_ONLY,
95 public static final int STATE_EMERGENCY_ONLY = field in ServiceState
1122 case STATE_EMERGENCY_ONLY: in rilServiceStateToString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DServiceStateStatsTest.java210 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getVoiceRegState(); in conclude_noSimCardEmergencyOnly()
211 doReturn(ServiceState.STATE_EMERGENCY_ONLY).when(mServiceState).getDataRegState(); in conclude_noSimCardEmergencyOnly()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5510 case ServiceState.STATE_EMERGENCY_ONLY: in notePhoneDataConnectionStateLocked()
/frameworks/base/core/api/
Dcurrent.txt42102 field public static final int STATE_EMERGENCY_ONLY = 2; // 0x2
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28474 field public static final int STATE_EMERGENCY_ONLY = 2; // 0x2