VisibleBackgroundUserPreparer

public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer

java.lang.Objek
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.VisibleBackgroundUserPreparer


Penyiap target untuk menjalankan pengujian pada pengguna yang dimulai secara terlihat di latar belakang.

Ringkasan

Konstanta

int DEFAULT_DISPLAY

int INVALID_DISPLAY

Konstruktor publik

VisibleBackgroundUserPreparer ()

Metode publik

Integer getDisplayId ()
void setDisplayId (int displayId)
void setUp ( TestInformation testInfo)
void tearDown ( TestInformation testInfo, Throwable e)

Konstanta

DEFAULT_DISPLAY

public static final int DEFAULT_DISPLAY

Nilai Konstan: 0 (0x00000000)

INVALID_DISPLAY

public static final int INVALID_DISPLAY

Nilai Konstan: -1 (0xffffffff)

Konstruktor publik

VisibleBackgroundUserPreparer

public VisibleBackgroundUserPreparer ()

Metode publik

dapatkanDisplayId

public Integer getDisplayId ()

Kembali
Integer

setDisplayId

public void setDisplayId (int displayId)

Parameter
displayId int

mempersiapkan

public void setUp (TestInformation testInfo)

Parameter
testInfo TestInformation

Melempar
BuildError
DeviceNotAvailableException
TargetSetupError

menangis

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parameter
testInfo TestInformation

e Throwable

Melempar
DeviceNotAvailableException