VisibleBackgroundUserPreparer
public
class
VisibleBackgroundUserPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.VisibleBackgroundUserPreparer |
Preparador de destino para executar testes em um usuário iniciado no visível em segundo plano.
Resumo
Constantes | |
---|---|
int |
DEFAULT_DISPLAY
|
int |
INVALID_DISPLAY
|
Construtores públicos | |
---|---|
VisibleBackgroundUserPreparer()
|
Métodos públicos | |
---|---|
Integer
|
getDisplayId()
|
void
|
setDisplayId(int displayId)
|
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
Constantes
TELA PADRÃO
public static final int DEFAULT_DISPLAY
Valor da constante: 0 (0x00000000)
INVALID_DISPLAY
public static final int INVALID_DISPLAY
Valor da constante: -1 (0xffffffff)
Construtores públicos
VisibleBackgroundUserPreparer
public VisibleBackgroundUserPreparer ()
Métodos públicos
getDisplayId
public Integer getDisplayId ()
Retorna | |
---|---|
Integer |
setDisplayId
public void setDisplayId (int displayId)
Parâmetros | |
---|---|
displayId |
int |
setUp
public void setUp (TestInformation testInfo)
Parâmetros | |
---|---|
testInfo |
TestInformation |
Gera | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
desmontar
public void tearDown (TestInformation testInfo, Throwable e)
Parâmetros | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
Gera | |
---|---|
DeviceNotAvailableException |