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 ()

รับการอ้างอิงถึง IHostOptions

IRunUtil getRunUtil ()

รับอินสแตนซ์ IRunUtil เพื่อใช้งาน

ผู้รับเหมาก่อสร้างสาธารณะ

GsiDeviceFlashPreparer

public GsiDeviceFlashPreparer ()

วิธีการสาธารณะ

ติดตั้ง

public void setUp (TestInformation testInfo)

ดำเนินการตั้งค่าเป้าหมายสำหรับการทดสอบ

พารามิเตอร์
testInfo TestInformation : TestInformation ของการร้องขอ

ขว้าง
BuildError
DeviceNotAvailableException
TargetSetupError

วิธีการที่ได้รับการป้องกัน

getHostOptions

protected IHostOptions getHostOptions ()

รับการอ้างอิงถึง IHostOptions

การส่งคืน
IHostOptions IHostOptions ที่จะใช้

getRunUtil

protected IRunUtil getRunUtil ()

รับอินสแตนซ์ IRunUtil เพื่อใช้งาน

การส่งคืน
IRunUtil IRunUtil ที่จะใช้