Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 8 of 8) sorted by relevance

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java111 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source() local
112 assertEquals("Expected message to be ok", SOURCE, metric.getSource()); in testLimits_source()
119 metric = new Metric(source, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source()
121 metric.getSource()); in testLimits_source()
126 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_message() local
127 assertEquals("Expected message to be ok", MESSAGE, metric.getMessage()); in testLimits_message()
134 metric = new Metric(SOURCE, message, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_message()
136 metric.getMessage()); in testLimits_message()
141 Metric metric = new Metric(SOURCE, MESSAGE, VALUES, ResultType.HIGHER_BETTER, in testLimits_values() local
143 assertTrue("Expected values to be ok", Arrays.equals(VALUES, metric.getValues())); in testLimits_values()
[all …]
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/
DVtsUnitTests.java18 import com.android.tradefed.device.metric.VtsCoverageCollectorTest;
19 import com.android.tradefed.device.metric.VtsHalTraceCollectorTest;
/test/vts/utils/native/trace_processor/
DVtsTraceProcessor.h59 TraceSelectionMetric metric = TraceSelectionMetric::MAX_COVERAGE);
DVtsTraceProcessor.cpp368 TraceSelectionMetric metric) { in SelectTraces() argument
450 if (metric == TraceSelectionMetric::MAX_COVERAGE) { in SelectTraces()
455 } else if (metric == TraceSelectionMetric::MAX_COVERAGE_SIZE_RATIO) { in SelectTraces()
/test/vts/harnesses/tradefed/src/com/android/tradefed/device/metric/
DVtsHalTraceCollector.java17 package com.android.tradefed.device.metric;
DVtsCoverageCollector.java17 package com.android.tradefed.device.metric;
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/device/metric/
DVtsCoverageCollectorTest.java17 package com.android.tradefed.device.metric;
DVtsHalTraceCollectorTest.java17 package com.android.tradefed.device.metric;