ตัวอธิบายอุปกรณ์

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 ()

ให้คำอธิบายพร้อมซีเรียล ผลิตภัณฑ์ และรหัสบิลด์

ผู้รับเหมาก่อสร้างสาธารณะ

ตัวอธิบายอุปกรณ์

public 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

ตัวอธิบายอุปกรณ์

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

ตัวอธิบายอุปกรณ์

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

ตัวอธิบายอุปกรณ์

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

ตัวอธิบายอุปกรณ์

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

ตัวอธิบายอุปกรณ์

public DeviceDescriptor (DeviceDescriptor d, 
                DeviceAllocationState state)

ใช้สำหรับการอัปเดตสถานะอย่างง่ายดายใน ClusterDeviceMonitor

พารามิเตอร์
d DeviceDescriptor

state DeviceAllocationState

ตัวอธิบายอุปกรณ์

public DeviceDescriptor (DeviceDescriptor d, 
                String serial, 
                String displaySerial)

ใช้สำหรับการอัปเดตสถานะอนุกรมสำหรับอุปกรณ์ตัวยึดตำแหน่งอย่างง่ายดาย

พารามิเตอร์
d DeviceDescriptor

serial String

displaySerial String

ตัวอธิบายอุปกรณ์

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

พารามิเตอร์
d DeviceDescriptor

preconfiguredIp String

preconfiguredDeviceNumOffset Integer

วิธีการสาธารณะ

รับระดับแบตเตอรี่

public String getBatteryLevel ()

การส่งคืน
String

รับ BuildId

public String getBuildId ()

การส่งคืน
String

รับอุปกรณ์Class

public String getDeviceClass ()

การส่งคืน
String

รับDeviceState

public IDevice.DeviceState getDeviceState ()

การส่งคืน
IDevice.DeviceState

getDisplaySerial

public String getDisplaySerial ()

การส่งคืน
String

รับการแก้ไขฮาร์ดแวร์

public String getHardwareRevision ()

การส่งคืน
String

รับMacAddress

public String getMacAddress ()

การส่งคืน
String

getPreconfiguredDeviceNumOffset

public Integer getPreconfiguredDeviceNumOffset ()

การส่งคืน
Integer

รับการกำหนดค่าล่วงหน้าIp

public String getPreconfiguredIp ()

การส่งคืน
String

รับผลิตภัณฑ์

public String getProduct ()

การส่งคืน
String

getProductVariant

public String getProductVariant ()

การส่งคืน
String

รับคุณสมบัติ

public String getProperty (String name)

พารามิเตอร์
name String

การส่งคืน
String

getSdkVersion

public String getSdkVersion ()

การส่งคืน
String

รับซีเรียล

public String getSerial ()

การส่งคืน
String

getSimOperator

public String getSimOperator ()

การส่งคืน
String

รับ SimState

public String getSimState ()

การส่งคืน
String

รับสถานะ

public DeviceAllocationState getState ()

การส่งคืน
DeviceAllocationState

รับ TestDeviceState

public TestDeviceState getTestDeviceState ()

การส่งคืน
TestDeviceState

isStubDevice

public boolean isStubDevice ()

การส่งคืน
boolean

เป็นชั่วคราว

public boolean isTemporary ()

ส่งคืนว่าอุปกรณ์จะถูกลบเมื่อสิ้นสุดการร้องขอหรือไม่

การส่งคืน
boolean

toString

public String toString ()

ให้คำอธิบายพร้อมซีเรียล ผลิตภัณฑ์ และรหัสบิลด์

การส่งคืน
String