IDeviceMonitor.DeviceLister

public static abstract class IDeviceMonitor.DeviceLister
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.IDeviceMonitor.DeviceLister


A Runnable-like class that should return the known devices and their states. This class allows the IDeviceMonitor to fetch device info from its own thread, which should avoid deadlocks that may occur while listing devices.

Summary

Public constructors

DeviceLister()

Public methods

abstract DeviceDescriptor getDeviceDescriptor(String serial)
abstract listDevices()

Public constructors

DeviceLister

public DeviceLister ()

Public methods

getDeviceDescriptor

public abstract DeviceDescriptor getDeviceDescriptor (String serial)

Parameters
serial String

Returns
DeviceDescriptor

listDevices

public abstract  listDevices ()

Returns