Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 24 of 24) sorted by relevance

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTest.java21 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
57 HashMap<String, Metric> metrics = hostListener.getNewMetrics(); in run() local
58 metrics.putAll(TfMetricProtoUtil.upgradeConvert(hostListener.getMetrics())); in run()
59 listener.testRunEnded(System.currentTimeMillis() - startTime, metrics); in run() local
89 public void testRunEnded(long elapsedTime, Map<String, String> metrics) { in testRunEnded() argument
90 CLog.d("HostTestListener.testRunEnded(%d, %s)", elapsedTime, metrics.toString()); in testRunEnded()
91 mCollectedMetrics.putAll(metrics); in testRunEnded()
98 public void testRunEnded(long elapsedTime, HashMap<String, Metric> metrics) { in testRunEnded() argument
99 CLog.d("HostTestListener.testRunEnded(%d, %s)", elapsedTime, metrics.toString()); in testRunEnded()
100 mCollectedNewMetrics.putAll(metrics); in testRunEnded()
DModuleDef.java31 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DModuleListener.java21 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
82 public void testEnded(TestDescription test, HashMap<String, Metric> metrics) { in testEnded() argument
83 CLog.d("ModuleListener.testEnded(%s, %s)", test.toString(), metrics.toString()); in testEnded()
84 mListener.testEnded(test, metrics); in testEnded()
127 public void testRunEnded(long elapsedTime, HashMap<String, Metric> metrics) { in testRunEnded() argument
128 CLog.d("ModuleListener.testRunEnded(%d, %s)", elapsedTime, metrics.toString()); in testRunEnded()
129 mListener.testRunEnded(elapsedTime, metrics); in testRunEnded()
136 public void testRunEnded(long elapsedTime, Map<String, String> metrics) { in testRunEnded() argument
137 testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(metrics)); in testRunEnded()
DConsoleReporter.java25 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
153 public void testRunEnded(long elapsedTime, Map<String, String> metrics) { in testRunEnded() argument
154 testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(metrics)); in testRunEnded()
161 public void testRunEnded(long elapsedTime, HashMap<String, Metric> metrics) { in testRunEnded() argument
DMetadataReporter.java26 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
154 public void testRunEnded(long elapsedTime, Map<String, String> metrics) { in testRunEnded() argument
155 testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(metrics)); in testRunEnded()
162 public void testRunEnded(long elapsedTime, HashMap<String, Metric> metrics) { in testRunEnded() argument
DResultReporter.java46 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
371 public void testEnded(TestDescription test, HashMap<String, Metric> metrics) { in testEnded() argument
377 Metric perfResult = metrics.get(RESULT_KEY); in testEnded()
433 public void testRunEnded(long elapsedTime, Map<String, String> metrics) { in testRunEnded() argument
434 testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(metrics)); in testRunEnded()
441 public void testRunEnded(long elapsedTime, HashMap<String, Metric> metrics) { in testRunEnded() argument
/test/suite_harness/tools/cts-test-metrics/
Dparse_test_metrics.py42 for metrics in metrics_list:
44 for key in metrics.keys():
45 print "Key: %s \t Value: %s" % (key, str(metrics.get(key)))
DREADME1 The parse_test_metrics.py script can be used to parse test metrics json files. Run the following
9 Test metrics json files can be found in $CTS_ROOT/repository/results/$RESULT_DIR/report-log-files/
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTestTest.java27 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
129 @Rule public TestMetrics metrics = new TestMetrics(); field in JarHostTestTest.Junit4TestClass2
133 metrics.addTestMetric("key", "value"); in testPass2()
236 Map<String, String> metrics = new HashMap<>(); in testJarHostMetrics() local
237 metrics.put("key", "value"); in testJarHostMetrics()
239 EasyMock.eq(TfMetricProtoUtil.upgradeConvert(metrics))); in testJarHostMetrics()
DSimpleTestStub.java20 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
DModuleDefTest.java21 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
DTestStub.java20 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DMediaPreparer.java32 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
472 public void testEnded(TestDescription test, HashMap<String, Metric> metrics) { in testEnded() argument
473 Metric resMetric = metrics.get(RESOLUTION_STRING_KEY); in testEnded()
/test/vts-testcase/performance/audio_loopback_test/
DREADME.md9 * What metrics this test report?
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelperTest.java22 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/test/vts/harnesses/tradefed/src/com/android/tradefed/device/metric/
DVtsHalTraceCollector.java24 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
DVtsCoverageCollector.java26 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DConsoleReporterTest.java25 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
DMetadataReporterTest.java26 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
DResultReporterTest.java31 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/retry/
DRetryFactoryTestTest.java35 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestTest.java29 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DIntegrationTest.java34 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java28 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;