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)
|
ค่าคงที่
การแสดงผลค่าเริ่มต้น
public static final int DEFAULT_DISPLAY
ค่าคงที่: 0 (0x00000000)
การแสดงผลไม่ถูกต้อง
public static final int INVALID_DISPLAY
ค่าคงที่: -1 (0xffffffff)
ตัวสร้างแบบสาธารณะ
ผู้เตรียมผู้ใช้พื้นหลังที่มองเห็นได้
public VisibleBackgroundUserPreparer ()
เมธอดสาธารณะ
getDisplayId
public Integer getDisplayId ()
คิกรีเทิร์น | |
---|---|
Integer |
setDisplayId
public void setDisplayId (int displayId)
พารามิเตอร์ | |
---|---|
displayId |
int |
setUp
public void setUp (TestInformation testInfo)
พารามิเตอร์ | |
---|---|
testInfo |
TestInformation |
โยน | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
พารามิเตอร์ | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
การขว้าง | |
---|---|
DeviceNotAvailableException |