使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。

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到使用