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()
获取对 |
IRunUtil
|
getRunUtil()
获取要使用的 |
公共构造函数
GsiDeviceFlashPreparer
public GsiDeviceFlashPreparer ()
公共方法
setUp
public void setUp (TestInformation testInfo)
执行目标设置以进行测试。
| 参数 | |
|---|---|
testInfo |
TestInformation:调用的 TestInformation。 |
| 抛出 | |
|---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
|
受保护的方法
getHostOptions
protected IHostOptions getHostOptions ()
获取对 IHostOptions 的引用
| 返回 | |
|---|---|
IHostOptions |
要使用的 IHostOptions |