VisibleBackgroundUserPreparer

public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer

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


Preparador de destino para ejecutar pruebas en un usuario que se inicia en el visible en segundo plano.

Resumen

constantes

int DEFAULT_DISPLAY

int INVALID_DISPLAY

Constructores públicos

VisibleBackgroundUserPreparer ()

Métodos públicos

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

Valor constante: 0 (0x00000000)

INVALID_DISPLAY

public static final int INVALID_DISPLAY

Valor constante: -1 (0xffffffff)

Constructores públicos

VisibleBackgroundUserPreparer

public VisibleBackgroundUserPreparer ()

Métodos públicos

obtenerDisplayId

public Integer getDisplayId ()

Devoluciones
Integer

establecerDisplayId

public void setDisplayId (int displayId)

Parámetros
displayId int

configuración

public void setUp (TestInformation testInfo)

Parámetros
testInfo TestInformation

Lanza
BuildError
DeviceNotAvailableException
TargetSetupError

demoler

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parámetros
testInfo TestInformation

e Throwable

Lanza
DeviceNotAvailableException