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 |
The different possible types of placeholder devices supported.
Summary
Enum values | |
---|---|
DeviceSelectionOptions.DeviceRequestedType |
GCE_DEVICE
Use a placeholder for a remote device nested in a virtualized environment. |
DeviceSelectionOptions.DeviceRequestedType |
LOCAL_EMULATOR
Allocate an emulator running locally for the test. |
DeviceSelectionOptions.DeviceRequestedType |
LOCAL_VIRTUAL_DEVICE
Allocate a virtual device running on localhost. |
DeviceSelectionOptions.DeviceRequestedType |
NULL_DEVICE
A placeholder where no device is required to be allocated. |
DeviceSelectionOptions.DeviceRequestedType |
REMOTE_DEVICE
Use a placeholder for a remote device in virtualized environment. |
DeviceSelectionOptions.DeviceRequestedType |
TCP_DEVICE
Use a placeholder for a remote device that will be connected later. |
Public methods | |
---|---|
Class<?>
|
getRequiredClass()
|
static
DeviceSelectionOptions.DeviceRequestedType
|
valueOf(String name)
|
static
final
DeviceRequestedType[]
|
values()
|
Enum values
GCE_DEVICE
public static final DeviceSelectionOptions.DeviceRequestedType GCE_DEVICE
Use a placeholder for a remote device nested in a virtualized environment.
LOCAL_EMULATOR
public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_EMULATOR
Allocate an emulator running locally for the test.
LOCAL_VIRTUAL_DEVICE
public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_VIRTUAL_DEVICE
Allocate a virtual device running on localhost.
NULL_DEVICE
public static final DeviceSelectionOptions.DeviceRequestedType NULL_DEVICE
A placeholder where no device is required to be allocated.
REMOTE_DEVICE
public static final DeviceSelectionOptions.DeviceRequestedType REMOTE_DEVICE
Use a placeholder for a remote device in virtualized environment.
TCP_DEVICE
public static final DeviceSelectionOptions.DeviceRequestedType TCP_DEVICE
Use a placeholder for a remote device that will be connected later.
Public methods
getRequiredClass
public Class<?> getRequiredClass ()
Returns | |
---|---|
Class<?> |
valueOf
public static DeviceSelectionOptions.DeviceRequestedType valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
DeviceSelectionOptions.DeviceRequestedType |
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2020-09-08 UTC.