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 ()
שיטות ציבוריות
מזהה תצוגה
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 |