RemoteAvdIDevice

public class RemoteAvdIDevice
extends StubDevice implements IConfigurableVirtualDevice, ITemporaryDevice

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


عنصر نائب IDevice تستخدمه DeviceManager لتحديد وقت DeviceSelectionOptions.gceDeviceRequested() عندما تكون الحالة true

ملخّص

الحقول

protected Integer mDeviceNumOffset

protected String mUser

الإنشاءات العامة

RemoteAvdIDevice(String serial)
RemoteAvdIDevice(String serial, String knownDeviceIp)
RemoteAvdIDevice(String serial, String knownDeviceIp, boolean isTemporary)
RemoteAvdIDevice(String serial, String knownDeviceIp, String user, Integer offset)

الطُرق العامة

Integer getDeviceNumOffset()

تعرِض هذه السمة إزاحة رقم الجهاز المعروف إذا كانت متاحة، وتعرض قيمة فارغة إذا لم يتم ضبط إزاحة رقم الجهاز.

String getKnownDeviceIp()

تعرِض هذه السمة عنوان IP المرتبط المعروف إذا كان متاحًا، وتعرض قيمة فارغة إذا لم يكن هناك عنوان IP معروف.

String getKnownUser()

تعرِض هذه السمة المستخدم المعروف إذا كان متاحًا، وتعرض قيمة فارغة إذا لم يكن هناك مستخدم معروف.

boolean isTemporary()

الحقول

mDeviceNumOffset

protected Integer mDeviceNumOffset

mUser

protected String mUser

الإنشاءات العامة

RemoteAvdIDevice

public RemoteAvdIDevice (String serial)

المعلمات
serial String: عنصر نائب عن الرقم التسلسلي الفعلي

RemoteAvdIDevice

public RemoteAvdIDevice (String serial, 
                String knownDeviceIp)

المعلمات
serial String

knownDeviceIp String

RemoteAvdIDevice

public RemoteAvdIDevice (String serial, 
                String knownDeviceIp, 
                boolean isTemporary)

المعلمات
serial String

knownDeviceIp String

isTemporary boolean

RemoteAvdIDevice

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

المعلمات
serial String

knownDeviceIp String

user String

offset Integer

الطُرق العامة

getDeviceNumOffset

public Integer getDeviceNumOffset ()

تعرِض هذه السمة إزاحة رقم الجهاز المعروف إذا كانت متاحة، وتعرض قيمة فارغة إذا لم يتم ضبط إزاحة رقم الجهاز.

المرتجعات
Integer

getKnownDeviceIp

public String getKnownDeviceIp ()

تعرِض هذه السمة عنوان IP المرتبط المعروف إذا كان متاحًا، وتعرض قيمة فارغة إذا لم يكن هناك عنوان IP معروف.

المرتجعات
String

getKnownUser

public String getKnownUser ()

تعرِض هذه السمة المستخدم المعروف إذا كان متاحًا، وتعرض قيمة فارغة إذا لم يكن هناك مستخدم معروف.

المرتجعات
String

isTemporary

public boolean isTemporary ()

المرتجعات
boolean