/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | ShowmapPullerMetricCollectorTest.java | 107 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in test16ColumnHeaders() 158 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in test17ColumnHeaders() 204 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in testOneObjectTwiceFlow() 250 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in testTwoObjectOnceFlow() 297 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in testThreeObjectOnceFlow() 354 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in testTwoProcessesFlow() 416 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in testNoProcessMatchFlow() 466 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in testNoProcessFlow() 518 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in testErrorFlow() 539 TfMetricProtoUtil.stringToMetric("/sdcard/test_results/showmap.txt")); in testEmptyFileFlow() [all …]
|
D | FilePullerDeviceMetricCollectorTest.java | 93 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKey() 115 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage1")); in testPullMultipleMatchingKeyInMetrics() 117 TfMetricProtoUtil.stringToMetric("/data/coverage2")); in testPullMultipleMatchingKeyInMetrics() 144 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKeyPattern() 166 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testMetricFileProcessingFlow() 193 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPatternNotMatching() 213 currentMetrics.put("coverageDirectory", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingDirectory()
|
D | PerfettoPullerMetricCollectorTest.java | 101 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testProcessingFlow() 141 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testProcessingFlowWithFileSizeMetric() 181 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testCompressedProcessingFlow() 219 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testScriptFailureStatus() 258 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testBinaryArgs() 294 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testTraceProcessorArgsDefaults() 348 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testTraceProcessorAdditionalArgs() 393 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testTraceProcessorMetricV2Args() 455 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testTraceProcessorMetricV1andV2Args() 516 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testTraceProcessorRunTimeAndStatus_success() [all …]
|
D | BluetoothHciSnoopLogCollectorTest.java | 117 metrics.put(pullPatternKey, TfMetricProtoUtil.stringToMetric(pullPatternPath)); in testPullFileAndLog() 118 metrics.put("another_metrics", TfMetricProtoUtil.stringToMetric("57")); in testPullFileAndLog() 165 metrics.put("another_metrics", TfMetricProtoUtil.stringToMetric("57")); in testPullDirMultipleSnoopLogs()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollector.java | 18 import static com.android.tradefed.util.proto.TfMetricProtoUtil.stringToMetric; 219 metrics.put(countMetricKey, stringToMetric(String.valueOf(timestampsSecs.size()))); in addStatsdStatsBasedMetrics() 228 stringToMetric( in addStatsdStatsBasedMetrics() 238 stringToMetric( in addStatsdStatsBasedMetrics() 256 stringToMetric( in addAtomBasedMetrics() 266 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()
|
D | BluetoothConnectionLatencyCollector.java | 132 TfMetricProtoUtil.stringToMetric(Double.toString(durationMs)))); in processBluetoothConnectionLatencyData()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ModuleResultsAndMetricsForwarder.java | 107 TfMetricProtoUtil.stringToMetric(mTestMappingSources.toString())); in testEnded() 127 "run-isolated", TfMetricProtoUtil.stringToMetric(mAttemptIsolation.toString())); in testRunEnded()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/util/proto/ |
D | TfMetricProtoUtil.java | 98 metric = stringToMetric(stringMetric); in upgradeConvert() 122 public static Metric stringToMetric(String metric) { in stringToMetric() method in TfMetricProtoUtil
|
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/ |
D | PerfettoGenericPostProcessor.java | 319 TfMetricProtoUtil.stringToMetric( in processPerfettoMetrics() 381 TfMetricProtoUtil.stringToMetric(node.getValue().getAsString()).toBuilder()); in flattenJson() 517 TfMetricProtoUtil.stringToMetric(entry.getValue().toString()) in convertPerfettoProtoMessage() 523 TfMetricProtoUtil.stringToMetric( in convertPerfettoProtoMessage() 637 TfMetricProtoUtil.stringToMetric(listMetrics.get(i).toString()) in convertPerfettoProtoMessage() 702 TfMetricProtoUtil.stringToMetric(String.format("%f", rowValue)) in convertPerfettoProtoMessageV2()
|
D | StatsdGenericPostProcessor.java | 253 TfMetricProtoUtil.stringToMetric(listMetrics.get(i).toString()) in convertProtoMessage() 260 TfMetricProtoUtil.stringToMetric(entry.getValue().toString()).toBuilder()); in convertProtoMessage()
|
D | StatsdEventMetricPostProcessor.java | 122 finalMetrics.put(key, TfMetricProtoUtil.stringToMetric(value).toBuilder()); in parseMetricsFromReportList()
|
D | StatsdBeforeAfterGaugeMetricPostProcessor.java | 419 TfMetricProtoUtil.stringToMetric( in finalizeMetrics()
|
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/ |
D | BasePostProcessorTest.java | 109 TfMetricProtoUtil.stringToMetric(testLogs.get(dataName).getUrl()) in processTestMetricsAndLogs() 141 TfMetricProtoUtil.stringToMetric(runLogs.get(dataName).getUrl()) in processRunMetricsAndLogs() 178 TfMetricProtoUtil.stringToMetric( in processAllTestMetricsAndLogs() 290 initialMetrics.put("test", TfMetricProtoUtil.stringToMetric("value")); in testRunLevelPostProcessing() 391 initialMetrics.put("test", TfMetricProtoUtil.stringToMetric("value")); in testPerTestPostProcessing() 548 test1Metrics.put("test", TfMetricProtoUtil.stringToMetric("value1")); in testAllTestMetricsPostProcessing() 550 test2Metrics.put("test", TfMetricProtoUtil.stringToMetric("value2")); in testAllTestMetricsPostProcessing() 552 runMetrics.put("test", TfMetricProtoUtil.stringToMetric("should not change")); in testAllTestMetricsPostProcessing()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | MetricTestCase.java | 56 mMetrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in addTestMetric()
|
/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/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 144 TfMetricProtoUtil.stringToMetric(mAttemptIsolation.toString())); in testRunEnded() 213 TfMetricProtoUtil.stringToMetric(mTestMappingSources.toString())); in testEnded()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/proto/ |
D | TfMetricProtoUtilTest.java | 85 Metric m = TfMetricProtoUtil.stringToMetric("test"); in testStringConvert()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/ |
D | StreamProtoResultReporterTest.java | 92 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream() 203 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream_noInvocationReporting()
|
D | ProtoResultParserTest.java | 157 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents() 379 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_finaleProto() 575 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_subprocess() 675 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testEvents_finaleProto_partialEvents()
|
D | ProtoResultReporterTest.java | 85 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testFinalizeProto()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 828 metrics.put("metric0" + i, TfMetricProtoUtil.stringToMetric("value0" + i)); in createFakeResult() 829 metrics.put("metric1" + i, TfMetricProtoUtil.stringToMetric("value1" + i)); in createFakeResult() 832 metrics.put("%_capacity" + i, TfMetricProtoUtil.stringToMetric("0.00")); in createFakeResult() 833 metrics.put("&_capacity" + i, TfMetricProtoUtil.stringToMetric("0.00")); in createFakeResult()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | TfTestLauncher.java | 220 "elapsed-time", TfMetricProtoUtil.stringToMetric(Long.toString(elapsedTime))); in reportMetrics()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 747 metrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in parseMetrics()
|