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 |