IManagedTestDeviceFactory

public interface IManagedTestDeviceFactory

com.android.tradefed.device.IManagedTestDeviceFactory


Creator interface for IManagedTestDevices

Summary

Public methods

abstract IManagedTestDevice createDevice(IDevice stubDevice)

Create a IManagedTestDevice based on the IDevice passed to it.

abstract void setFastbootEnabled(boolean enable)

Enable or not fastboot support for the device created.

Public methods

createDevice

public abstract IManagedTestDevice createDevice (IDevice stubDevice)

Create a IManagedTestDevice based on the IDevice passed to it.

Parameters
stubDevice IDevice: that will define the type of device created

Returns
IManagedTestDevice a IManagedTestDevice created base on the IDevice

setFastbootEnabled

public abstract void setFastbootEnabled (boolean enable)

Enable or not fastboot support for the device created.

Parameters
enable boolean: value set the support.