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 static final DeviceSelectionOptions.DeviceRequestedType NULL_DEVICE

不需要分配設備的佔位符。

遠程設備

public static final DeviceSelectionOptions.DeviceRequestedType REMOTE_DEVICE

在虛擬化環境中為遠程設備使用佔位符。

TCP_設備

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[]