恢复日志准备器
public class RecoveryLogPreparer
extends BaseTargetPreparer
implements ITestLoggerReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RecoveryLogPreparer |
用于在恢复之前收集日志的目标准备器。
概括
公共构造函数 | |
---|---|
RecoveryLogPreparer () |
公共方法 | |
---|---|
void | setTestLogger ( ITestLogger testLogger) 注入 |
void | setUp ( TestInformation testInformation) |
受保护的方法 | |
---|---|
void | rebootDevice ( TestInformation testInformation) |
公共构造函数
恢复日志准备器
public RecoveryLogPreparer ()
公共方法
设置
public void setUp (TestInformation testInformation)
参数 | |
---|---|
testInformation | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
受保护的方法
重启设备
protected void rebootDevice (TestInformation testInformation)
参数 | |
---|---|
testInformation | TestInformation |
投掷 | |
---|---|
DeviceNotAvailableException |