Home
last modified time | relevance | path

Searched refs:TfMetricProtoUtil (Results 1 – 25 of 74) sorted by relevance

123

/tools/tradefederation/core/src/com/android/tradefed/result/
DITestLifeCycleReceiver.java19 import com.android.tradefed.util.proto.TfMetricProtoUtil;
67 testRunEnded(elapsedTimeMillis, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
143 testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
167 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
DTestRunResult.java21 import com.android.tradefed.util.proto.TfMetricProtoUtil;
244 result.setMetrics(TfMetricProtoUtil.compatibleConvert(testMetrics)); in testEnded()
270 mRunProtoMetrics.putAll(TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
279 testRunEnded(elapsedTime, TfMetricProtoUtil.compatibleConvert(runMetrics)); in testRunEnded()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DConsoleResultReporterTest.java20 import com.android.tradefed.util.proto.TfMetricProtoUtil;
57 reporter.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(metrics)); in testGetInvocationSummary_test_run_metrics()
80 reporter.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in testGetInvocationSummary_test_metrics()
131 reporter.testEnded(run1test1Id, TfMetricProtoUtil.upgradeConvert(run1Test1Metrics)); in testGetInvocationSummary_all()
138 reporter.testEnded(run1test2Id, TfMetricProtoUtil.upgradeConvert(run1Test2Metrics)); in testGetInvocationSummary_all()
146 reporter.testEnded(run1test3Id, TfMetricProtoUtil.upgradeConvert(run1Test3Metrics)); in testGetInvocationSummary_all()
156 reporter.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(run1Metrics)); in testGetInvocationSummary_all()
183 reporter.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(run3Metrics)); in testGetInvocationSummary_all()
DMetricsXMLResultReporterTest.java27 import com.android.tradefed.util.proto.TfMetricProtoUtil;
83 mResultReporter.testEnded(testId, TfMetricProtoUtil.upgradeConvert(map)); in testRunMetrics()
84 mResultReporter.testRunEnded(3, TfMetricProtoUtil.upgradeConvert(map)); in testRunMetrics()
110 mResultReporter.testEnded(testId, TfMetricProtoUtil.upgradeConvert(map)); in testTestMetrics()
136 mResultReporter.testEnded(testId, TfMetricProtoUtil.upgradeConvert(map)); in testTestFailMetrics()
/tools/tradefederation/contrib/src/com/android/media/tests/
DTestRunHelper.java22 import com.android.tradefed.util.proto.TfMetricProtoUtil;
55 … mListener.testRunEnded(getTotalTestTime(), TfMetricProtoUtil.upgradeConvert(resultDictionary)); in endTest()
56 mListener.testEnded(mTestId, TfMetricProtoUtil.upgradeConvert(resultDictionary)); in endTest()
DAudioJitterTest.java27 import com.android.tradefed.util.proto.TfMetricProtoUtil;
124 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
128 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
129 listener.testRunEnded(durationMs, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
DVideoMultimeterRunner.java28 import com.android.tradefed.util.proto.TfMetricProtoUtil;
93 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
95 listener.testRunEnded(durationMs, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
DPanoramaBenchMarkTest.java28 import com.android.tradefed.util.proto.TfMetricProtoUtil;
128 listener.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(metrics)); in reportMetrics()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DMetricsXmlParserTest.java35 import com.android.tradefed.util.proto.TfMetricProtoUtil;
127 mResultReporter.testEnded(testId0, TfMetricProtoUtil.upgradeConvert(testMetrics0)); in testParse()
133 mResultReporter.testEnded(testId1, TfMetricProtoUtil.upgradeConvert(testMetrics1)); in testParse()
137 mResultReporter.testRunEnded(3, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testParse()
162 mResultReporter.testEnded(testId0, TfMetricProtoUtil.upgradeConvert(testMetrics0)); in testParseBlacklist()
168 mResultReporter.testEnded(testId1, TfMetricProtoUtil.upgradeConvert(testMetrics1)); in testParseBlacklist()
172 mResultReporter.testRunEnded(3, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testParseBlacklist()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollectorTest.java27 import com.android.tradefed.util.proto.TfMetricProtoUtil;
92 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKey()
114 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKeyPattern()
133 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPatternNotMatching()
153 currentMetrics.put("coverageDirectory", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingDirectory()
DFilePullerLogCollectorTest.java29 import com.android.tradefed.util.proto.TfMetricProtoUtil;
86 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testPullAndLog()
116 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testSkipTestCollection()
DAtraceRunMetricCollectorTest.java27 import com.android.tradefed.util.proto.TfMetricProtoUtil;
87 currentMetrics.put("srcdirectory", TfMetricProtoUtil.stringToMetric("sdcard/srcdirectory")); in testPullMatchingDirectoryKey()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java23 import com.android.tradefed.util.proto.TfMetricProtoUtil;
124 TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
141 TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
155 listener.testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DMetricTestCase.java22 import com.android.tradefed.util.proto.TfMetricProtoUtil;
56 mMetrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in addTestMetric()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DExecCommandTracker.java23 import com.android.tradefed.util.proto.TfMetricProtoUtil;
74 .putAll(TfMetricProtoUtil.compatibleConvert(mRunMetrics)) in getCommandResult()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DGeekbenchTest.java27 import com.android.tradefed.util.proto.TfMetricProtoUtil;
145 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
149 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
150 listener.testRunEnded(durationMs, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
DGLBenchmarkTest.java29 import com.android.tradefed.util.proto.TfMetricProtoUtil;
199 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
203 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
204 listener.testRunEnded(durationMs, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
DAppInstallTest.java28 import com.android.tradefed.util.proto.TfMetricProtoUtil;
148 listener.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(metrics)); in reportMetrics()
DVellamoBenchmark.java27 import com.android.tradefed.util.proto.TfMetricProtoUtil;
163 listener.testRunEnded(durationMs, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DCodeCoverageListenerTest.java33 import com.android.tradefed.util.proto.TfMetricProtoUtil;
97 mCodeCoverageListener.testRunEnded(ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in test()
130 ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in testFailure_unableToPullFile()
DDeviceTestSuiteTest.java24 import com.android.tradefed.util.proto.TfMetricProtoUtil;
70 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_suite()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollector.java24 import com.android.tradefed.util.proto.TfMetricProtoUtil;
62 processMetricRequest(runData, TfMetricProtoUtil.compatibleConvert(currentRunMetrics)); in onTestRunEnd()
67 processMetricRequest(testData, TfMetricProtoUtil.compatibleConvert(currentTestCaseMetrics)); in onTestEnd()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/
DTfMetricProtoUtilTest.java74 Map<String, String> results = TfMetricProtoUtil.compatibleConvert(metrics); in testCompatibleConvert()
85 Metric m = TfMetricProtoUtil.stringToMetric("test"); in testStringConvert()
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DFlatlandTest.java30 import com.android.tradefed.util.proto.TfMetricProtoUtil;
144 (System.currentTimeMillis() - start), TfMetricProtoUtil.upgradeConvert(mResultMap)); in run()
DImageProcessingTest.java33 import com.android.tradefed.util.proto.TfMetricProtoUtil;
137 listener.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(metrics)); in reportMetrics()

123