وصف الجهاز
public class DeviceDescriptor
extends Object
java.lang.Object |
↳ | com.android.tradefed.command.remote.DeviceDescriptor |
فئة تحتوي على معلومات تصف جهازًا قيد الاختبار.
ملخص
المقاولين العامة |
---|
DeviceDescriptor () |
DeviceDescriptor (String serial, boolean isStubDevice, DeviceAllocationState state, String product, String productVariant, String sdkVersion, String buildId, String batteryLevel) |
DeviceDescriptor (String serial, boolean isStubDevice, DeviceAllocationState state, String product, String productVariant, String sdkVersion, String buildId, String batteryLevel, String deviceClass, String macAddress, String simState, String simOperator) |
DeviceDescriptor (String serial, boolean isStubDevice, DeviceAllocationState state, String product, String productVariant, String sdkVersion, String buildId, String batteryLevel, String deviceClass, String macAddress, String simState, String simOperator, IDevice idevice) |
DeviceDescriptor (String serial, boolean isStubDevice, IDevice.DeviceState deviceState, DeviceAllocationState state, String product, String productVariant, String sdkVersion, String buildId, String batteryLevel, String deviceClass, String macAddress, String simState, String simOperator, IDevice idevice) |
DeviceDescriptor (String serial, String displaySerial, boolean isStubDevice, IDevice.DeviceState deviceState, DeviceAllocationState state, TestDeviceState testDeviceState, String product, String productVariant, String sdkVersion, String buildId, String hardwareRevision, String batteryLevel, String deviceClass, String macAddress, String simState, String simOperator, boolean isTemporary, String preconfiguredIp, Integer preconfiguredDeviceNumOffset, IDevice idevice) |
DeviceDescriptor ( DeviceDescriptor d, DeviceAllocationState state) يستخدم لتحديث الحالة بسهولة في ClusterDeviceMonitor. |
DeviceDescriptor ( DeviceDescriptor d, String serial, String displaySerial) يُستخدم لتحديث حالة المسلسل بسهولة للأجهزة النائبة. |
DeviceDescriptor ( DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset) |
المقاولين العامة
وصف الجهاز
public DeviceDescriptor ()
وصف الجهاز
public DeviceDescriptor (String serial,
boolean isStubDevice,
DeviceAllocationState state,
String product,
String productVariant,
String sdkVersion,
String buildId,
String batteryLevel)
حدود |
---|
serial | String |
isStubDevice | boolean |
state | DeviceAllocationState |
product | String |
productVariant | String |
sdkVersion | String |
buildId | String |
batteryLevel | String |
وصف الجهاز
public DeviceDescriptor (String serial,
boolean isStubDevice,
DeviceAllocationState state,
String product,
String productVariant,
String sdkVersion,
String buildId,
String batteryLevel,
String deviceClass,
String macAddress,
String simState,
String simOperator)
حدود |
---|
serial | String |
isStubDevice | boolean |
state | DeviceAllocationState |
product | String |
productVariant | String |
sdkVersion | String |
buildId | String |
batteryLevel | String |
deviceClass | String |
macAddress | String |
simState | String |
simOperator | String |
وصف الجهاز
public DeviceDescriptor (String serial,
boolean isStubDevice,
DeviceAllocationState state,
String product,
String productVariant,
String sdkVersion,
String buildId,
String batteryLevel,
String deviceClass,
String macAddress,
String simState,
String simOperator,
IDevice idevice)
حدود |
---|
serial | String |
isStubDevice | boolean |
state | DeviceAllocationState |
product | String |
productVariant | String |
sdkVersion | String |
buildId | String |
batteryLevel | String |
deviceClass | String |
macAddress | String |
simState | String |
simOperator | String |
idevice | IDevice |
وصف الجهاز
public DeviceDescriptor (String serial,
boolean isStubDevice,
IDevice.DeviceState deviceState,
DeviceAllocationState state,
String product,
String productVariant,
String sdkVersion,
String buildId,
String batteryLevel,
String deviceClass,
String macAddress,
String simState,
String simOperator,
IDevice idevice)
حدود |
---|
serial | String |
isStubDevice | boolean |
deviceState | IDevice.DeviceState |
state | DeviceAllocationState |
product | String |
productVariant | String |
sdkVersion | String |
buildId | String |
batteryLevel | String |
deviceClass | String |
macAddress | String |
simState | String |
simOperator | String |
idevice | IDevice |
وصف الجهاز
public DeviceDescriptor (String serial,
String displaySerial,
boolean isStubDevice,
IDevice.DeviceState deviceState,
DeviceAllocationState state,
TestDeviceState testDeviceState,
String product,
String productVariant,
String sdkVersion,
String buildId,
String hardwareRevision,
String batteryLevel,
String deviceClass,
String macAddress,
String simState,
String simOperator,
boolean isTemporary,
String preconfiguredIp,
Integer preconfiguredDeviceNumOffset,
IDevice idevice)
حدود |
---|
serial | String |
displaySerial | String |
isStubDevice | boolean |
deviceState | IDevice.DeviceState |
state | DeviceAllocationState |
testDeviceState | TestDeviceState |
product | String |
productVariant | String |
sdkVersion | String |
buildId | String |
hardwareRevision | String |
batteryLevel | String |
deviceClass | String |
macAddress | String |
simState | String |
simOperator | String |
isTemporary | boolean |
preconfiguredIp | String |
preconfiguredDeviceNumOffset | Integer |
idevice | IDevice |
وصف الجهاز
public DeviceDescriptor (DeviceDescriptor d,
DeviceAllocationState state)
يستخدم لتحديث الحالة بسهولة في ClusterDeviceMonitor.
حدود |
---|
d | DeviceDescriptor |
state | DeviceAllocationState |
وصف الجهاز
public DeviceDescriptor (DeviceDescriptor d,
String serial,
String displaySerial)
يُستخدم لتحديث حالة المسلسل بسهولة للأجهزة النائبة.
حدود |
---|
d | DeviceDescriptor |
serial | String |
displaySerial | String |
وصف الجهاز
public DeviceDescriptor (DeviceDescriptor d,
String preconfiguredIp,
Integer preconfiguredDeviceNumOffset)
حدود |
---|
d | DeviceDescriptor |
preconfiguredIp | String |
preconfiguredDeviceNumOffset | Integer |
الأساليب العامة
getBatteryLevel
public String getBatteryLevel ()
getBuildId
public String getBuildId ()
getDeviceClass
public String getDeviceClass ()
getDeviceState
public IDevice.DeviceState getDeviceState ()
عائدات |
---|
IDevice.DeviceState | |
getDisplaySerial
public String getDisplaySerial ()
getHardwareRevision
public String getHardwareRevision ()
getMacAddress
public String getMacAddress ()
public Integer getPreconfiguredDeviceNumOffset ()
public String getPreconfiguredIp ()
getProduct
public String getProduct ()
getProductVariant
public String getProductVariant ()
getProperty
public String getProperty (String name)
getSdkVersion
public String getSdkVersion ()
getSerial
public String getSerial ()
getSimOperator
public String getSimOperator ()
getSimState
public String getSimState ()
com.isStubDevice
public boolean isStubDevice ()
isTemporary
public boolean isTemporary ()
إرجاع ما إذا كان سيتم حذف الجهاز في نهاية الاستدعاء أم لا.
إلى سلسلة
public String toString ()
يوفر وصفًا بالمسلسلات والمنتج ومعرف البناء