GsiDeviceFlashPreparer

public class GsiDeviceFlashPreparer
extends BaseTargetPreparer

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)

Phương pháp được bảo vệ

IHostOptions getHostOptions ()

Nhận một tài liệu tham khảo đến IHostOptions

IRunUtil getRunUtil ()

Lấy phiên bản IRunUtil để sử dụng.

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ông số
testInfo TestInformation

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

getRunUtil

protected IRunUtil getRunUtil ()

Lấy phiên bản IRunUtil để sử dụng.

Trả lại
IRunUtil IRunUtil để sử dụng