DeviceDescriptor (תיאור מכשיר)
public
class
DeviceDescriptor
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.command.remote.DeviceDescriptor
|
מחלקה שמכילה מידע שמתאר מכשיר בבדיקה.
סיכום
בנאים ציבוריים |
DeviceDescriptor()
|
DeviceDescriptor(DeviceDescriptor d, DeviceAllocationState state)
משמש לעדכון קל של המצב ב-ClusterDeviceMonitor.
|
DeviceDescriptor(DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset)
|
DeviceDescriptor(DeviceDescriptor d, String serial, String displaySerial)
משמש לעדכון קל של המצב של מספר סידורי במכשירי placeholder.
|
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, 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, 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 (תיאור מכשיר)
public DeviceDescriptor ()
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d,
DeviceAllocationState state)
משמש לעדכון קל של המצב ב-ClusterDeviceMonitor.
פרמטרים |
d |
DeviceDescriptor |
state |
DeviceAllocationState |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d,
String preconfiguredIp,
Integer preconfiguredDeviceNumOffset)
פרמטרים |
d |
DeviceDescriptor |
preconfiguredIp |
String |
preconfiguredDeviceNumOffset |
Integer |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d,
String serial,
String displaySerial)
משמש לעדכון מצב המספר הסידורי בקלות במכשירי placeholder.
פרמטרים |
d |
DeviceDescriptor |
serial |
String |
displaySerial |
String |
DeviceDescriptor
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 |
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 |
DeviceDescriptor
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 |
DeviceDescriptor
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 |
DeviceDescriptor
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 |
שיטות ציבוריות
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 ()
getסירי
public String getSerial ()
getSimOperator
public String getSimOperator ()
getSimState
public String getSimState ()
isStubDevice
public boolean isStubDevice ()
זמני
public boolean isTemporary ()
הפונקציה מחזירה את הערך 'true' אם המכשיר יימחק בסוף ההפעלה, או 'false' אם לא.
toString (מחרוזת)
public String toString ()
הוספת תיאור עם מספרים סידוריים, מזהה מוצר ו-build
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-09 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-09 (שעון UTC)."],[],[]]