IncidentReportCollector

public class IncidentReportCollector
extends FilePullerLogCollector

java.lang.Object
   ↳ com.android.tradefed.device.metric.BaseDeviceMetricCollector
     ↳ com.android.tradefed.device.metric.FilePullerDeviceMetricCollector
       ↳ com.android.tradefed.device.metric.FilePullerLogCollector
         ↳ com.android.tradefed.device.metric.IncidentReportCollector


Pulls and processes incident reports that are reported device-side.

TODO(b/119418529): Collect an incident report host-side on failure.

Summary

Public constructors

IncidentReportCollector()

Protected methods

void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData)

Possible processing of a pulled file to extract some metrics.

Public constructors

IncidentReportCollector

public IncidentReportCollector ()

Protected methods

postProcessMetricFile

protected void postProcessMetricFile (String key, 
                File metricFile, 
                DeviceMetricData runData)

Possible processing of a pulled file to extract some metrics.

Parameters
key String: Key of the file pulled

metricFile File: The ERROR(/File) that was pulled.

runData DeviceMetricData: The metric storage were to put extracted metrics.