장치 설명자

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

일련번호, 제품 및 빌드 ID에 대한 설명을 제공합니다.

공개 생성자

장치 설명자

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

공개 메소드

getBattery레벨

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

getHardwareRevision

public String getHardwareRevision ()

보고
String

getMac주소

public String getMacAddress ()

보고
String

getPreconfiguredDeviceNumOffset

public Integer getPreconfiguredDeviceNumOffset ()

보고
Integer

getPreconfiguredIp

public String getPreconfiguredIp ()

보고
String

getProduct

public String getProduct ()

보고
String

getProductVariant

public String getProductVariant ()

보고
String

getProperty

public String getProperty (String name)

매개변수
name String

보고
String

getSdk버전

public String getSdkVersion ()

보고
String

getSerial

public String getSerial ()

보고
String

getSimOperator

public String getSimOperator ()

보고
String

getSimState

public String getSimState ()

보고
String

getState

public DeviceAllocationState getState ()

보고
DeviceAllocationState

getTestDeviceState

public TestDeviceState getTestDeviceState ()

보고
TestDeviceState

isStubDevice

public boolean isStubDevice ()

보고
boolean

임시이다

public boolean isTemporary ()

호출이 끝나면 장치가 삭제되는지 여부를 반환합니다.

보고
boolean

toString

public String toString ()

일련번호, 제품 및 빌드 ID에 대한 설명을 제공합니다.

보고
String