GsiDeviceFlashPreparer

public class GsiDeviceFlashPreparer
extends BaseTargetPreparer

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

擲回
BuildError
DeviceNotAvailableException
TargetSetupError

保護方法

getHost 選項

protected IHostOptions getHostOptions ()

取得 IHostOptions 的參照

傳回
IHostOptions 要使用的 IHostOptions

getRunUtil

protected IRunUtil getRunUtil ()

取得要使用的 IRunUtil 例項。

傳回
IRunUtil 要使用的 IRunUtil