com.android.tradefed.device.metric

Interfaces

IMetricCollector This interface will be added as a decorator when reporting tests results in order to collect matching metrics. 
IMetricCollectorReceiver Interface for IRemoteTests to implement if they need to get the list of IMetricCollectors for the test run. 

Classes

BaseDeviceMetricCollector Base implementation of IMetricCollector that allows to start and stop collection on onTestRunStart(DeviceMetricData) and onTestRunEnd(DeviceMetricData, Map)
DeviceMetricData Object to hold all the data collected by metric collectors. 
FilePullerDeviceMetricCollector A BaseDeviceMetricCollector that listen for metrics key coming from the device and pull them as a file from the device. 
ScheduledDeviceMetricCollector A IMetricCollector that allows to run a collection task periodically at a set interval.