Home
last modified time | relevance | path

Searched refs:Metric (Results 1 – 6 of 6) 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/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/libraries/audio-test-harness/tradefed/src/main/java/com/android/media/audiotestharness/tradefed/
DAudioTestHarnessHermeticServerManagingMetricCollector.java39 DeviceMetricData runData, Map<String, MetricMeasurement.Metric> currentRunMetrics) { in onTestRunEnd()
/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()