DeviceDescriptor
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) |
שיטות ציבוריות | |
---|---|
String | getBatteryLevel () |
String | getBuildId () |
String | getDeviceClass () |
IDevice.DeviceState | getDeviceState () |
String | getDisplaySerial () |
String | getHardwareRevision () |
String | getMacAddress () |
Integer | getPreconfiguredDeviceNumOffset () |
String | getPreconfiguredIp () |
String | getProduct () |
String | getProductVariant () |
String | getProperty (String name) |
String | getSdkVersion () |
String | getSerial () |
String | getSimOperator () |
String | getSimState () |
DeviceAllocationState | getState () |
TestDeviceState | getTestDeviceState () |
boolean | isStubDevice () |
boolean | isTemporary () מחזירה אם המכשיר יימחק בסיום ההתקשרות או לא. |
String | toString () מספק תיאור עם סדרות, מוצר ומזהה build |
בנאים ציבוריים
DeviceDescriptor
public DeviceDescriptor ()
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, 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, 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 |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d, DeviceAllocationState state)
משמש לעדכון מצב קל ב-ClusterDeviceMonitor.
פרמטרים | |
---|---|
d | DeviceDescriptor |
state | DeviceAllocationState |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d, String serial, String displaySerial)
משמש לעדכון מצב קל של סידורי עבור התקני מיקום.
פרמטרים | |
---|---|
d | DeviceDescriptor |
serial | String |
displaySerial | String |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset)
פרמטרים | |
---|---|
d | DeviceDescriptor |
preconfiguredIp | String |
preconfiguredDeviceNumOffset | Integer |
שיטות ציבוריות
getBatteryLevel
public String getBatteryLevel ()
החזרות | |
---|---|
String |
getBuildId
public String getBuildId ()
החזרות | |
---|---|
String |
getDeviceClass
public String getDeviceClass ()
החזרות | |
---|---|
String |
getDeviceState
public IDevice.DeviceState getDeviceState ()
החזרות | |
---|---|
IDevice.DeviceState |
getDisplaySerial
public String getDisplaySerial ()
החזרות | |
---|---|
String |
getHardwareRevision
public String getHardwareRevision ()
החזרות | |
---|---|
String |
getMacAddress
public String getMacAddress ()
החזרות | |
---|---|
String |
getPreconfiguredDeviceNumOffset
public Integer getPreconfiguredDeviceNumOffset ()
החזרות | |
---|---|
Integer |
getPreconfiguredIp
public String getPreconfiguredIp ()
החזרות | |
---|---|
String |
getProduct
public String getProduct ()
החזרות | |
---|---|
String |
getProductVariant
public String getProductVariant ()
החזרות | |
---|---|
String |
getProperty
public String getProperty (String name)
פרמטרים | |
---|---|
name | String |
החזרות | |
---|---|
String |
getSdkVersion
public String getSdkVersion ()
החזרות | |
---|---|
String |
getSerial
public String getSerial ()
החזרות | |
---|---|
String |
getSimOperator
public String getSimOperator ()
החזרות | |
---|---|
String |
getSimState
public String getSimState ()
החזרות | |
---|---|
String |
isStubDevice
public boolean isStubDevice ()
החזרות | |
---|---|
boolean |
הוא זמני
public boolean isTemporary ()
מחזירה אם המכשיר יימחק בסיום ההתקשרות או לא.
החזרות | |
---|---|
boolean |
toString
public String toString ()
מספק תיאור עם סדרות, מוצר ומזהה build
החזרות | |
---|---|
String |
DeviceDescriptor
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) |
שיטות ציבוריות | |
---|---|
String | getBatteryLevel () |
String | getBuildId () |
String | getDeviceClass () |
IDevice.DeviceState | getDeviceState () |
String | getDisplaySerial () |
String | getHardwareRevision () |
String | getMacAddress () |
Integer | getPreconfiguredDeviceNumOffset () |
String | getPreconfiguredIp () |
String | getProduct () |
String | getProductVariant () |
String | getProperty (String name) |
String | getSdkVersion () |
String | getSerial () |
String | getSimOperator () |
String | getSimState () |
DeviceAllocationState | getState () |
TestDeviceState | getTestDeviceState () |
boolean | isStubDevice () |
boolean | isTemporary () מחזירה אם המכשיר יימחק בסיום ההתקשרות או לא. |
String | toString () מספק תיאור עם סדרות, מוצר ומזהה build |
בנאים ציבוריים
DeviceDescriptor
public DeviceDescriptor ()
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, 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, 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 |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d, DeviceAllocationState state)
משמש לעדכון מצב קל ב-ClusterDeviceMonitor.
פרמטרים | |
---|---|
d | DeviceDescriptor |
state | DeviceAllocationState |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d, String serial, String displaySerial)
משמש לעדכון מצב קל של סידורי עבור התקני מיקום.
פרמטרים | |
---|---|
d | DeviceDescriptor |
serial | String |
displaySerial | String |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset)
פרמטרים | |
---|---|
d | DeviceDescriptor |
preconfiguredIp | String |
preconfiguredDeviceNumOffset | Integer |
שיטות ציבוריות
getBatteryLevel
public String getBatteryLevel ()
החזרות | |
---|---|
String |
getBuildId
public String getBuildId ()
החזרות | |
---|---|
String |
getDeviceClass
public String getDeviceClass ()
החזרות | |
---|---|
String |
getDeviceState
public IDevice.DeviceState getDeviceState ()
החזרות | |
---|---|
IDevice.DeviceState |
getDisplaySerial
public String getDisplaySerial ()
החזרות | |
---|---|
String |
getHardwareRevision
public String getHardwareRevision ()
החזרות | |
---|---|
String |
getMacAddress
public String getMacAddress ()
החזרות | |
---|---|
String |
getPreconfiguredDeviceNumOffset
public Integer getPreconfiguredDeviceNumOffset ()
החזרות | |
---|---|
Integer |
getPreconfiguredIp
public String getPreconfiguredIp ()
החזרות | |
---|---|
String |
getProduct
public String getProduct ()
החזרות | |
---|---|
String |
getProductVariant
public String getProductVariant ()
החזרות | |
---|---|
String |
getProperty
public String getProperty (String name)
פרמטרים | |
---|---|
name | String |
החזרות | |
---|---|
String |
getSdkVersion
public String getSdkVersion ()
החזרות | |
---|---|
String |
getSerial
public String getSerial ()
החזרות | |
---|---|
String |
getSimOperator
public String getSimOperator ()
החזרות | |
---|---|
String |
getSimState
public String getSimState ()
החזרות | |
---|---|
String |
isStubDevice
public boolean isStubDevice ()
החזרות | |
---|---|
boolean |
הוא זמני
public boolean isTemporary ()
מחזירה אם המכשיר יימחק בסיום ההתקשרות או לא.
החזרות | |
---|---|
boolean |
toString
public String toString ()
מספק תיאור עם סדרות, מוצר ומזהה build
החזרות | |
---|---|
String |