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 |
EXISTING_DEVICE
A real physical or virtual device already started, not a placeholder type. |
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. |
Public methods | |
---|---|
Class<?>
|
getRequiredClass()
|
static
DeviceSelectionOptions.DeviceRequestedType
|
valueOf(String name)
|
static
final
DeviceRequestedType[]
|
values()
|
Enum values
EXISTING_DEVICE
public static final DeviceSelectionOptions.DeviceRequestedType EXISTING_DEVICE
A real physical or virtual device already started, not a placeholder type.
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.
Public methods
getRequiredClass
public Class<?> getRequiredClass ()
Returns | |
---|---|
Class<?> |
valueOf
public static DeviceSelectionOptions.DeviceRequestedType valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
DeviceSelectionOptions.DeviceRequestedType |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-07-02 UTC.