DeviceErrorIdentifier
public
final
enum
DeviceErrorIdentifier
extends Enum<DeviceErrorIdentifier>
implements
ErrorIdentifier
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.result.error.DeviceErrorIdentifier> | |
↳ | com.android.tradefed.result.error.DeviceErrorIdentifier |
Identificadores de erros dos erros do dispositivo e dos erros informados pelo dispositivo.
Resumo
Valores de enumeração | |
---|---|
DeviceErrorIdentifier |
AAPT_PARSER_FAILED
|
DeviceErrorIdentifier |
ADB_DISCONNECT
|
DeviceErrorIdentifier |
APEX_ROLLBACK_FAILED
|
DeviceErrorIdentifier |
APK_INSTALLATION_FAILED
|
DeviceErrorIdentifier |
DEVICE_ACTION_EXECUTION_FAILURE
|
DeviceErrorIdentifier |
DEVICE_CRASHED
|
DeviceErrorIdentifier |
DEVICE_FAILED_BLUETOOTH_PAIRING
|
DeviceErrorIdentifier |
DEVICE_FAILED_TO_REMOUNT
|
DeviceErrorIdentifier |
DEVICE_FAILED_TO_RESET
|
DeviceErrorIdentifier |
DEVICE_FAILED_TO_RESTORE_SNAPSHOT
|
DeviceErrorIdentifier |
DEVICE_FAILED_TO_RESUME
|
DeviceErrorIdentifier |
DEVICE_FAILED_TO_SNAPSHOT
|
DeviceErrorIdentifier |
DEVICE_FAILED_TO_STOP
|
DeviceErrorIdentifier |
DEVICE_FAILED_TO_SUSPEND
|
DeviceErrorIdentifier |
DEVICE_UNAVAILABLE
|
DeviceErrorIdentifier |
DEVICE_UNEXPECTED_RESPONSE
|
DeviceErrorIdentifier |
DEVICE_UNRESPONSIVE
|
DeviceErrorIdentifier |
ERROR_AFTER_FLASHING
|
DeviceErrorIdentifier |
FAILED_TO_CONNECT_TO_GCE
|
DeviceErrorIdentifier |
FAILED_TO_CONNECT_TO_TCP_DEVICE
|
DeviceErrorIdentifier |
FAILED_TO_LAUNCH_GCE
|
DeviceErrorIdentifier |
FAIL_ACTIVATE_APEX
|
DeviceErrorIdentifier |
FAIL_PULL_FILE
|
DeviceErrorIdentifier |
FAIL_PUSH_FILE
|
DeviceErrorIdentifier |
INSTRUMENTATION_CRASH
|
DeviceErrorIdentifier |
INSTRUMENTATION_LOWMEMORYKILLER
|
DeviceErrorIdentifier |
KERNEL_MODULE_INSTALLATION_FAILED
|
DeviceErrorIdentifier |
MAINLINE_MODULE_ROLLBACK_DETECTED
|
DeviceErrorIdentifier |
SHELL_COMMAND_ERROR
|
DeviceErrorIdentifier |
UNEXPECTED_REBOOT
|
Métodos públicos | |
---|---|
long
|
code()
O código exclusivo que identifica o erro. |
TestRecordProto.FailureStatus
|
status()
O status de falha associado ao identificador. Espera-se que esse status esteja alinhado com o FailureDescription one. |
static
DeviceErrorIdentifier
|
valueOf(String name)
|
static
final
DeviceErrorIdentifier[]
|
values()
|
Valores de enumeração
FALHA DE EXECUÇÃO DE AÇÃO EM DISPOSITIVOS
public static final DeviceErrorIdentifier DEVICE_ACTION_EXECUTION_FAILURE
DEVICE_FAILED_BLUETOOTH_PAIRING
public static final DeviceErrorIdentifier DEVICE_FAILED_BLUETOOTH_PAIRING
FALHA NO DISPOSITIVO_PARA_REMOUNT
public static final DeviceErrorIdentifier DEVICE_FAILED_TO_REMOUNT
DEVICE_FAILED_TO_RESTORE_SNAPSHOT
public static final DeviceErrorIdentifier DEVICE_FAILED_TO_RESTORE_SNAPSHOT
FAILED_TO_CONNECT_TO_TCP_DEVICE
public static final DeviceErrorIdentifier FAILED_TO_CONNECT_TO_TCP_DEVICE
FALHA NA KERNEL_MODULE_INSTALAÇÃO
public static final DeviceErrorIdentifier KERNEL_MODULE_INSTALLATION_FAILED
MAINLINE_MODULE_ROLLBACK_DETECTED
public static final DeviceErrorIdentifier MAINLINE_MODULE_ROLLBACK_DETECTED
Métodos públicos
código
public long code ()
O código exclusivo que identifica o erro.
Retorna | |
---|---|
long |
status
public TestRecordProto.FailureStatus status ()
O status de falha associado ao identificador. Espera-se que esse status esteja alinhado com o FailureDescription one.
Retorna | |
---|---|
TestRecordProto.FailureStatus |
valorDe
public static DeviceErrorIdentifier valueOf (String name)
Parâmetros | |
---|---|
name |
String |
Retorna | |
---|---|
DeviceErrorIdentifier |