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

公用方法

setUp

public void setUp (TestInformation testInfo)

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

參數
testInfo TestInformation:呼叫的 TestInformation

擲回
BuildError
DeviceNotAvailableException
TargetSetupError

受保護的方法

getHostOptions

protected IHostOptions getHostOptions ()

取得 IHostOptions 的參照

傳回
IHostOptions 要使用的 IHostOptions

getRunUtil

protected IRunUtil getRunUtil ()

取得要使用的 IRunUtil 例項。

傳回
IRunUtil 要使用的 IRunUtil