Koleksiyonlar ile düzeninizi koruyun İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.

Cihaz Tanımlayıcı

public class DeviceDescriptor
extends Object

java.lang.Nesne
com.android.tradefed.command.remote.DeviceDescriptor


Test edilen bir cihazı açıklayan bilgileri 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, 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 serinin kolay durum güncellemesi için kullanılır.

Genel yöntemler

String getBatteryLevel ()
String getBuildId ()
String getDeviceClass ()
IDevice.DeviceState getDeviceState ()
String getDisplaySerial ()
String getHardwareRevision ()
String getMacAddress ()
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 yapı kimliği ile bir açıklama sağlar

Kamu inşaatçıları

Cihaz Tanımlayıcı

public DeviceDescriptor ()

Cihaz Tanımlayı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 Tanımlayı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 Tanımlayı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 Tanımlayı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 Tanımlayı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, 
                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

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

parametreler
d DeviceDescriptor

serial String

displaySerial String

Genel yöntemler

getPilSeviyesi

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

getDisplaySeri

public String getDisplaySerial ()

İadeler
String

getDonanım Revizyonu

public String getHardwareRevision ()

İadeler
String

getMacAdresi

public String getMacAddress ()

İadeler
String

getProduct

public String getProduct ()

İadeler
String

getProductVaryant

public String getProductVariant ()

İadeler
String

getProperty

public String getProperty (String name)

parametreler
name String

İadeler
String

getSdkVersion

public String getSdkVersion ()

İadeler
String

getSeri

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

geçici

public boolean isTemporary ()

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

İadeler
boolean

toString

public String toString ()

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

İadeler
String