Home
last modified time | relevance | path

Searched refs:rebootMode (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java415 RebootDeviceAction(RebootMode rebootMode, @Nullable String reason) { in RebootDeviceAction() argument
416 mRebootMode = rebootMode; in RebootDeviceAction()
3844 final RebootMode rebootMode; in rebootIntoSideload() local
3846 rebootMode = RebootMode.REBOOT_INTO_SIDELOAD_AUTO_REBOOT; in rebootIntoSideload()
3848 rebootMode = RebootMode.REBOOT_INTO_SIDELOAD; in rebootIntoSideload()
3850 doAdbReboot(rebootMode, null); in rebootIntoSideload()
3924 void doReboot(RebootMode rebootMode, @Nullable final String reason) in doReboot() argument
3938 CLog.i("Rebooting device %s mode: %s", getSerialNumber(), rebootMode.name()); in doReboot()
3942 getSerialNumber(), rebootMode.name(), reason); in doReboot()
3944 doAdbReboot(rebootMode, reason); in doReboot()
[all …]
DTestDevice.java1265 private boolean doAdbFrameworkReboot(RebootMode rebootMode, @Nullable final String reason) in doAdbFrameworkReboot() argument
1285 String command = "svc power reboot " + rebootMode.formatRebootCommand(reason); in doAdbFrameworkReboot()
1316 protected void doAdbReboot(RebootMode rebootMode, @Nullable final String reason) in doAdbReboot() argument
1320 || !doAdbFrameworkReboot(rebootMode, reason)) { in doAdbReboot()
1321 super.doAdbReboot(rebootMode, reason); in doAdbReboot()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java167 void doReboot(RebootMode rebootMode, @Nullable final String reason) in doReboot() argument
827 void doReboot(RebootMode rebootMode, @Nullable final String reason) in testExecuteShellCommand_recoveryRetry()
925 void doReboot(RebootMode rebootMode, @Nullable final String reason) in testExecuteShellCommand_recoveryTimeoutRetry()
992 void doReboot(RebootMode rebootMode, @Nullable final String reason) in testExecuteShellCommand_recoveryAttempts()