Identyfikator błędu urządzenia
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 |
Identyfikatory błędów z błędów urządzenia i błędów zgłaszanych przez urządzenie.
Streszczenie
Wartości wyliczeniowe | |
---|---|
DeviceErrorIdentifier | AAPT_PARSER_FAILED |
DeviceErrorIdentifier | ADB_DISCONNECT |
DeviceErrorIdentifier | APEX_ROLLBACK_FAILED |
DeviceErrorIdentifier | APK_INSTALLATION_FAILED |
DeviceErrorIdentifier | DEVICE_CRASHED |
DeviceErrorIdentifier | DEVICE_FAILED_BLUETOOTH_PAIRING |
DeviceErrorIdentifier | DEVICE_FAILED_TO_REMOUNT |
DeviceErrorIdentifier | DEVICE_FAILED_TO_RESET |
DeviceErrorIdentifier | DEVICE_UNAVAILABLE |
DeviceErrorIdentifier | DEVICE_UNEXPECTED_RESPONSE |
DeviceErrorIdentifier | DEVICE_UNRESPONSIVE |
DeviceErrorIdentifier | ERROR_AFTER_FLASHING |
DeviceErrorIdentifier | FAILED_TO_CONNECT_TO_GCE |
DeviceErrorIdentifier | FAILED_TO_LAUNCH_GCE |
DeviceErrorIdentifier | FAIL_ACTIVATE_APEX |
DeviceErrorIdentifier | FAIL_PULL_FILE |
DeviceErrorIdentifier | FAIL_PUSH_FILE |
DeviceErrorIdentifier | INSTRUMENTATION_CRASH |
DeviceErrorIdentifier | SHELL_COMMAND_ERROR |
DeviceErrorIdentifier | UNEXPECTED_REBOOT
|
Metody publiczne | |
---|---|
long | code () Unikalny kod identyfikujący błąd. |
TestRecordProto.FailureStatus | status () Stan niepowodzenia skojarzony z identyfikatorem, oczekuje się, że ten stan będzie wyrównany z FailureDescription. |
static DeviceErrorIdentifier | valueOf (String name) |
static final DeviceErrorIdentifier[] | values () |
Wartości wyliczeniowe
AAPT_PARSER_FAILED
public static final DeviceErrorIdentifier AAPT_PARSER_FAILED
ADB_DISCONNECT
public static final DeviceErrorIdentifier ADB_DISCONNECT
APK_INSTALLATION_FAILED
public static final DeviceErrorIdentifier APK_INSTALLATION_FAILED
DEVICE_FAILED_BLUETOOTH_PAIRING
public static final DeviceErrorIdentifier DEVICE_FAILED_BLUETOOTH_PAIRING
DEVICE_FAILED_TO_RESET
public static final DeviceErrorIdentifier DEVICE_FAILED_TO_RESET
DEVICE_UNEXPECTED_RESPONSE
public static final DeviceErrorIdentifier DEVICE_UNEXPECTED_RESPONSE
DEVICE_UNRESPONSIVE
public static final DeviceErrorIdentifier DEVICE_UNRESPONSIVE
FAILED_TO_LAUNCH_GCE
public static final DeviceErrorIdentifier FAILED_TO_LAUNCH_GCE
FAIL_ACTIVATE_APEX
public static final DeviceErrorIdentifier FAIL_ACTIVATE_APEX
FAIL_PULL_FILE
public static final DeviceErrorIdentifier FAIL_PULL_FILE
INSTRUMENTATION_CRASH
public static final DeviceErrorIdentifier INSTRUMENTATION_CRASH
SHELL_COMMAND_ERROR
public static final DeviceErrorIdentifier SHELL_COMMAND_ERROR
Metody publiczne
kod
public long code ()
Unikalny kod identyfikujący błąd.
Zwroty | |
---|---|
long |
status
public TestRecordProto.FailureStatus status ()
Stan niepowodzenia skojarzony z identyfikatorem, oczekuje się, że ten stan będzie wyrównany z FailureDescription.
Zwroty | |
---|---|
TestRecordProto.FailureStatus |
wartość
public static DeviceErrorIdentifier valueOf (String name)
Parametry | |
---|---|
name | String |
Zwroty | |
---|---|
DeviceErrorIdentifier |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Brak potrzebnych mi informacji"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Zbyt skomplikowane / zbyt wiele czynności do wykonania"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Nieaktualne treści"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problem z tłumaczeniem"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problem z przykładami/kodem"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Inne"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Łatwo zrozumieć"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Rozwiązało to mój problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Inne"
}]