GsiDeviceFlashPreparer
public class GsiDeviceFlashPreparer
extends BaseTargetPreparer
implements ILabPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.GsiDeviceFlashPreparer |
使用 android 通用系統映像刷新設備的目標準備器。詳情請參閱 https://source.android.com/setup/build/gsi。
概括
公共構造函數 | |
---|---|
GsiDeviceFlashPreparer () |
公共方法 | |
---|---|
void | setUp ( TestInformation testInfo) 執行目標設置以進行測試。 |
受保護的方法 | |
---|---|
IHostOptions | getHostOptions () 獲取對 |
IRunUtil | getRunUtil () 獲取要使用的 |
公共構造函數
GsiDeviceFlashPreparer
public GsiDeviceFlashPreparer ()
公共方法
設置
public void setUp (TestInformation testInfo)
執行目標設置以進行測試。
參數 | |
---|---|
testInfo | TestInformation :調用的TestInformation 。 |
投擲 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |