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 |