RecoveryLogPreparer

public class RecoveryLogPreparer
extends BaseTargetPreparer implements ITestLoggerReceiver

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.RecoveryLogPreparer


A target preparer used to collect logs before recovery.

Summary

Public constructors

RecoveryLogPreparer()

Public methods

void setTestLogger(ITestLogger testLogger)

Injects the ITestLogger instance

void setUp(TestInformation testInformation)

Protected methods

void rebootDevice(TestInformation testInformation)

Public constructors

RecoveryLogPreparer

public RecoveryLogPreparer ()

Public methods

setTestLogger

public void setTestLogger (ITestLogger testLogger)

Injects the ITestLogger instance

Parameters
testLogger ITestLogger

setUp

public void setUp (TestInformation testInformation)

Parameters
testInformation TestInformation

Throws
BuildError
DeviceNotAvailableException
TargetSetupError

Protected methods

rebootDevice

protected void rebootDevice (TestInformation testInformation)

Parameters
testInformation TestInformation

Throws
DeviceNotAvailableException