DeviceDescriptor

public class DeviceDescriptor
extends Object implements Serializable

java.lang.Object
   ↳ com.android.tradefed.command.remote.DeviceDescriptor


Test edilen bir cihazı açıklayan bilgileri içeren bir sınıf.

Özet

Herkese açık oluşturucular

DeviceDescriptor()
DeviceDescriptor(DeviceDescriptor d, DeviceAllocationState state)

ClusterDeviceMonitor'da durumun kolayca güncellenmesi için kullanılır.

DeviceDescriptor(DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset)
DeviceDescriptor(DeviceDescriptor d, String serial, String displaySerial)

Yer tutucu cihazların seri numarası için kolay durum güncellemesi yapmak üzere 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()

Cihazın, çağrının sonunda silinip silinmeyeceğini döndürür.

String toString()

Seri numaraları, ürün ve derleme kimliği içeren bir açıklama sağlar.

Herkese açık oluşturucular

DeviceDescriptor

public DeviceDescriptor ()

DeviceDescriptor

public DeviceDescriptor (DeviceDescriptor d, 
                DeviceAllocationState state)

ClusterDeviceMonitor'da durumun kolayca güncellenmesi 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ın seri numarası için kolay durum güncellemesi yapmak üzere 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 ()

İadeler
String

getBuildId

public String getBuildId ()

İadeler
String

getDeviceClass

public String getDeviceClass ()

İadeler
String

getDeviceState

public IDevice.DeviceState getDeviceState ()

İadeler
IDevice.DeviceState

getDisplaySerial

public String getDisplaySerial ()

İadeler
String

getHardwareRevision

public String getHardwareRevision ()

İadeler
String

getMacAddress

public String getMacAddress ()

İadeler
String

getPreconfiguredDeviceNumOffset

public Integer getPreconfiguredDeviceNumOffset ()

İadeler
Integer

getPreconfiguredIp

public String getPreconfiguredIp ()

İadeler
String

getProduct

public String getProduct ()

İadeler
String

getProductVariant

public String getProductVariant ()

İadeler
String

getProperty

public String getProperty (String name)

Parametreler
name String

İadeler
String

getSdkVersion

public String getSdkVersion ()

İadeler
String

getSerial

public String getSerial ()

İadeler
String

getSimOperator

public String getSimOperator ()

İadeler
String

getSimState

public String getSimState ()

İadeler
String

getState

public DeviceAllocationState getState ()

İadeler
DeviceAllocationState

getTestDeviceState

public TestDeviceState getTestDeviceState ()

İadeler
TestDeviceState

isStubDevice

public boolean isStubDevice ()

İadeler
boolean

isTemporary

public boolean isTemporary ()

Cihazın, çağrının sonunda silinip silinmeyeceğini döndürür.

İadeler
boolean

toString

public String toString ()

Seri numaraları, ürün ve derleme kimliği içeren bir açıklama sağlar.

İadeler
String