Google is committed to advancing racial equity for Black communities. See how.

com.android.tradefed.device

Interfaces

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. 
IDeviceSelection Interface for device selection criteria. 
ILogcatReceiver A class that provides the output of a device's logcat as an InputStreamSource

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
DeviceDiagTest A test that diagnoses the devices available to run tests. 
DeviceManager  
DeviceManager.FastbootDevice Representation of a device in Fastboot mode. 
DeviceMonitorMultiplexer A proxy class to propagate requests to multiple IDeviceMonitors. 
DeviceProperties Common constant definitions for device side property names  
DeviceSelectionOptions Container for for device selection criteria. 
DeviceStateMonitor Helper class for monitoring the state of a IDevice
FastbootHelper A helper class for fastboot operations. 
IDeviceMonitor.DeviceLister A Runnable-like class that should return the known devices and their states. 
LargeOutputReceiver A class designed to help run long running commands collect output. 
LocalAndroidVirtualDevice The class for local virtual devices running on TradeFed host. 
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. 
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  
TestDevice Implementation of a ITestDevice for a full stack android device  
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. 
NativeDevice.RebootMode A mode of a reboot. 

Exceptions

NoDeviceException Thrown when there's no device to execute a given command.