IDeviceMonitor.DeviceLister
public static abstract class IDeviceMonitor.DeviceLister
extends Object
java.lang.객체 | |
↳ | com.android.tradefed.device.IDeviceMonitor.DeviceLister |
알려진 장치와 해당 상태를 반환해야 하는 Runnable
과 유사한 클래스입니다. 이 클래스를 사용하면 IDeviceMonitor
자체 스레드에서 장치 정보를 가져올 수 있으므로 장치를 나열하는 동안 발생할 수 있는 교착 상태를 피할 수 있습니다.
요약
공개 생성자 | |
---|---|
DeviceLister () |
공개 방법 | |
---|---|
abstract DeviceDescriptor | getDeviceDescriptor (String serial) |
abstract | listDevices () |
공개 생성자
DeviceLister
public DeviceLister ()
공개 방법
getDeviceDescriptor
public abstract DeviceDescriptor getDeviceDescriptor (String serial)
매개변수 | |
---|---|
serial | String |
보고 | |
---|---|
DeviceDescriptor |
목록 장치
public abstractlistDevices ()
보고 | |
---|---|