IManagedTestDeviceFactory
public
interface
IManagedTestDeviceFactory
| com.android.tradefed.device.IManagedTestDeviceFactory |
Creator interface for IManagedTestDevices
Summary
Public methods | |
|---|---|
abstract
IManagedTestDevice
|
createDevice(IDevice stubDevice)
Create a |
abstract
IManagedTestDevice
|
createRequestedDevice(IDevice idevice, IDeviceSelection options)
Specifically create a device matching the specification |
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 |
createRequestedDevice
public abstract IManagedTestDevice createRequestedDevice (IDevice idevice, IDeviceSelection options)
Specifically create a device matching the specification
| Parameters | |
|---|---|
idevice |
IDevice |
options |
IDeviceSelection |
| Returns | |
|---|---|
IManagedTestDevice |
|
setFastbootEnabled
public abstract void setFastbootEnabled (boolean enable)
Enable or not fastboot support for the device created.
| Parameters | |
|---|---|
enable |
boolean: value set the support. |