to top


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. 
ILogcatReceiver A class that provides the output of a device's logcat as an InputStreamSource
IManagedTestDevice A ITestDevice whose lifecycle is managed. 
IManagedTestDeviceFactory Creator interface for IManagedTestDevices  
IMultiDeviceRecovery Interface for recovering multiple offline devices. 
ITestDevice Provides an reliable and slightly higher level API to a ddmlib IDevice
ITestDeviceMutator An interface allowing manipulation of the IManagedTestDevice
IWifiHelper Helper interface for manipulating wifi services on device. 


AndroidDebugBridgeWrapper A wrapper that directs IAndroidDebugBridge calls to the 'real' AndroidDebugBridge
AndroidNativeDevice Default implementation of a ITestDevice Non-full stack android devices. 
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. 
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
ManagedTestDeviceFactory Factory to create the different kind of devices that can be monitored by Tf  
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. 
RetryingWaitDeviceRecovery A WaitDeviceRecovery which retries its recovery step either indefinitely or for a certain number of iterations. 
StubDevice Stub placeholder implementation of a IDevice
StubDeviceRecovery Empty implementation of a IDeviceRecovery
TcpDevice A placeholder IDevice used by DeviceManager to allocate when ERROR(/IDeviceSelection#tcpDeviceSelected()) is true  
TestDevice Implementation of a ITestDevice for a full stack android device  
TestDeviceMutator Default implementation of ITestDeviceMutator  
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. 


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  
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. 


DeviceDisconnectedException Thrown when a device is no longer reachable via it's transport type. 
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)  
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.