DeviceDescriptor
public
class
DeviceDescriptor
extends Object
java.lang.Nesne | |
\t | com.android.tradefed.command.remote.DeviceDescriptor |
Test edilen bir cihazı tanımlayan bilgileri içeren bir sınıf.
Özet
Herkese açık kurucular | |
---|---|
DeviceDescriptor()
|
|
DeviceDescriptor(DeviceDescriptor d, DeviceAllocationState state)
ClusterDeviceMonitor'da kolay durum güncellemesi için kullanılır. |
|
DeviceDescriptor(DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset)
|
|
DeviceDescriptor(DeviceDescriptor d, String serial, String displaySerial)
Yer tutucu cihazlar için seri numarasının kolayca güncellenmesi amacıyla kullanılır. |
|
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)
|
Herkese açık yöntemler | |
---|---|
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()
Çağrının sonunda cihazın silinip silinmeyeceğini döndürür. |
String
|
toString()
Seriler, ürün ve derleme kimliği ile ilgili açıklama sağlar |
Herkese açık kurucular
DeviceDescriptor
public DeviceDescriptor ()
Cihaz Açıklayıcı
public DeviceDescriptor (DeviceDescriptor d, DeviceAllocationState state)
ClusterDeviceMonitor'da kolay durum güncellemesi için kullanılır.
Parametreler | |
---|---|
d |
DeviceDescriptor |
state |
DeviceAllocationState |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset)
Parametreler | |
---|---|
d |
DeviceDescriptor |
preconfiguredIp |
String |
preconfiguredDeviceNumOffset |
Integer |
DeviceDescriptor
public DeviceDescriptor (DeviceDescriptor d, String serial, String displaySerial)
Yer tutucu cihazlar için seri öğelerinin kolay durum güncellemesinde kullanılır.
Parametreler | |
---|---|
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)
Parametreler | |
---|---|
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)
Parametreler | |
---|---|
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)
Parametreler | |
---|---|
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)
Parametreler | |
---|---|
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)
Parametreler | |
---|---|
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 |
Herkese açık yöntemler
getBatteryLevel
public String getBatteryLevel ()
İlerlemeler | |
---|---|
String |
getBuildId
public String getBuildId ()
İlerlemeler | |
---|---|
String |
getDeviceClass
public String getDeviceClass ()
İlerlemeler | |
---|---|
String |
getDeviceState
public IDevice.DeviceState getDeviceState ()
İlerlemeler | |
---|---|
IDevice.DeviceState |
getDisplaySerial
public String getDisplaySerial ()
İlerlemeler | |
---|---|
String |
getHardwareRevision
public String getHardwareRevision ()
İlerlemeler | |
---|---|
String |
getMacAddress
public String getMacAddress ()
İlerlemeler | |
---|---|
String |
getPreconfiguredDeviceNumOffset
public Integer getPreconfiguredDeviceNumOffset ()
İlerlemeler | |
---|---|
Integer |
getPreconfiguredIp
public String getPreconfiguredIp ()
İlerlemeler | |
---|---|
String |
getProduct
public String getProduct ()
İlerlemeler | |
---|---|
String |
getProductVariant
public String getProductVariant ()
İlerlemeler | |
---|---|
String |
getProperty
public String getProperty (String name)
Parametreler | |
---|---|
name |
String |
İlerlemeler | |
---|---|
String |
getSdkVersion
public String getSdkVersion ()
İlerlemeler | |
---|---|
String |
getSerial
public String getSerial ()
İlerlemeler | |
---|---|
String |
getSimOperator
public String getSimOperator ()
İlerlemeler | |
---|---|
String |
getSimState
public String getSimState ()
İlerlemeler | |
---|---|
String |
isStubDevice
public boolean isStubDevice ()
İlerlemeler | |
---|---|
boolean |
isTemporary
public boolean isTemporary ()
Çağrının sonunda cihazın silinip silinmeyeceğini döndürür.
İlerlemeler | |
---|---|
boolean |
toString
public String toString ()
Seri numaraları, ürün ve derleme kimliği içeren bir açıklama sağlar
İlerlemeler | |
---|---|
String |