to top
package

com.android.tradefed.device

Interfaces

DeviceManager.IManagedTestDeviceFactory Creator interface for IManagedTestDevices  
IAndroidDebugBridge Interface definition for AndroidDebugBridge methods used in this package. 
IDeviceManager Interface for managing the set of available devices for testing. 
IDeviceManager.IFastbootListener A listener for fastboot state changes. 
IDeviceMonitor Interface for monitoring state of devices. 
IDeviceRecovery Interface for recovering a device that has gone offline. 
IDeviceSelection Interface for device selection criteria. 
IDeviceStateMonitor Provides facilities for monitoring the state of a IDevice
IFileEntry Interface definition that provides simpler, mockable contract to FileListingService.FileEntry methods. 
IManagedTestDevice A ITestDevice whose lifecycle is managed. 
IMultiDeviceRecovery Interface for recovering multiple offline devices. 
ITestDevice Provides an reliable and slightly higher level API to a ddmlib IDevice
IWifiHelper Helper interface for manipulating wifi services on device. 

Classes

AndroidDebugBridgeWrapper A wrapper that directs IAndroidDebugBridge calls to the 'real' AndroidDebugBridge
BackgroundDeviceAction Runs a command on a given device repeating as necessary until the action is canceled. 
CollectingByteOutputReceiver A IShellOutputReceiver which collects the whole shell output into a byte[]
CollectingOutputReceiver A IShellOutputReceiver which collects the whole shell output into one String
CpuStatsCollector Helper class which runs cpustats continuously on an ITestDevice and parses the output. 
CpuStatsCollector.CpuStats Class for holding parsed output data for a single cpustats output. 
CpuStatsCollector.CpuStatsReceiver Receiver which parses the output from cpustats and optionally logs to a file. 
DeviceDiagTest A test that diagnoses the devices available to run tests. 
DeviceManager  
DeviceManager.FastbootDevice  
DeviceMonitorMultiplexer A proxy class to propagate requests to multiple IDeviceMonitors. 
DeviceSelectionOptions Container for for device selection criteria. 
DeviceStateMonitor Helper class for monitoring the state of a IDevice
DeviceUtilStatsMonitor A IDeviceMonitor that calculates device utilization stats. 
DeviceUtilStatsMonitor.UtilizationDesc Container for utilization stats. 
DumpsysPackageReceiver Parser for 'adb shell dumpsys package' output. 
FastbootHelper A helper class for fastboot operations. 
FileEntryWrapper Implementation of a IFileEntry
IDeviceMonitor.DeviceLister A Runnable-like class that should return the known devices and their states. 
IManagedTestDevice.DeviceEventResponse Container for a response to a handleAllocationEvent(DeviceEvent) call  
ITestDevice.MountPointInfo A simple struct class to store information about a single mountpoint  
LargeOutputReceiver A class designed to help run long running commands collect output. 
LogcatReceiver Class that collects logcat in background. 
ManagedDeviceList A thread-safe data structure that holds all devices known to DeviceManager
NullDevice A placeholder IDevice used by DeviceManager to allocate when nullDeviceRequested() is true  
PackageInfo Container for an application's package info parsed from device. 
ReconnectingRecovery Recovers a device by re-establishing a TCP connection via the adb server on the host. 
StubDevice Stub placeholder implementation of a IDevice
StubDeviceRecovery Empty implementation of a IDeviceRecovery
TestDevice Default implementation of a ITestDevice  
TestDeviceOptions Container for ITestDevice Options  
TopHelper Helper class which runs top continuously on an ITestDevice and parses the output. 
TopHelper.TopReceiver Receiver which parses the output from top. 
TopHelper.TopStats Class for holding the parsed output for a single top output. 
WaitDeviceRecovery A simple implementation of a IDeviceRecovery that waits for device to be online and respond to simple commands. 
WifiHelper Helper class for manipulating wifi services on device. 

Enums

CpuStatsCollector.TimeCategory Used to distinguish between the different CPU time categories. 
DeviceUtilStatsMonitor.StubDeviceUtil Enum for configuring treatment of stub devices when calculating average host utilization  
ITestDevice.RecoveryMode  
IWifiHelper.WifiState The Wifi supplicant state. 
TestDeviceState A more fully featured representation of device state than IDevice.DeviceState
TopHelper.PercentCategory Enum used for distinguishing between the various percentages in the top output. 

Exceptions

DeviceFatalError Thrown when a fatal error has occurred with device, and it should no longer be used for testing. 
DeviceNotAvailableException Thrown when a device is no longer available for testing. 
DeviceUnresponsiveException A specialization of DeviceNotAvailableException that indicates device is visible to adb, but is unresponsive (ie commands timing out, won't boot, etc)  
DumpsysPackageReceiver.ParseException  
NetworkNotAvailableException Thrown when a device is not able to connect to network for testing. 
NoDeviceException Thrown when there's no device to execute a given command.