/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollector.java | 18 import static com.android.tradefed.util.proto.TfMetricProtoUtil.stringToMetric; 227 stringToMetric( in addStatsdStatsBasedMetrics() 237 stringToMetric( in addStatsdStatsBasedMetrics() 251 metrics.put(countMetricKey, stringToMetric(String.valueOf(timestampsNanos.size()))); in addAtomBasedMetrics() 259 stringToMetric( in addAtomBasedMetrics() 269 stringToMetric( in addAtomBasedMetrics()
|
D | RebootReasonCollector.java | 18 import static com.android.tradefed.util.proto.TfMetricProtoUtil.stringToMetric; 105 stringToMetric( in onTestRunEnd() 112 bootReasonKey, key -> stringToMetric(String.valueOf(1))); in onTestRunEnd()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollectorTest.java | 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 | PerfettoPullerMetricCollectorTest.java | 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 | 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/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/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 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()
|
D | StreamProtoResultReporterTest.java | 71 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream() 140 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testStream_noInvocationReporting()
|
D | ProtoResultReporterTest.java | 80 metrics.put("metric1", TfMetricProtoUtil.stringToMetric("value1")); in testFinalizeProto()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 615 metrics.put("metric0" + i, TfMetricProtoUtil.stringToMetric("value0" + i)); in createFakeResult() 616 metrics.put("metric1" + i, TfMetricProtoUtil.stringToMetric("value1" + i)); in createFakeResult() 619 metrics.put("%_capacity" + i, TfMetricProtoUtil.stringToMetric("0.00")); in createFakeResult() 620 metrics.put("&_capacity" + i, TfMetricProtoUtil.stringToMetric("0.00")); in createFakeResult()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 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 | 56 mMetrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in addTestMetric()
|
D | TfTestLauncher.java | 321 "elapsed-time", TfMetricProtoUtil.stringToMetric(Long.toString(elapsedTime))); in reportMetrics()
|
/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/testdefs/ |
D | XmlDefsTest.java | 304 coverageMetric.put(COVERAGE_TARGET_KEY, TfMetricProtoUtil.stringToMetric(coverageTarget)); in sendCoverage()
|
/tools/tradefederation/contrib/src/com/android/ota/tests/ |
D | OtaStabilityTest.java | 236 TfMetricProtoUtil.stringToMetric(Integer.toString(actualIterations))); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 677 metrics.put(key, TfMetricProtoUtil.stringToMetric(value)); in parseMetrics()
|