RemoteAvdIDevice
public
class
RemoteAvdIDevice
extends StubDevice
implements
IConfigurableVirtualDevice
| java.lang.Object | ||
| ↳ | com.android.tradefed.device.StubDevice | |
| ↳ | com.android.tradefed.device.RemoteAvdIDevice | |
Un segnaposto IDevice utilizzato da DeviceManager per l'allocazione quando DeviceSelectionOptions.gceDeviceRequested() è true
Riepilogo
Campi | |
|---|---|
protected
Integer |
mDeviceNumOffset
|
protected
String |
mUser
|
Costruttori pubblici | |
|---|---|
RemoteAvdIDevice(String serial)
|
|
RemoteAvdIDevice(String serial, String knownDeviceIp)
|
|
RemoteAvdIDevice(String serial, String knownDeviceIp, String user, Integer offset)
|
|
Metodi pubblici | |
|---|---|
Integer
|
getDeviceNumOffset()
Restituisce l'offset del numero di dispositivo noto, se disponibile, o null se l'offset del numero di dispositivo non è impostato. |
String
|
getKnownDeviceIp()
Restituisce l'IP associato noto, se disponibile, o null se non è noto alcun IP. |
String
|
getKnownUser()
Restituisce l'utente noto, se disponibile, o null se non è presente alcun utente noto. |
Campi
mDeviceNumOffset
protected Integer mDeviceNumOffset
mUser
protected String mUser
Costruttori pubblici
RemoteAvdIDevice
public RemoteAvdIDevice (String serial)
| Parametri | |
|---|---|
serial |
String: segnaposto per il numero di serie reale |
RemoteAvdIDevice
public RemoteAvdIDevice (String serial,
String knownDeviceIp)| Parametri | |
|---|---|
serial |
String |
knownDeviceIp |
String |
RemoteAvdIDevice
public RemoteAvdIDevice (String serial,
String knownDeviceIp,
String user,
Integer offset)| Parametri | |
|---|---|
serial |
String |
knownDeviceIp |
String |
user |
String |
offset |
Integer |
Metodi pubblici
getDeviceNumOffset
public Integer getDeviceNumOffset ()
Restituisce l'offset del numero di dispositivo noto, se disponibile, o null se l'offset del numero di dispositivo non è impostato.
| Ritorni | |
|---|---|
Integer |
|
getKnownDeviceIp
public String getKnownDeviceIp ()
Restituisce l'IP associato noto, se disponibile, o null se non è noto alcun IP.
| Ritorni | |
|---|---|
String |
|
getKnownUser
public String getKnownUser ()
Restituisce l'utente noto, se disponibile, o null se non è presente alcun utente noto.
| Ritorni | |
|---|---|
String |
|