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 ()

獲取對IHostOptions的引用

IRunUtil getRunUtil ()

獲取要使用的IRunUtil實例。

公共構造函數

GsiDeviceFlashPreparer

public GsiDeviceFlashPreparer ()

公共方法

設置

public void setUp (TestInformation testInfo)

執行目標設置以進行測試。

參數
testInfo TestInformation :調用的TestInformation

投擲
BuildError
DeviceNotAvailableException
TargetSetupError

受保護的方法

獲取主機選項

protected IHostOptions getHostOptions ()

獲取對IHostOptions的引用

退貨
IHostOptions要使用的IHostOptions

getRunUtil

protected IRunUtil getRunUtil ()

獲取要使用的IRunUtil實例。

退貨
IRunUtil要使用的IRunUtil