Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DShowmapPullerMetricCollectorTest.java107 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 …]
DFilePullerDeviceMetricCollectorTest.java93 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()
DPerfettoPullerMetricCollectorTest.java101 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 …]
DBluetoothHciSnoopLogCollectorTest.java117 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/
DRuntimeRestartCollector.java18 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()
DRebootReasonCollector.java18 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()
DBluetoothConnectionLatencyCollector.java132 TfMetricProtoUtil.stringToMetric(Double.toString(durationMs)))); in processBluetoothConnectionLatencyData()
/tools/tradefederation/core/src/com/android/tradefed/result/
DModuleResultsAndMetricsForwarder.java107 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/
DTfMetricProtoUtil.java98 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/
DPerfettoGenericPostProcessor.java319 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()
DStatsdGenericPostProcessor.java253 TfMetricProtoUtil.stringToMetric(listMetrics.get(i).toString()) in convertProtoMessage()
260 TfMetricProtoUtil.stringToMetric(entry.getValue().toString()).toBuilder()); in convertProtoMessage()
DStatsdEventMetricPostProcessor.java122 finalMetrics.put(key, TfMetricProtoUtil.stringToMetric(value).toBuilder()); in parseMetricsFromReportList()
DStatsdBeforeAfterGaugeMetricPostProcessor.java419 TfMetricProtoUtil.stringToMetric( in finalizeMetrics()
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/
DBasePostProcessorTest.java109 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/
DMetricTestCase.java56 mMetrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in addTestMetric()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java254 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/
DModuleListener.java144 TfMetricProtoUtil.stringToMetric(mAttemptIsolation.toString())); in testRunEnded()
213 TfMetricProtoUtil.stringToMetric(mTestMappingSources.toString())); in testEnded()
/tools/tradefederation/core/javatests/com/android/tradefed/util/proto/
DTfMetricProtoUtilTest.java85 Metric m = TfMetricProtoUtil.stringToMetric("test"); in testStringConvert()
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/
DStreamProtoResultReporterTest.java92 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream()
203 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream_noInvocationReporting()
DProtoResultParserTest.java157 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()
DProtoResultReporterTest.java85 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testFinalizeProto()
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java828 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/
DTfTestLauncher.java220 "elapsed-time", TfMetricProtoUtil.stringToMetric(Long.toString(elapsedTime))); in reportMetrics()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java747 metrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in parseMetrics()