FastbootCommandPreparer
public final class FastbootCommandPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.FastbootCommandPreparer |
触发 fastboot 并发送 fastboot 命令的目标准备器。
TODO(b/122592575):为此准备器添加测试。
概括
公共构造函数 | |
---|---|
FastbootCommandPreparer () |
公共方法 | |
---|---|
void | setUp ( TestInformation testInformation) |
void | tearDown ( TestInformation testInformation, Throwable e)
|
公共构造函数
FastbootCommandPreparer
public FastbootCommandPreparer ()
公共方法
设置
public void setUp (TestInformation testInformation)
参数 | |
---|---|
testInformation | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
拆除
public void tearDown (TestInformation testInformation, Throwable e)
参数 | |
---|---|
testInformation | TestInformation |
e | Throwable |
投掷 | |
---|---|
DeviceNotAvailableException |