Home
last modified time | relevance | path

Searched refs:metricFile (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerLogCollector.java35 public final void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() argument
37 postProcessMetricFile(key, metricFile, runData); in processMetricFile()
39 try (InputStreamSource source = new FileInputStreamSource(metricFile, true)) { in processMetricFile()
42 String ext = FileUtil.getExtension(metricFile.getName()).toLowerCase(); in processMetricFile()
49 testLog(metricFile.getName(), type, source); in processMetricFile()
73 protected void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData) {} in postProcessMetricFile() argument
DIncidentReportCollector.java47 protected void postProcessMetricFile(String key, File metricFile, DeviceMetricData runData) { in postProcessMetricFile() argument
51 byte[] output = Files.readAllBytes(metricFile.toPath()); in postProcessMetricFile()
55 String.format("Failed to parse protobuf: %s", metricFile.toPath().toString()), in postProcessMetricFile()
60 "Failed to read incident file: %s", metricFile.toPath().toString()), in postProcessMetricFile()
65 metricFile.getName().concat(PROCESSED_KEY_SUFFIX), in postProcessMetricFile()
DFilePullerDeviceMetricCollector.java97 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData data); in processMetricFile() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollector.java186 public void processMetricFile(String key, File metricFile, in processMetricFile() argument
188 File processSrcFile = metricFile; in processMetricFile()
190 processSrcFile = decompressFile(metricFile); in processMetricFile()
272 try (InputStreamSource source = new FileInputStreamSource(metricFile, true)) { in processMetricFile()
275 testLog(metricFile.getName(), LogDataType.GZIP, source); in processMetricFile()
277 metricFile.delete(); in processMetricFile()
281 testLog(metricFile.getName(), LogDataType.PERFETTO, source); in processMetricFile()
DAtraceRunMetricCollector.java194 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollectorTest.java50 String key, File metricFile, DeviceMetricData data) { in setUp()
51 try (FileInputStreamSource source = new FileInputStreamSource(metricFile)) { in setUp()
DFilePullerLogCollectorTest.java193 String key, File metricFile, DeviceMetricData runData) { in postProcessMetricFile() argument