/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollectorTest.java | 85 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKey() 107 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage1")); in testPullMultipleMatchingKeyInMetrics() 109 TfMetricProtoUtil.stringToMetric("/data/coverage2")); in testPullMultipleMatchingKeyInMetrics() 136 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKeyPattern() 157 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testMetricFileProcessingFlow() 184 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPatternNotMatching() 204 currentMetrics.put("coverageDirectory", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingDirectory()
|
D | PerfettoPullerMetricCollectorTest.java | 98 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testProcessingFlow() 133 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testCompressedProcessingFlow() 169 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testScriptFailureStatus() 206 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testBinaryArgs() 240 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testTraceProcessorArgsDefaults() 290 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testTraceProcessorAdditionalArgs()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessorTest.java | 79 TfMetricProtoUtil.stringToMetric(testLogs.get(dataName).getPath()) in processTestMetricsAndLogs() 105 TfMetricProtoUtil.stringToMetric(runLogs.get(dataName).getPath()) in processRunMetricsAndLogs() 136 TfMetricProtoUtil.stringToMetric( in processAllTestMetricsAndLogs() 201 initialMetrics.put("test", TfMetricProtoUtil.stringToMetric("value")); in testRunLevelPostProcessing() 313 initialMetrics.put("test", TfMetricProtoUtil.stringToMetric("value")); in testPerTestPostProcessing() 502 test1Metrics.put("test", TfMetricProtoUtil.stringToMetric("value1")); in testAllTestMetricsPostProcessing() 504 test2Metrics.put("test", TfMetricProtoUtil.stringToMetric("value2")); in testAllTestMetricsPostProcessing() 506 runMetrics.put("test", TfMetricProtoUtil.stringToMetric("should not change")); in testAllTestMetricsPostProcessing()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollector.java | 18 import static com.android.tradefed.util.proto.TfMetricProtoUtil.stringToMetric; 225 metrics.put(countMetricKey, stringToMetric(String.valueOf(timestampsSecs.size()))); in addStatsdStatsBasedMetrics() 234 stringToMetric( in addStatsdStatsBasedMetrics() 244 stringToMetric( in addStatsdStatsBasedMetrics() 262 stringToMetric( in addAtomBasedMetrics() 272 stringToMetric( in addAtomBasedMetrics()
|
D | RebootReasonCollector.java | 18 import static com.android.tradefed.util.proto.TfMetricProtoUtil.stringToMetric; 110 stringToMetric(String.valueOf(metricsForDevice.get(key))).toBuilder()); in onTestRunEnd() 114 device, COUNT_KEY, stringToMetric(String.valueOf(rebootCount)).toBuilder()); in onTestRunEnd()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 146 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents() 366 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_finaleProto() 561 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_subprocess() 657 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_finaleProto_partialEvents()
|
D | StreamProtoResultReporterTest.java | 74 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream() 166 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream_noInvocationReporting()
|
D | ProtoResultReporterTest.java | 85 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testFinalizeProto()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 677 metrics.put("metric0" + i, TfMetricProtoUtil.stringToMetric("value0" + i)); in createFakeResult() 678 metrics.put("metric1" + i, TfMetricProtoUtil.stringToMetric("value1" + i)); in createFakeResult() 681 metrics.put("%_capacity" + i, TfMetricProtoUtil.stringToMetric("0.00")); in createFakeResult() 682 metrics.put("&_capacity" + i, TfMetricProtoUtil.stringToMetric("0.00")); in createFakeResult()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/ |
D | PerfettoGenericPostProcessor.java | 351 TfMetricProtoUtil.stringToMetric(entry.getValue().toString()) in convertPerfettoProtoMessage() 357 TfMetricProtoUtil.stringToMetric( in convertPerfettoProtoMessage() 455 TfMetricProtoUtil.stringToMetric(listMetrics.get(i).toString()) in convertPerfettoProtoMessage()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/util/proto/ |
D | TfMetricProtoUtil.java | 76 newFormat.put(key, stringToMetric(metrics.get(key))); in upgradeConvert() 87 public static Metric stringToMetric(String metric) { in stringToMetric() method in TfMetricProtoUtil
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | StatsdGenericPostProcessor.java | 210 TfMetricProtoUtil.stringToMetric(listMetrics.get(i).toString()) in convertProtoMessage() 217 TfMetricProtoUtil.stringToMetric(entry.getValue().toString()).toBuilder()); in convertProtoMessage()
|
D | StatsdEventMetricPostProcessor.java | 109 finalMetrics.put(key, TfMetricProtoUtil.stringToMetric(value).toBuilder()); in parseMetricsFromReportList()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 254 ONLINE_TIME, TfMetricProtoUtil.stringToMetric(Long.toString(onlineTime))); in testFastboot() 259 TfMetricProtoUtil.stringToMetric(Long.toString(bootTime))); in testFastboot()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | MetricTestCase.java | 56 mMetrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in addTestMetric()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/proto/ |
D | TfMetricProtoUtilTest.java | 85 Metric m = TfMetricProtoUtil.stringToMetric("test"); in testStringConvert()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | TfTestLauncher.java | 338 "elapsed-time", TfMetricProtoUtil.stringToMetric(Long.toString(elapsedTime))); in reportMetrics()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 702 metrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in parseMetrics()
|