GsiDeviceFlashPreparer
public class GsiDeviceFlashPreparer
extends BaseTargetPreparer
implements ILabPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.GsiDeviceFlashPreparer |
Trình chuẩn bị mục tiêu sẽ flash thiết bị bằng hình ảnh hệ thống chung của Android. Vui lòng xem https://source.android.com/setup/build/gsi để biết chi tiết.
Bản tóm tắt
Nhà thầu xây dựng công cộng | |
---|---|
GsiDeviceFlashPreparer () |
Phương pháp công cộng | |
---|---|
void | setUp ( TestInformation testInfo) Thực hiện thiết lập mục tiêu để thử nghiệm. |
Phương pháp được bảo vệ | |
---|---|
IHostOptions | getHostOptions () Nhận một tài liệu tham khảo đến |
IRunUtil | getRunUtil () Lấy phiên bản |
Nhà thầu xây dựng công cộng
GsiDeviceFlashPreparer
public GsiDeviceFlashPreparer ()
Phương pháp công cộng
cài đặt
public void setUp (TestInformation testInfo)
Thực hiện thiết lập mục tiêu để thử nghiệm.
Thông số | |
---|---|
testInfo | TestInformation : TestInformation của lệnh gọi. |
Ném | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
Phương pháp được bảo vệ
gethostOptions
protected IHostOptions getHostOptions ()
Nhận một tài liệu tham khảo đến IHostOptions
Trả lại | |
---|---|
IHostOptions | IHostOptions để sử dụng |