StubLocalAndroidVirtualDevice

public class StubLocalAndroidVirtualDevice
extends StubDevice implements IConfigurableVirtualDevice

java.lang.Object
   ↳ com.android.tradefed.device.StubDevice
     ↳ com.android.tradefed.device.StubLocalAndroidVirtualDevice


A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.localVirtualDeviceRequested() is true

Summary

Public constructors

StubLocalAndroidVirtualDevice(String serial)
StubLocalAndroidVirtualDevice(String serial, String knownDeviceIp)
StubLocalAndroidVirtualDevice(String serial, int offset)

Public methods

Integer getDeviceNumOffset()

Returns the known device num offset if available, returns null if device num offset not set.

String getKnownDeviceIp()

Returns the known associated IP if available, returns null if no known ip.

Public constructors

StubLocalAndroidVirtualDevice

public StubLocalAndroidVirtualDevice (String serial)

Parameters
serial String

StubLocalAndroidVirtualDevice

public StubLocalAndroidVirtualDevice (String serial, 
                String knownDeviceIp)

Parameters
serial String

knownDeviceIp String

StubLocalAndroidVirtualDevice

public StubLocalAndroidVirtualDevice (String serial, 
                int offset)

Parameters
serial String

offset int

Public methods

getDeviceNumOffset

public Integer getDeviceNumOffset ()

Returns the known device num offset if available, returns null if device num offset not set.

Returns
Integer

getKnownDeviceIp

public String getKnownDeviceIp ()

Returns the known associated IP if available, returns null if no known ip.

Returns
String