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 ()

วิธีการสาธารณะ

รับDisplayId

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