DeviceSelectionOptions.DeviceRequestedType

public static final enum DeviceSelectionOptions.DeviceRequestedType
extends Enum< DeviceSelectionOptions.DeviceRequestedType >

java.lang.Object
java.lang.Enum< com.android.tradefed.device.DeviceSelectionOptions.DeviceRequestedType >
com.android.tradefed.device.DeviceSelectionOptions.DeviceRequestedType


支持的不同可能类型的占位符设备。

概括

枚举值

DeviceSelectionOptions.DeviceRequestedType EXISTING_DEVICE

已启动的真实物理或虚拟设备,而不是占位符类型。

DeviceSelectionOptions.DeviceRequestedType GCE_DEVICE

使用嵌套在虚拟化环境中的远程设备的占位符。

DeviceSelectionOptions.DeviceRequestedType LOCAL_EMULATOR

分配本地运行的模拟器进行测试。

DeviceSelectionOptions.DeviceRequestedType LOCAL_VIRTUAL_DEVICE

分配在本地主机上运行的虚拟设备。

DeviceSelectionOptions.DeviceRequestedType NULL_DEVICE

不需要分配任何设备的占位符。

DeviceSelectionOptions.DeviceRequestedType REMOTE_DEVICE

在虚拟化环境中使用远程设备的占位符。

DeviceSelectionOptions.DeviceRequestedType TCP_DEVICE

使用占位符表示稍后将连接的远程设备。

公共方法

Class<?> getRequiredClass ()
static DeviceSelectionOptions.DeviceRequestedType valueOf (String name)
static final DeviceRequestedType[] values ()

枚举值

现有_设备

public static final DeviceSelectionOptions.DeviceRequestedType EXISTING_DEVICE

已启动的真实物理或虚拟设备,而不是占位符类型。

GCE_DEVICE

public static final DeviceSelectionOptions.DeviceRequestedType GCE_DEVICE

使用嵌套在虚拟化环境中的远程设备的占位符。

本地模拟器

public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_EMULATOR

分配本地运行的模拟器进行测试。

本地虚拟设备

public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_VIRTUAL_DEVICE

分配在本地主机上运行的虚拟设备。

NULL_DEVICE

public static final DeviceSelectionOptions.DeviceRequestedType NULL_DEVICE

不需要分配任何设备的占位符。

远程设备

public static final DeviceSelectionOptions.DeviceRequestedType REMOTE_DEVICE

在虚拟化环境中使用远程设备的占位符。

TCP_DEVICE

public static final DeviceSelectionOptions.DeviceRequestedType TCP_DEVICE

使用占位符表示稍后将连接的远程设备。

公共方法

获取所需类

public Class<?> getRequiredClass ()

退货
Class<?>

的价值

public static DeviceSelectionOptions.DeviceRequestedType valueOf (String name)

参数
name String

退货
DeviceSelectionOptions.DeviceRequestedType

价值观

public static final DeviceRequestedType[] values ()

退货
DeviceRequestedType[]