com.android.tradefed.device

Interfaces

IAndroidDebugBridge Interface definition for AndroidDebugBridge methods used in this package. 
IBatteryTemperature  
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 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. 
INativeDevice Provides an reliable and slightly higher level API to a ddmlib IDevice
ITestDevice Provides an reliable and slightly higher level API to a ddmlib IDevice
ITestDeviceMutator An interface allowing manipulation of the IManagedTestDevice

Classes

BackgroundDeviceAction Runs a command on a given device repeating as necessary until the action is canceled. 
BatteryTemperature  
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. 
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. 
DeviceManager  
DeviceManager.FastbootDevice  
DeviceMonitorMultiplexer A proxy class to propagate requests to multiple IDeviceMonitors. 
DeviceNotAvailableException Thrown when a device is no longer available for testing. 
DeviceProperties Common constant definitions for device side property names  
DeviceRuntimeException Thrown when a device action did not results in the expected results. 
DeviceSelectionOptions Container for for device selection criteria. 
DeviceStateMonitor Helper class for monitoring the state of a IDevice
DeviceUnresponsiveException A specialization of DeviceNotAvailableException that indicates device is visible to adb, but is unresponsive (ie commands timing out, won't boot, etc)  
DeviceUtilStatsMonitor A IDeviceMonitor that calculates device utilization stats. 
DeviceUtilStatsMonitor.UtilizationDesc Container for utilization stats. 
FastbootHelper A helper class for fastboot operations. 
IDeviceMonitor.DeviceLister A Runnable-like class that should return the known devices and their states. 
IManagedTestDevice.DeviceEventResponse Container for a response to a IManagedTestDevice#handleAllocationEvent(DeviceEvent) call  
ITestDevice.ApexInfo A simple struct class to store information about a single APEX  
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. 
ManagedTestDeviceFactory Factory to create the different kind of devices that can be monitored by Tf  
NativeDevice Default implementation of a ITestDevice Non-full stack android devices. 
NativeDevice.AdbAction A DeviceAction for running a OS 'adb ....' command. 
NativeDevice.AdbShellAction  
NativeDevice.RebootDeviceAction DeviceAction for rebooting a device. 
NativeDeviceStateMonitor Helper class for monitoring the state of a IDevice with no framework support. 
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. 
NullDevice A placeholder IDevice used by DeviceManager to allocate when IDeviceSelection#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. 
RemoteAndroidDevice Implementation of a ITestDevice for a full stack android device connected via adb connect. 
RemoteAvdIDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions#gceDeviceRequested() is true  
RetryingWaitDeviceRecovery A WaitDeviceRecovery which retries its recovery step either indefinitely or for a certain number of iterations. 
StubDevice Stub placeholder implementation of a IDevice
TcpDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions#tcpDeviceRequested() 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.TopStats Class for holding the parsed output for a single top output. 
UserInfo Similar to UserInfo class from platform. 
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

DeviceSelectionOptions.DeviceRequestedType The different possible types of placeholder devices supported. 
DeviceUtilStatsMonitor.StubDeviceUtil Enum for configuring treatment of stub devices when calculating average host utilization  
ITestDevice.RecoveryMode  
TestDeviceOptions.InstanceType  
TestDeviceState A more fully featured representation of device state than DeviceState
UserInfo.UserType Supported variants of a user's type in external APIs.