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

กำหนดรหัสการแสดงผล

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