裝置錯誤識別碼

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


裝置錯誤和裝置回報錯誤的錯誤 ID。

摘要

列舉值

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

 

公用方法

long code()

用於識別錯誤的專屬代碼。

TestRecordProto.FailureStatus status()

與 ID 相關聯的失敗狀態,此狀態應與 FailureDescription 一。

static DeviceErrorIdentifier valueOf(String name)
static final DeviceErrorIdentifier[] values()

列舉值

AAPT_PARSER_FAILED

public static final DeviceErrorIdentifier AAPT_PARSER_FAILED

ADB_DISCONNECT

public static final DeviceErrorIdentifier ADB_DISCONNECT

APEX_ROLLBACK_FAILED

public static final DeviceErrorIdentifier APEX_ROLLBACK_FAILED

APK_INSTALLATION_FAILED

public static final DeviceErrorIdentifier APK_INSTALLATION_FAILED

裝置動作執行失敗

public static final DeviceErrorIdentifier DEVICE_ACTION_EXECUTION_FAILURE

裝置當機

public static final DeviceErrorIdentifier DEVICE_CRASHED

DEVICE_FAILED_BLUETOOTH_PAIRING

public static final DeviceErrorIdentifier DEVICE_FAILED_BLUETOOTH_PAIRING

DEVICE_FAILED_TO_REMOUNT

public static final DeviceErrorIdentifier DEVICE_FAILED_TO_REMOUNT

裝置失敗數:FAILED_TO_RESET

public static final DeviceErrorIdentifier DEVICE_FAILED_TO_RESET

裝置失敗數:FAILED_TO_RESTORE_SNAPSHOT

public static final DeviceErrorIdentifier DEVICE_FAILED_TO_RESTORE_SNAPSHOT

裝置失敗數:FAILED_TO_RESUME

public static final DeviceErrorIdentifier DEVICE_FAILED_TO_RESUME

裝置失敗數:FAILED_TO_SNAPSHOT

public static final DeviceErrorIdentifier DEVICE_FAILED_TO_SNAPSHOT

DEVICE_FAILED_TO_STOP

public static final DeviceErrorIdentifier DEVICE_FAILED_TO_STOP

DEVICE_FAILED_TO_SUSPEND

public static final DeviceErrorIdentifier DEVICE_FAILED_TO_SUSPEND

裝置無法使用

public static final DeviceErrorIdentifier DEVICE_UNAVAILABLE

裝置_UNEXPECTED_Response

public static final DeviceErrorIdentifier DEVICE_UNEXPECTED_RESPONSE

裝置_解除

public static final DeviceErrorIdentifier DEVICE_UNRESPONSIVE

錯誤_AFTER_FLASHING

public static final DeviceErrorIdentifier ERROR_AFTER_FLASHING

FAILED_TO_CONNECT_TO_GCE

public static final DeviceErrorIdentifier FAILED_TO_CONNECT_TO_GCE

FAILED_TO_CONNECT_TO_TCP_DEVICE

public static final DeviceErrorIdentifier FAILED_TO_CONNECT_TO_TCP_DEVICE

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

FAIL_PUSH_FILE

public static final DeviceErrorIdentifier FAIL_PUSH_FILE

當機

public static final DeviceErrorIdentifier INSTRUMENTATION_CRASH

INSTRUMENTATION_LOWMEMORYKILLER

public static final DeviceErrorIdentifier INSTRUMENTATION_LOWMEMORYKILLER

KERNEL_MODULE_INSTALLATION_失敗

public static final DeviceErrorIdentifier KERNEL_MODULE_INSTALLATION_FAILED

主目錄

public static final DeviceErrorIdentifier MAINLINE_MODULE_ROLLBACK_DETECTED

SHELL_COMMAND_ERROR

public static final DeviceErrorIdentifier SHELL_COMMAND_ERROR

無回應

public static final DeviceErrorIdentifier UNEXPECTED_REBOOT

公用方法

程式碼

public long code ()

用於識別錯誤的專屬代碼。

傳回
long

status

public TestRecordProto.FailureStatus status ()

與 ID 相關聯的失敗狀態,此狀態應與 FailureDescription 一。

傳回
TestRecordProto.FailureStatus

public static DeviceErrorIdentifier valueOf (String name)

參數
name String

傳回
DeviceErrorIdentifier

public static final DeviceErrorIdentifier[] values ()

傳回
DeviceErrorIdentifier[]