IManagedTestDeviceFactory

public interface IManagedTestDeviceFactory

com.android.tradefed.device.IManagedTestDeviceFactory


Giao diện nhà sáng tạo cho IManagedTestDevice

Tóm tắt

Phương thức công khai

abstract IManagedTestDevice createDevice(IDevice stubDevice)

Tạo một IManagedTestDevice dựa trên IDevice được truyền vào.

abstract IManagedTestDevice createRequestedDevice(IDevice idevice, IDeviceSelection options)

Tạo một thiết bị cụ thể khớp với thông số kỹ thuật

abstract void setFastbootEnabled(boolean enable)

Bật hoặc không bật tính năng hỗ trợ khởi động nhanh cho thiết bị đã tạo.

Phương thức công khai

createDevice

public abstract IManagedTestDevice createDevice (IDevice stubDevice)

Tạo một IManagedTestDevice dựa trên IDevice được truyền vào.

Tham số
stubDevice IDevice: sẽ xác định loại thiết bị được tạo

Giá trị trả về
IManagedTestDevice IManagedTestDevice được tạo dựa trên IDevice

createRequestedDevice

public abstract IManagedTestDevice createRequestedDevice (IDevice idevice, 
                IDeviceSelection options)

Tạo một thiết bị cụ thể khớp với thông số kỹ thuật

Tham số
idevice IDevice

options IDeviceSelection

Giá trị trả về
IManagedTestDevice

setFastbootEnabled

public abstract void setFastbootEnabled (boolean enable)

Bật hoặc không bật tính năng hỗ trợ khởi động nhanh cho thiết bị đã tạo.

Tham số
enable boolean: giá trị đặt tính năng hỗ trợ.