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

取得運行工具

protected IRunUtil getRunUtil ()

取得要使用的IRunUtil實例。

退貨
IRunUtil要使用的IRunUtil