डिवाइस डिस्क्रिप्टर

public class DeviceDescriptor
extends Object

java.lang.ऑब्जेक्ट
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

getBuildId

public String getBuildId ()

रिटर्न
String

getDeviceClass

public String getDeviceClass ()

रिटर्न
String

getDeviceState

public IDevice.DeviceState getDeviceState ()

रिटर्न
IDevice.DeviceState

getDisplaySerial

public String getDisplaySerial ()

रिटर्न
String

हार्डवेयर संशोधन प्राप्त करें

public String getHardwareRevision ()

रिटर्न
String

मैकएड्रेस प्राप्त करें

public String getMacAddress ()

रिटर्न
String

getPreconfiguredDeviceNumOffset

public Integer getPreconfiguredDeviceNumOffset ()

रिटर्न
Integer

getPreconfiguredIp

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

getSimऑपरेटर

public String getSimOperator ()

रिटर्न
String

getSimState

public String getSimState ()

रिटर्न
String

राज्य प्राप्त करें

public DeviceAllocationState getState ()

रिटर्न
DeviceAllocationState

getTestDeviceState

public TestDeviceState getTestDeviceState ()

रिटर्न
TestDeviceState

isस्टबडिवाइस

public boolean isStubDevice ()

रिटर्न
boolean

अस्थायी है

public boolean isTemporary ()

यह बताता है कि आमंत्रण के अंत में डिवाइस हटा दिया जाएगा या नहीं।

रिटर्न
boolean

स्ट्रिंग

public String toString ()

सीरियल, उत्पाद और बिल्ड आईडी के साथ विवरण प्रदान करता है

रिटर्न
String