com.android.tradefed.device.metric
Annotations
MetricOption |
Annotation for test methods annotated with @Test , or if the annotation is part of the
annotation list of TestDescription that allows to specify some extra parameters useful
for: Tuning the behavior of the collectors, filtering some methods.
|
Interfaces
IMetricCollector | This interface will be added as a decorator when reporting tests results in order to collect matching metrics. |
IMetricCollectorReceiver |
Interface for IRemoteTest s to implement if they need to get the list of IMetricCollector s for the test run.
|
Classes
BaseDeviceMetricCollector |
Base implementation of IMetricCollector that allows to start and stop collection on
onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) and ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) .
|
BugreportzOnFailureCollector | Collect a bugreportz when a test case fails. |
ClangCodeCoverageCollector |
A BaseDeviceMetricCollector that will pull Clang
coverage measurements off of the device and log them as test artifacts.
|
CollectorHelper |
Helper to do some IMetricCollector operations needed in several places.
|
CountTestCasesCollector |
Count and report the number of test cases for a given IRemoteTest .
|
DebugHostLogOnFailureCollector | Collector that will gather and log the host-side logs when a test case failure occurs. |
DeviceMetricData | Object to hold all the data collected by metric collectors. |
EmulatorMemoryCpuCapturer | |
FilePullerDeviceMetricCollector |
A BaseDeviceMetricCollector that listen for metrics key coming from the device and pull
them as a file from the device.
|
FilePullerLogCollector | Logger of the file reported by the device-side. |
GcovCodeCoverageCollector |
A BaseDeviceMetricCollector that will pull gcov
coverage measurements off of the device and log them as test artifacts.
|
JavaCodeCoverageCollector |
A BaseDeviceMetricCollector that will pull Java
coverage measurements off of the device and log them as test artifacts.
|
LogcatOnFailureCollector | Collector that will capture and log a logcat when a test case fails. |
ScreenshotOnFailureCollector | Collector that will capture and log a screenshot when a test case fails. |
Enums
AutoLogCollector | Enumeration describing which collector can automatically be handled by the harness. |
Annotations
Interfaces
Classes
- BaseDeviceMetricCollector
- BugreportzOnFailureCollector
- ClangCodeCoverageCollector
- CollectorHelper
- CountTestCasesCollector
- DebugHostLogOnFailureCollector
- DeviceMetricData
- EmulatorMemoryCpuCapturer
- FilePullerDeviceMetricCollector
- FilePullerLogCollector
- GcovCodeCoverageCollector
- JavaCodeCoverageCollector
- LogcatOnFailureCollector
- ScreenshotOnFailureCollector
Enums