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

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

公共方法

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

枚举值

EXISTING_DEVICE

public static final DeviceSelectionOptions.DeviceRequestedType EXISTING_DEVICE

已经启动的真实实体设备或虚拟设备,而非占位符类型。

GCE_设备

public static final DeviceSelectionOptions.DeviceRequestedType GCE_DEVICE

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

LOCAL_EMULATOR

public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_EMULATOR

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

LOCAL_VIRTUAL_DEVICE

public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_VIRTUAL_DEVICE

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

NULL_设备

public static final DeviceSelectionOptions.DeviceRequestedType NULL_DEVICE

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

远程设备

public static final DeviceSelectionOptions.DeviceRequestedType REMOTE_DEVICE

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

公共方法

getRequiredClass

public Class<?> getRequiredClass ()

返回
Class<?>

valueOf

public static DeviceSelectionOptions.DeviceRequestedType valueOf (String name)

参数
name String

返回
DeviceSelectionOptions.DeviceRequestedType

values

public static final DeviceRequestedType[] values ()

返回
DeviceRequestedType[]