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

setUp

public void setUp (TestInformation testInfo)

พารามิเตอร์
testInfo TestInformation

การโยน
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

พารามิเตอร์
testInfo TestInformation

e Throwable

การโยน
DeviceNotAvailableException