مرئي خلفية المستخدمالمعد
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)
المنشأت العامة
مرئي خلفية المستخدمالمعد
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 |