Home
last modified time | relevance | path

Searched refs:STATE_POWER_OFF (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DDemoSimulatorTest.java56 private static final String STATE_POWER_OFF = "PowerOffState"; field in DemoSimulatorTest
90 assertEquals(STATE_POWER_OFF, mTestDemoSimulator.getCurrentStateName()); in testInitialState()
111 assertEquals(STATE_POWER_OFF, mTestDemoSimulator.getCurrentStateName()); in testStateTransition()
148 assertEquals(STATE_POWER_OFF, mTestDemoSimulator.getCurrentStateName()); in testNotConnectedState()
190 assertEquals(STATE_POWER_OFF, mTestDemoSimulator.getCurrentStateName()); in testConnectedState()
197 assertEquals(STATE_POWER_OFF, mTestDemoSimulator.getCurrentStateName()); in moveToNotConnectedState()
209 assertEquals(STATE_POWER_OFF, mTestDemoSimulator.getCurrentStateName()); in moveToConnectedState()
DSatelliteSessionControllerTest.java74 private static final String STATE_POWER_OFF = "PowerOffState"; field in SatelliteSessionControllerTest
148 assertEquals(STATE_POWER_OFF, sessionController2.getCurrentStateName()); in testInitialState()
178 assertEquals(STATE_POWER_OFF, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransition()
195 assertEquals(STATE_POWER_OFF, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransition()
404 assertEquals(STATE_POWER_OFF, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransition()
416 assertEquals(STATE_POWER_OFF, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
446 assertEquals(STATE_POWER_OFF, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
675 assertEquals(STATE_POWER_OFF, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
733 assertEquals(STATE_POWER_OFF, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
759 assertEquals(STATE_POWER_OFF, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
[all …]
DSatelliteSOSMessageRecommenderTest.java433 ServiceState.STATE_IN_SERVICE, ServiceState.STATE_POWER_OFF); in testCellularServiceStateChangedBeforeTimeout_InServiceToPowerOff()
445 ServiceState.STATE_EMERGENCY_ONLY, ServiceState.STATE_POWER_OFF); in testCellularServiceStateChangedBeforeTimeout_EmergencyOnlyToPowerOff()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DLocaleTrackerTest.java179 sendServiceState(ServiceState.STATE_POWER_OFF); in testBootupInAirplaneModeOn()
203 sendServiceState(ServiceState.STATE_POWER_OFF); in testToggleAirplaneModeOn()
219 sendServiceState(ServiceState.STATE_POWER_OFF); in testToggleAirplaneModeOff()
237 sendServiceState(ServiceState.STATE_POWER_OFF); in testToggleAirplaneModeOosPlmn()
276 sendServiceState(ServiceState.STATE_POWER_OFF); in testToggleAirplaneModeNoCellInfo()
343 sendServiceState(ServiceState.STATE_POWER_OFF); in testClearCellInfoForLostOperator()
DCallManagerTest.java240 doReturn(ServiceState.STATE_POWER_OFF).when(mSecondServiceState).getState(); in testGetServiceState()
250 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getState(); in testGetServiceState()
DServiceStateTrackerTest.java2159 assertEquals(ServiceState.STATE_POWER_OFF, sst.getServiceState().getState()); in testPollStateExceptionRadioPowerOff()
2160 assertEquals(ServiceState.STATE_POWER_OFF, in testPollStateExceptionRadioPowerOff()
2173 assertEquals(ServiceState.STATE_POWER_OFF, sst.getServiceState().getVoiceRegState()); in testPollStateExceptionRadioPowerOff()
2174 assertEquals(ServiceState.STATE_POWER_OFF, sst.getServiceState().getDataRegState()); in testPollStateExceptionRadioPowerOff()
2184 assertEquals(ServiceState.STATE_POWER_OFF, sst.getServiceState().getState()); in testPollStateExceptionRadioPowerOffOnIwlan()
2185 assertEquals(ServiceState.STATE_POWER_OFF, in testPollStateExceptionRadioPowerOffOnIwlan()
2201 assertEquals(ServiceState.STATE_POWER_OFF, sst.getServiceState().getVoiceRegState()); in testPollStateExceptionRadioPowerOffOnIwlan()
2202 assertEquals(ServiceState.STATE_POWER_OFF, sst.getServiceState().getDataRegState()); in testPollStateExceptionRadioPowerOffOnIwlan()
3021 ss.setVoiceRegState(ServiceState.STATE_POWER_OFF); in testUpdateSpnDisplay_flightMode_displayNull()
3022 ss.setDataRegState(ServiceState.STATE_POWER_OFF); in testUpdateSpnDisplay_flightMode_displayNull()
[all …]
DSignalStrengthControllerTest.java21 import static android.telephony.ServiceState.STATE_POWER_OFF;
1442 doReturn(STATE_POWER_OFF).when(mServiceState).getState(); in testLteSignalStrengthReportingCriteriaWhenServiceStateChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DRadioOnStateListenerTest.java194 state.setState(ServiceState.STATE_POWER_OFF); in testTimeout_RetryFailure()
214 state.setState(ServiceState.STATE_POWER_OFF); in testTimeout_RetryFailure_ForEmergency()
235 state.setState(ServiceState.STATE_POWER_OFF); in testTimeout_RetryFailure_WithSatellite()
255 state.setState(ServiceState.STATE_POWER_OFF); in testTimeout_OnTimeoutForEmergency()
DEmergencyNumberTrackerTest.java384 testUpdateEmergencyCountryIso(ServiceState.STATE_POWER_OFF); in testUpdateEmergencyCountryIso_whenStatePowerOff()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java77 STATE_POWER_OFF})
105 public static final int STATE_POWER_OFF = TelephonyProtoEnums.SERVICE_STATE_POWER_OFF; // 3 field in ServiceState
1173 case STATE_POWER_OFF: in rilServiceStateToString()
1271 mVoiceRegState = STATE_POWER_OFF; in setStateOff()
1272 mDataRegState = STATE_POWER_OFF; in setStateOff()
1284 mVoiceRegState = STATE_POWER_OFF; in setOutOfService()
1285 mDataRegState = STATE_POWER_OFF; in setOutOfService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java364 getServiceState().getState() == ServiceState.STATE_POWER_OFF); in getCarrierDisplayNameFromWifiCallingOverride()
458 if (ss.getState() == ServiceState.STATE_POWER_OFF && !forceDisplayNoService in getOutOfServiceDisplayName()
493 } else if (getServiceState().getState() == ServiceState.STATE_POWER_OFF) { in resolveCarrierDisplayName()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java278 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_POWER_OFF); in isInService_ServiceStatePowerOff_returnFalse()
291 when(mServiceState.getVoiceRegState()).thenReturn(ServiceState.STATE_POWER_OFF); in getCombinedServiceState_ServiceStatePowerOff_returnPowerOff()
294 .isEqualTo(ServiceState.STATE_POWER_OFF); in getCombinedServiceState_ServiceStatePowerOff_returnPowerOff()
/frameworks/base/services/core/java/com/android/server/am/
DDataConnectionStats.java141 && mServiceState.getState() != ServiceState.STATE_POWER_OFF; in hasService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallManager.java291 resultState == ServiceState.STATE_POWER_OFF) { in getServiceState()
295 if (resultState == ServiceState.STATE_POWER_OFF) { in getServiceState()
320 resultState == ServiceState.STATE_POWER_OFF) { in getServiceState()
324 if (resultState == ServiceState.STATE_POWER_OFF) { in getServiceState()
877 boolean result = (serviceState != ServiceState.STATE_POWER_OFF in canDial()
DLocaleTracker.java165 private int mLastServiceState = ServiceState.STATE_POWER_OFF;
DServiceStateTracker.java3016 if (mSS.getState() == ServiceState.STATE_POWER_OFF) { in updateSpnDisplayLegacy()
3035 } else if (mSS.getState() == ServiceState.STATE_POWER_OFF in updateSpnDisplayLegacy()
3459 mSS.getState() != ServiceState.STATE_POWER_OFF in pollStateDone()
3460 && mNewSS.getState() == ServiceState.STATE_POWER_OFF; in pollStateDone()
3462 mSS.getState() == ServiceState.STATE_POWER_OFF in pollStateDone()
3463 && mNewSS.getState() != ServiceState.STATE_POWER_OFF; in pollStateDone()
3948 } else if (mSS.getState() == ServiceState.STATE_POWER_OFF) { in getOperatorNameFromEri()
5631 || regState == ServiceState.STATE_POWER_OFF) in getCombinedRegState()
DGsmCdmaConnection.java585 if (serviceState == ServiceState.STATE_POWER_OFF) { in disconnectCauseFromCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DServiceStateStatsTest.java214 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getVoiceRegState(); in conclude_airplaneMode()
215 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getDataRegState(); in conclude_airplaneMode()
232 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getVoiceRegState(); in conclude_airplaneModeWithWifiCalling()
1085 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getVoiceRegState(); in onServiceStateChanged_airplaneMode()
1086 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getDataRegState(); in onServiceStateChanged_airplaneMode()
1163 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getVoiceRegState(); in onFoldStateChanged_modemOff()
1164 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getDataRegState(); in onFoldStateChanged_modemOff()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java271 if (serviceState == ServiceState.STATE_POWER_OFF) return false; in canDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DServiceStateStats.java334 return state.getVoiceRegState() == ServiceState.STATE_POWER_OFF; in isModemOff()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java767 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java621 if (state == ServiceState.STATE_POWER_OFF in isInService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java294 == ServiceState.STATE_POWER_OFF) { in isAirplaneModeEnabled()
DEmergencyStateTracker.java1541 if (ss.getState() != ServiceState.STATE_POWER_OFF) return false; in isPowerOff()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java536 state.setState(ServiceState.STATE_POWER_OFF); in testTelephonyCapable_SimValid_ServiceState_PowerOff()
600 state.setState(ServiceState.STATE_POWER_OFF); in testTelephonyCapable_BootInitState_ServiceState_PowerOff()

12