RecoveryLogPreparer
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)
|
公共构造函数
RecoveryLogPreparer
public RecoveryLogPreparer ()
公共方法
setTestLogger
public void setTestLogger (ITestLogger testLogger)
注入 ITestLogger 实例
| 参数 | |
|---|---|
testLogger |
ITestLogger |
setUp
public void setUp (TestInformation testInformation)
| 参数 | |
|---|---|
testInformation |
TestInformation |
| 抛出 | |
|---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
|
受保护的方法
rebootDevice
protected void rebootDevice (TestInformation testInformation)
| 参数 | |
|---|---|
testInformation |
TestInformation |
| 抛出 | |
|---|---|
DeviceNotAvailableException |
|