VisibleBackgroundUserPreparer

public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer

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


آماده‌کننده هدف برای اجرای آزمایش‌ها در کاربری که در پس‌زمینه قابل مشاهده است.

خلاصه

ثابت ها

int DEFAULT_DISPLAY

int INVALID_DISPLAY

سازندگان عمومی

VisibleBackgroundUserPreparer ()

روش های عمومی

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

ثابت ها

DEFAULT_DISPLAY

public static final int DEFAULT_DISPLAY

مقدار ثابت: 0 (0x00000000)

INVALID_DISPLAY

public static final int INVALID_DISPLAY

مقدار ثابت: -1 (0xffffffff)

سازندگان عمومی

VisibleBackgroundUserPreparer

public VisibleBackgroundUserPreparer ()

روش های عمومی

getDisplayId

public Integer getDisplayId ()

برمی گرداند
Integer

setDisplayId

public void setDisplayId (int displayId)

مولفه های
displayId int

برپایی

public void setUp (TestInformation testInfo)

مولفه های
testInfo TestInformation

پرتاب می کند
BuildError
DeviceNotAvailableException
TargetSetupError

پاره کردن

public void tearDown (TestInformation testInfo, 
                Throwable e)

مولفه های
testInfo TestInformation

e Throwable

پرتاب می کند
DeviceNotAvailableException