Home
last modified time | relevance | path

Searched refs:Metric (Results 1 – 12 of 12) sorted by relevance

/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java19 import com.android.compatibility.common.util.ReportLog.Metric;
111 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source()
119 metric = new Metric(source, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source()
126 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_message()
134 metric = new Metric(SOURCE, message, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_message()
141 Metric metric = new Metric(SOURCE, MESSAGE, VALUES, ResultType.HIGHER_BETTER, in testLimits_values()
148 metric = new Metric(SOURCE, MESSAGE, values, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_values()
DResultHandlerTest.java239 ReportLog.Metric summary = new ReportLog.Metric(SUMMARY_SOURCE, SUMMARY_MESSAGE, in testSerialization()
329 ReportLog.Metric summary = in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
330 new ReportLog.Metric( in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
650 ReportLog.Metric summary = report.getSummary(); in checkResult()
/platform_testing/tests/automotive/health/boottime/src/android/boottime/postprocessor/
DBaseBootTimeTestLogPostProcessor.java47 public Map<String, MetricMeasurement.Metric.Builder> processTestMetricsAndLogs( in processTestMetricsAndLogs()
49 HashMap<String, MetricMeasurement.Metric> testMetrics, in processTestMetricsAndLogs()
56 public Map<String, MetricMeasurement.Metric.Builder> processRunMetricsAndLogs( in processRunMetricsAndLogs()
57 HashMap<String, MetricMeasurement.Metric> rawMetrics, Map<String, LogFile> runLogs) { in processRunMetricsAndLogs()
80 protected Map<String, MetricMeasurement.Metric.Builder> buildTfMetrics( in buildTfMetrics()
82 Map<String, MetricMeasurement.Metric.Builder> tfMetrics = new HashMap<>(); in buildTfMetrics()
92 MetricMeasurement.Metric.Builder metricBuilder = in buildTfMetrics()
93 MetricMeasurement.Metric.newBuilder().setMeasurements(measurement); in buildTfMetrics()
DLogcatPostProcessor.java25 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
88 public Map<String, Metric.Builder> processTestMetricsAndLogs( in processTestMetricsAndLogs()
90 HashMap<String, Metric> testMetrics, in processTestMetricsAndLogs()
110 public Map<String, Metric.Builder> processRunMetricsAndLogs( in processRunMetricsAndLogs()
111 HashMap<String, Metric> rawMetrics, Map<String, LogFile> runLogs) { in processRunMetricsAndLogs()
122 private Map<String, Metric.Builder> processLogcatLogs(List<File> files) { in processLogcatLogs()
DDmesgPostProcessor.java30 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
70 public Map<String, Metric.Builder> processTestMetricsAndLogs( in processTestMetricsAndLogs()
72 HashMap<String, Metric> testMetrics, in processTestMetricsAndLogs()
91 public Map<String, Metric.Builder> processRunMetricsAndLogs( in processRunMetricsAndLogs()
92 HashMap<String, Metric> rawMetrics, Map<String, LogFile> runLogs) { in processRunMetricsAndLogs()
103 private Map<String, Metric.Builder> processDmesgLogs(List<File> dmesgFiles) { in processDmesgLogs()
/platform_testing/tests/example/perf/src/android/test/example/helloworldperformance/
DHelloWorldPerformanceTest.java21 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
40 Metric.newBuilder() in testHelloWorld()
50 Metric.newBuilder() in testHalloWelt()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DReportLog.java50 protected Metric mSummary;
54 public static class Metric implements Serializable { class in ReportLog
64 Metric(String source, String message, double value, ResultType type, ResultUnit unit) { in Metric() method in ReportLog.Metric
79 Metric(String source, String message, double[] values, ResultType type, ResultUnit unit) { in Metric() method in ReportLog.Metric
140 static Metric parse(XmlPullParser parser) in parse()
161 return new Metric(source, message, values, type, unit); in parse()
277 /* package */ void setSummary(Metric elem) { in setSummary()
287 setSummary(new Metric(Stacktrace.getTestCallerClassMethodNameLineNumber(), message, value, in setSummary()
291 public Metric getSummary() { in getSummary()
325 Metric summary = reportLog.getSummary(); in serialize()
[all …]
DMetricsXmlSerializer.java39 ReportLog.Metric summary = reportLog.getSummary(); in serialize()
/platform_testing/tests/codecoverage/hosttest/src/android/platform/test/
DCoverageSmokeTest.java8 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
60 Metric devicePathMetric = testRunResult.getRunProtoMetrics().get(COVERAGE_MEASUREMENT_KEY); in instrumentationTest_generatesJavaCoverage()
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DBatterystatsCollectorHostTest.java32 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
97 runData.addMetric(key, Metric.newBuilder().setMeasurements( in testBatteryStatsListener_perRun()
/platform_testing/libraries/audio-test-harness/tradefed/src/main/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessHermeticServerManagingMetricCollector.java147 DeviceMetricData runData, Map<String, MetricMeasurement.Metric> currentRunMetrics) { in onTestRunEnd()
/platform_testing/host_runners/boot/src/com/android/boot/
DBootTimeTest.java40 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
511 System.currentTimeMillis() - start, new HashMap<String, Metric>()); in run()