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


Các loại thiết bị giữ chỗ được hỗ trợ.

Tóm tắt

Giá trị enum

DeviceSelectionOptions.DeviceRequestedType  EXISTING_DEVICE

Một thiết bị thực hoặc ảo thực sự đã khởi động, chứ không phải một loại phần giữ chỗ. 

DeviceSelectionOptions.DeviceRequestedType  GCE_DEVICE

Sử dụng phần giữ chỗ cho một thiết bị từ xa được lồng trong môi trường ảo. 

DeviceSelectionOptions.DeviceRequestedType  LOCAL_EMULATOR

Phân bổ một trình mô phỏng chạy cục bộ cho chương trình kiểm thử. 

DeviceSelectionOptions.DeviceRequestedType  LOCAL_VIRTUAL_DEVICE

Phân bổ một thiết bị ảo chạy trên localhost. 

DeviceSelectionOptions.DeviceRequestedType  NULL_DEVICE

Phần giữ chỗ không yêu cầu phân bổ thiết bị. 

DeviceSelectionOptions.DeviceRequestedType  REMOTE_DEVICE

Dùng phần giữ chỗ cho một thiết bị từ xa trong môi trường ảo. 

Phương thức công khai

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

Giá trị enum

HIỆN_THIẾT

public static final DeviceSelectionOptions.DeviceRequestedType EXISTING_DEVICE

Một thiết bị thực hoặc ảo thực sự đã khởi động, chứ không phải một loại phần giữ chỗ.

Thiết bị GCE

public static final DeviceSelectionOptions.DeviceRequestedType GCE_DEVICE

Sử dụng phần giữ chỗ cho một thiết bị từ xa được lồng trong môi trường ảo.

LOCAL_EMULATOR

public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_EMULATOR

Phân bổ một trình mô phỏng chạy cục bộ cho chương trình kiểm thử.

LOCAL_VIRTUAL_DEVICE

public static final DeviceSelectionOptions.DeviceRequestedType LOCAL_VIRTUAL_DEVICE

Phân bổ một thiết bị ảo chạy trên localhost.

THẬT_THƯ RƠI

public static final DeviceSelectionOptions.DeviceRequestedType NULL_DEVICE

Phần giữ chỗ không yêu cầu phân bổ thiết bị.

thiết bị từ xa

public static final DeviceSelectionOptions.DeviceRequestedType REMOTE_DEVICE

Dùng phần giữ chỗ cho một thiết bị từ xa trong môi trường ảo.

Phương thức công khai

lớp bắt buộc

public Class<?> getRequiredClass ()

Giá trị trả về
Class<?>

giá trị của

public static DeviceSelectionOptions.DeviceRequestedType valueOf (String name)

Tham số
name String

Giá trị trả về
DeviceSelectionOptions.DeviceRequestedType

giá trị

public static final DeviceRequestedType[] values ()

Giá trị trả về
DeviceRequestedType[]