GsiDeviceFlashPreparer

public class GsiDeviceFlashPreparer
extends BaseTargetPreparer

對象
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

投擲
BuildError
DeviceNotAvailableException
TargetSetupError

受保護的方法

獲取主機選項

protected IHostOptions getHostOptions ()

獲取到的參考IHostOptions

退貨
IHostOptionsIHostOptions到使用

獲取運行工具

protected IRunUtil getRunUtil ()

獲取IRunUtil實例使用。

退貨
IRunUtilIRunUtil到使用