Cihaz Açıklayıcı

public class DeviceDescriptor
extends Object

Java.lang.Nesne
🎃 com.android.tradefed.command.remote.DeviceDescriptor


Test edilen cihazı tanımlayan bilgiler içeren bir sınıf.

Özet

Kamu inşaatçıları

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'da kolay durum güncellemesi için kullanılır.

DeviceDescriptor(DeviceDescriptor d, String serial, String displaySerial)

Yer tutucu cihazlar için seri öğelerinin kolay durum güncellemesinde kullanılır.

DeviceDescriptor(DeviceDescriptor d, String preconfiguredIp, Integer preconfiguredDeviceNumOffset)

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

Kamu inşaatçıları

Cihaz Açıklayıcı

public DeviceDescriptor ()

Cihaz Açıklayıcı

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

Cihaz Açıklayıcı

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

Cihaz Açıklayıcı

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

Cihaz Açıklayıcı

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

Cihaz Açıklayıcı

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

Cihaz Tanımlayıcı

public DeviceDescriptor (DeviceDescriptor d, 
                DeviceAllocationState state)

ClusterDeviceMonitor'da kolay durum güncellemesi için kullanılır.

Parametreler
d DeviceDescriptor

state DeviceAllocationState

Cihaz Tanımlayıcı

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

Cihaz Açıklayıcı

public DeviceDescriptor (DeviceDescriptor d, 
                String preconfiguredIp, 
                Integer preconfiguredDeviceNumOffset)

Parametreler
d DeviceDescriptor

preconfiguredIp String

preconfiguredDeviceNumOffset Integer

Herkese açık yöntemler

pil Seviyesini al

public String getBatteryLevel ()

İlerlemeler
String

getBuildId

public String getBuildId ()

İlerlemeler
String

getCihazSınıfı

public String getDeviceClass ()

İlerlemeler
String

getDeviceState

public IDevice.DeviceState getDeviceState ()

İlerlemeler
IDevice.DeviceState

getDisplaySerial

public String getDisplaySerial ()

İlerlemeler
String

Donanım Düzeltmesi al

public String getHardwareRevision ()

İlerlemeler
String

getMacAdresi

public String getMacAddress ()

İlerlemeler
String

getPreconfiguredDeviceNumOffset

public Integer getPreconfiguredDeviceNumOffset ()

İlerlemeler
Integer

getÖnceden YapılandırılmışIp

public String getPreconfiguredIp ()

İlerlemeler
String

GetÜrün

public String getProduct ()

İlerlemeler
String

getProductVaryant

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

getState

public DeviceAllocationState getState ()

İlerlemeler
DeviceAllocationState

getTestDeviceState

public TestDeviceState getTestDeviceState ()

İlerlemeler
TestDeviceState

isStubCihazı

public boolean isStubDevice ()

İlerlemeler
boolean

Geçici

public boolean isTemporary ()

Çağrının sonunda cihazın silinip silinmeyeceğini döndürür.

İlerlemeler
boolean

toString

public String toString ()

Seriler, ürün ve derleme kimliği ile ilgili açıklama sağlar

İlerlemeler
String