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 |