RemoteAvdIDevice

public class RemoteAvdIDevice
extends StubDevice implements IConfigurableVirtualDevice

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


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

Summary

Fields

protected Integer mDeviceNumOffset

protected String mUser

Public constructors

RemoteAvdIDevice(String serial)
RemoteAvdIDevice(String serial, String knownDeviceIp)
RemoteAvdIDevice(String serial, String knownDeviceIp, String user, Integer 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.

String getKnownUser()

Returns the known user if available, returns null if no known user.

Fields

mDeviceNumOffset

protected Integer mDeviceNumOffset

mUser

protected String mUser

Public constructors

RemoteAvdIDevice

public RemoteAvdIDevice (String serial)

Parameters
serial String: placeholder for the real serial

RemoteAvdIDevice

public RemoteAvdIDevice (String serial, 
                String knownDeviceIp)

Parameters
serial String

knownDeviceIp String

RemoteAvdIDevice

public RemoteAvdIDevice (String serial, 
                String knownDeviceIp, 
                String user, 
                Integer offset)

Parameters
serial String

knownDeviceIp String

user String

offset Integer

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

getKnownUser

public String getKnownUser ()

Returns the known user if available, returns null if no known user.

Returns
String