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 ที่จะใช้ |