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 |