Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java335 RebootDeviceAction(RebootMode rebootMode, @Nullable String reason) { in RebootDeviceAction() argument
336 mRebootMode = rebootMode; in RebootDeviceAction()
3116 final RebootMode rebootMode; in rebootIntoSideload() local
3118 rebootMode = RebootMode.REBOOT_INTO_SIDELOAD_AUTO_REBOOT; in rebootIntoSideload()
3120 rebootMode = RebootMode.REBOOT_INTO_SIDELOAD; in rebootIntoSideload()
3122 doAdbReboot(rebootMode, null); in rebootIntoSideload()
3182 void doReboot(RebootMode rebootMode, @Nullable final String reason) in doReboot() argument
3196 CLog.i("Rebooting device %s mode: %s", getSerialNumber(), rebootMode.name()); in doReboot()
3200 getSerialNumber(), rebootMode.name(), reason); in doReboot()
3202 doAdbReboot(rebootMode, reason); in doReboot()
[all …]
DTestDevice.java936 private boolean doAdbFrameworkReboot(RebootMode rebootMode, @Nullable final String reason) in doAdbFrameworkReboot() argument
955 String command = "svc power reboot " + rebootMode.formatRebootCommand(reason); in doAdbFrameworkReboot()
980 protected void doAdbReboot(RebootMode rebootMode, @Nullable final String reason) in doAdbReboot() argument
983 || !doAdbFrameworkReboot(rebootMode, reason)) { in doAdbReboot()
984 super.doAdbReboot(rebootMode, reason); in doAdbReboot()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java344 protected void doAdbReboot(RebootMode rebootMode, @Nullable final String reason) in doAdbReboot() argument
348 super.doAdbReboot(rebootMode, reason); in doAdbReboot()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java124 void doReboot(RebootMode rebootMode, @Nullable final String reason) in doReboot() argument
605 void doReboot(RebootMode rebootMode, @Nullable final String reason) in testExecuteShellCommand_recoveryRetry()
672 void doReboot(RebootMode rebootMode, @Nullable final String reason) in testExecuteShellCommand_recoveryTimeoutRetry()
722 void doReboot(RebootMode rebootMode, @Nullable final String reason) in testExecuteShellCommand_recoveryAttempts()