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_设备
public static final DeviceSelectionOptions.DeviceRequestedType GCE_DEVICE
为嵌套在虚拟化环境中的远程设备使用占位符。
LOCAL_EMULATOR
public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_EMULATOR
分配一个本地运行的模拟器进行测试。
本地_虚拟_设备
public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_VIRTUAL_DEVICE
分配在本地主机上运行的虚拟设备。
公共方法
获取必需类
public Class<?> getRequiredClass ()
退货 | |
---|---|
Class<?> |
的价值
public static DeviceSelectionOptions.DeviceRequestedType valueOf (String name)
参数 | |
---|---|
name | String |
退货 | |
---|---|
DeviceSelectionOptions.DeviceRequestedType |
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-04-28。
[]
[]