VisibleBackgroundUserPreparer

public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer

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


Préparateur cible pour exécuter des tests chez un utilisateur démarré de manière visible en arrière-plan.

Résumé

Constantes

int DEFAULT_DISPLAY

int INVALID_DISPLAY

Constructeurs publics

VisibleBackgroundUserPreparer ()

Méthodes publiques

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

Constantes

DEFAULT_DISPLAY

public static final int DEFAULT_DISPLAY

Valeur constante : 0 (0x00000000)

INVALID_DISPLAY

public static final int INVALID_DISPLAY

Valeur constante : -1 (0xffffffff)

Constructeurs publics

VisibleBackgroundUserPreparer

public VisibleBackgroundUserPreparer ()

Méthodes publiques

getDisplayId

public Integer getDisplayId ()

Retour
Integer

setDisplayId

public void setDisplayId (int displayId)

Paramètres
displayId int

installation

public void setUp (TestInformation testInfo)

Paramètres
testInfo TestInformation

Jetés
BuildError
DeviceNotAvailableException
TargetSetupError

démolir

public void tearDown (TestInformation testInfo, 
                Throwable e)

Paramètres
testInfo TestInformation

e Throwable

Jetés
DeviceNotAvailableException