VisibleBackgroundUserPreparer

public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.VisibleBackgroundUserPreparer


Trình chuẩn bị mục tiêu để chạy thử nghiệm trong người dùng được khởi động ở chế độ hiển thị ở chế độ nền.

Bản tóm tắt

Hằng số

int DEFAULT_DISPLAY

int INVALID_DISPLAY

Nhà thầu xây dựng công cộng

VisibleBackgroundUserPreparer ()

Phương pháp công khai

Integer getDisplayId ()
void setDisplayId (int displayId)
void setUp ( TestInformation testInfo)
void tearDown ( TestInformation testInfo, Throwable e)

Hằng số

DEFAULT_DISPLAY

public static final int DEFAULT_DISPLAY

Giá trị không đổi: 0 (0x00000000)

INVALID_DISPLAY

public static final int INVALID_DISPLAY

Giá trị không đổi: -1 (0xffffffff)

Nhà thầu xây dựng công cộng

VisibleBackgroundUserPreparer

public VisibleBackgroundUserPreparer ()

Phương pháp công khai

lấy Id hiển thị

public Integer getDisplayId ()

Trả lại
Integer

setId hiển thị

public void setDisplayId (int displayId)

Thông số
displayId int

cài đặt

public void setUp (TestInformation testInfo)

Thông số
testInfo TestInformation

Ném
BuildError
DeviceNotAvailableException
TargetSetupError

phá bỏ

public void tearDown (TestInformation testInfo, 
                Throwable e)

Thông số
testInfo TestInformation

e Throwable

Ném
DeviceNotAvailableException