自由設備狀態

public final enum FreeDeviceState
extends Enum< FreeDeviceState >

java.lang.Object
java.lang.Enum< com.android.tradefed.device.FreeDeviceState >
com.android.tradefed.device.FreeDeviceState


概括

枚舉值

FreeDeviceState AVAILABLE

設備有響應,可以返回可用設備隊列

FreeDeviceState IGNORE

設備應該被忽略,並且不會返回到可用設備隊列。

FreeDeviceState UNAVAILABLE

設備不可用於測試,不應返回到可用設備隊列。

FreeDeviceState UNRESPONSIVE

設備在 adb 上可見,但沒有響應。

公共方法

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

枚舉值

可用的

public static final FreeDeviceState AVAILABLE

設備有響應,可以返回可用設備隊列

忽略

public static final FreeDeviceState IGNORE

設備應該被忽略,並且不會返回到可用設備隊列。

不可用

public static final FreeDeviceState UNAVAILABLE

設備不可用於測試,不應返回到可用設備隊列。通常這意味著設備通過 adb 不可見,但不一定。

反應遲鈍

public static final FreeDeviceState UNRESPONSIVE

設備在 adb 上可見,但沒有響應。根據配置,此設備可能會返回到可用隊列。

公共方法

的價值

public static FreeDeviceState valueOf (String name)

參數
name String

退貨
FreeDeviceState

價值觀

public static final FreeDeviceState[] values ()

退貨
FreeDeviceState[]