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 ()
公共方法
设置
public void setUp (TestInformation testInfo)
执行测试目标设置。
参数 | |
---|---|
testInfo | TestInformation :调用的TestInformation 。 |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |