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