/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/ |
D | DemoSimulatorTest.java | 56 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()
|
D | SatelliteSessionControllerTest.java | 74 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 …]
|
D | SatelliteSOSMessageRecommenderTest.java | 433 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/ |
D | LocaleTrackerTest.java | 179 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()
|
D | CallManagerTest.java | 240 doReturn(ServiceState.STATE_POWER_OFF).when(mSecondServiceState).getState(); in testGetServiceState() 250 doReturn(ServiceState.STATE_POWER_OFF).when(mServiceState).getState(); in testGetServiceState()
|
D | ServiceStateTrackerTest.java | 2159 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 …]
|
D | SignalStrengthControllerTest.java | 21 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/ |
D | RadioOnStateListenerTest.java | 194 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()
|
D | EmergencyNumberTrackerTest.java | 384 testUpdateEmergencyCountryIso(ServiceState.STATE_POWER_OFF); in testUpdateEmergencyCountryIso_whenStatePowerOff()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ServiceState.java | 77 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/ |
D | CarrierDisplayNameResolver.java | 364 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/ |
D | UtilsTest.java | 278 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/ |
D | DataConnectionStats.java | 141 && mServiceState.getState() != ServiceState.STATE_POWER_OFF; in hasService()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CallManager.java | 291 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()
|
D | LocaleTracker.java | 165 private int mLastServiceState = ServiceState.STATE_POWER_OFF;
|
D | ServiceStateTracker.java | 3016 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()
|
D | GsmCdmaConnection.java | 585 if (serviceState == ServiceState.STATE_POWER_OFF) { in disconnectCauseFromCode()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | ServiceStateStatsTest.java | 214 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/ |
D | ImsPhoneBase.java | 271 if (serviceState == ServiceState.STATE_POWER_OFF) return false; in canDial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ServiceStateStats.java | 334 return state.getVoiceRegState() == ServiceState.STATE_POWER_OFF; in isModemOff()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 767 final boolean inAirplaneMode = serviceState.getState() == ServiceState.STATE_POWER_OFF;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 621 if (state == ServiceState.STATE_POWER_OFF in isInService()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 294 == ServiceState.STATE_POWER_OFF) { in isAirplaneModeEnabled()
|
D | EmergencyStateTracker.java | 1541 if (ss.getState() != ServiceState.STATE_POWER_OFF) return false; in isPowerOff()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 536 state.setState(ServiceState.STATE_POWER_OFF); in testTelephonyCapable_SimValid_ServiceState_PowerOff() 600 state.setState(ServiceState.STATE_POWER_OFF); in testTelephonyCapable_BootInitState_ServiceState_PowerOff()
|