/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | ConsoleResultReporterTest.java | 20 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()
|
D | MetricsXMLResultReporterTest.java | 27 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()
|
D | JsonHttpTestResultReporterTest.java | 28 import com.android.tradefed.util.proto.TfMetricProtoUtil; 115 target.testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in injectTestRun() 116 target.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(runMetrics)); in injectTestRun()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsXmlParserTest.java | 34 import com.android.tradefed.util.proto.TfMetricProtoUtil; 126 mResultReporter.testEnded(testId0, TfMetricProtoUtil.upgradeConvert(testMetrics0)); in testParse() 132 mResultReporter.testEnded(testId1, TfMetricProtoUtil.upgradeConvert(testMetrics1)); in testParse() 136 mResultReporter.testRunEnded(3, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testParse() 161 mResultReporter.testEnded(testId0, TfMetricProtoUtil.upgradeConvert(testMetrics0)); in testParseBlacklist() 167 mResultReporter.testEnded(testId1, TfMetricProtoUtil.upgradeConvert(testMetrics1)); in testParseBlacklist() 171 mResultReporter.testRunEnded(3, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testParseBlacklist()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollectorTest.java | 16 import com.android.tradefed.util.proto.TfMetricProtoUtil; 81 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKey() 103 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKeyPattern() 124 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testMetricFileProcessingFlow() 151 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPatternNotMatching() 171 currentMetrics.put("coverageDirectory", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingDirectory()
|
D | FilePullerLogCollectorTest.java | 29 import com.android.tradefed.util.proto.TfMetricProtoUtil; 85 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testPullAndLog() 115 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testSkipTestCollection() 148 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testPostProcessFiles()
|
D | IncidentReportCollectorTest.java | 39 import com.android.tradefed.util.proto.TfMetricProtoUtil; 132 mIncidentCollector.testEnded(FAKE_TEST, TfMetricProtoUtil.upgradeConvert(deviceMetrics)); in testPullWithIncidentPrefix() 155 mIncidentCollector.testEnded(FAKE_TEST, TfMetricProtoUtil.upgradeConvert(deviceMetrics)); in testIgnoreOtherFilesProcessed() 172 mIncidentCollector.testEnded(FAKE_TEST, TfMetricProtoUtil.upgradeConvert(deviceMetrics)); in testIgnoreAndLogFailures()
|
D | PerfettoPullerMetricCollectorTest.java | 32 import com.android.tradefed.util.proto.TfMetricProtoUtil; 93 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testProcessingFlow() 125 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testScriptFailureStatus()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessorTest.java | 25 import com.android.tradefed.util.proto.TfMetricProtoUtil; 119 initialMetrics.put("test", TfMetricProtoUtil.stringToMetric("value")); in testPostProcessing() 144 initialMetrics.put("test", TfMetricProtoUtil.stringToMetric("value")); in testPerTestPostProcessing() 175 test1Metrics.put("test", TfMetricProtoUtil.stringToMetric("value1")); in testAllTestMetricsPostProcessing() 177 test2Metrics.put("test", TfMetricProtoUtil.stringToMetric("value2")); in testAllTestMetricsPostProcessing() 179 runMetrics.put("test", TfMetricProtoUtil.stringToMetric("should not change")); in testAllTestMetricsPostProcessing()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 19 import com.android.tradefed.util.proto.TfMetricProtoUtil; 97 testRunEnded(elapsedTimeMillis, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded() 173 testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 197 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
|
D | TestRunResult.java | 21 import com.android.tradefed.util.proto.TfMetricProtoUtil; 282 result.setMetrics(TfMetricProtoUtil.compatibleConvert(testMetrics)); in testEnded() 317 mRunProtoMetrics.putAll(TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded() 326 testRunEnded(elapsedTime, TfMetricProtoUtil.compatibleConvert(runMetrics)); in testRunEnded()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioJitterTest.java | 27 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()
|
D | TestRunHelper.java | 22 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()
|
D | VideoMultimeterRunner.java | 28 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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JavaCodeCoverageListenerTest.java | 37 import com.android.tradefed.util.proto.TfMetricProtoUtil; 111 mCodeCoverageListener.testRunEnded(ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in test() 144 ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in testFailure_unableToPullFile() 182 mCodeCoverageListener.testRunEnded(ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in testMerge_producesSingleMeasurement() 184 mCodeCoverageListener.testRunEnded(ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in testMerge_producesSingleMeasurement()
|
D | NativeCodeCoverageListenerTest.java | 32 import com.android.tradefed.util.proto.TfMetricProtoUtil; 118 mCodeCoverageListener.testRunEnded(ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in test_logsCoverageZip() 148 mCodeCoverageListener.testRunEnded(ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in testNoCoverageFiles_logsEmptyZip() 177 ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in testFailure_unableToPullFile()
|
D | DeviceTestCaseTest.java | 25 import com.android.tradefed.util.proto.TfMetricProtoUtil; 113 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_suite() 137 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_includeFilter() 248 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_singleTest()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 23 import com.android.tradefed.util.proto.TfMetricProtoUtil; 158 TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 179 TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 196 listener.testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | GeekbenchTest.java | 27 import com.android.tradefed.util.proto.TfMetricProtoUtil; 148 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run() 152 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run() 153 listener.testRunEnded(durationMs, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
|
D | GLBenchmarkTest.java | 29 import com.android.tradefed.util.proto.TfMetricProtoUtil; 201 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run() 205 listener.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in run() 206 listener.testRunEnded(durationMs, TfMetricProtoUtil.upgradeConvert(metrics)); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinition.java | 63 import com.android.tradefed.util.proto.TfMetricProtoUtil; 416 TEST_TIME, TfMetricProtoUtil.createSingleValue(0L, "milliseconds")); in run() 651 TfMetricProtoUtil.createSingleValue(mElapsedPreparation, "milliseconds")); in reportFinalResults() 654 TfMetricProtoUtil.createSingleValue(mElapsedTearDown, "milliseconds")); in reportFinalResults() 656 TEST_TIME, TfMetricProtoUtil.createSingleValue(elapsedTime, "milliseconds")); in reportFinalResults() 660 RETRY_TIME, TfMetricProtoUtil.createSingleValue(mRetryTime, "milliseconds")); in reportFinalResults() 662 RETRY_SUCCESS_COUNT, TfMetricProtoUtil.createSingleValue(mSuccessRetried, "")); in reportFinalResults() 664 RETRY_FAIL_COUNT, TfMetricProtoUtil.createSingleValue(mFailedRetried, "")); in reportFinalResults()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | StreamProtoResultReporterTest.java | 30 import com.android.tradefed.util.proto.TfMetricProtoUtil; 71 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream() 140 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream_noInvocationReporting()
|
D | ProtoResultParserTest.java | 34 import com.android.tradefed.util.proto.TfMetricProtoUtil; 139 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents() 256 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_finaleProto() 407 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_subprocess() 503 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_finaleProto_partialEvents()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 39 import com.android.tradefed.util.proto.TfMetricProtoUtil; 251 ONLINE_TIME, TfMetricProtoUtil.stringToMetric(Long.toString(onlineTime))); in testFastboot() 256 TfMetricProtoUtil.stringToMetric(Long.toString(bootTime))); in testFastboot()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | MetricTestCase.java | 22 import com.android.tradefed.util.proto.TfMetricProtoUtil; 56 mMetrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in addTestMetric()
|