VisibleBackgroundUserPreparer

public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer

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


Preparatore del target per l'esecuzione di test in un utente avviato visibile in background.

Riepilogo

Costanti

int DEFAULT_DISPLAY

int INVALID_DISPLAY

Costruttori pubblici

VisibleBackgroundUserPreparer ()

Metodi pubblici

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

Costanti

DEFAULT_DISPLAY

public static final int DEFAULT_DISPLAY

Valore costante: 0 (0x00000000)

DISPLAY_INVALIDO

public static final int INVALID_DISPLAY

Valore costante: -1 (0xffffffff)

Costruttori pubblici

VisibleBackgroundUserPreparer

public VisibleBackgroundUserPreparer ()

Metodi pubblici

getDisplayId

public Integer getDisplayId ()

ritorna
Integer

setDisplayId

public void setDisplayId (int displayId)

Parametri
displayId int

impostare

public void setUp (TestInformation testInfo)

Parametri
testInfo TestInformation

Lancia
BuildError
DeviceNotAvailableException
TargetSetupError

demolire

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametri
testInfo TestInformation

e Throwable

Lancia
DeviceNotAvailableException