Home
last modified time | relevance | path

Searched refs:addStringMetric (Results 1 – 19 of 19) sorted by relevance

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DStubTestMetricListener.java29 runData.addStringMetric("run_start", "run_Start" + description.getClassName()); in onTestRunStart()
34 runData.addStringMetric("run_end", "run_end"); in onTestRunEnd()
39 testData.addStringMetric("test_start", "test_start" + description.getMethodName()); in onTestStart()
44 testData.addStringMetric("test_fail", "test_fail" + description.getMethodName()); in onTestFail()
49 testData.addStringMetric("test_end", "test_end" + description.getMethodName()); in onTestEnd()
DBaselineProfileCollectorTest.java91 .addStringMetric( in testBaselineProfile_isReportedIfOneExists()
110 .addStringMetric( in testBaselineProfile_areAllReportedIfManyExists()
114 .addStringMetric( in testBaselineProfile_areAllReportedIfManyExists()
128 verify(transparentDataRecord, never()).addStringMetric(anyString(), anyString()); in testBaselineProfile_isNotReportedIfNoneExist()
DStubScheduledRunMetricListener.java29 runData.addStringMetric("collect" + mIndex, "value" + mIndex); in collect()
DPerfettoTracingPerClassStrategyTest.java179 verify(dataRecord, times(0)).addStringMetric(anyString(), anyString()); in testDoNotReportMetricOnTest()
195 verify(dataRecord, times(1)).addStringMetric(anyString(), anyString()); in testReportMetricOnRunEndOnly()
212 verify(dataRecord, times(0)).addStringMetric(anyString(), anyString()); in testReportMultipleMetricsOnRunEnd()
214 verify(dataRecord, times(2)).addStringMetric(anyString(), anyString()); in testReportMultipleMetricsOnRunEnd()
DScheduledRunMetricListenerTest.java52 runData.addStringMetric(TEST_RUN_KEY + counter, TEST_RUN_VALUE + counter); in setUp()
DBaseMetricListenerInstrumentedTest.java79 testData.addStringMetric( in createWithArgs()
87 testData.addStringMetric( in createWithArgs()
96 runData.addStringMetric(RUN_START_KEY, RUN_START_VALUE); in createWithArgs()
103 runData.addStringMetric(RUN_END_KEY, RUN_END_VALUE); in createWithArgs()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaselineProfileCollector.java85 runData.addStringMetric("baseline-profile", baselineProfiles[0].getAbsolutePath()); in onTestRunEnd()
89 runData.addStringMetric( in onTestRunEnd()
DOatDumpCollector.java119 record.addStringMetric(fileKey, oatDumpFile.getAbsolutePath()); in collectOatDumpAndMetrics()
122 record.addStringMetric(odexFileSizeKey, String.valueOf(odexFile.length())); in collectOatDumpAndMetrics()
125 record.addStringMetric(reportedSizeKey, readSizeMetricFromOatDump(oatDumpFile)); in collectOatDumpAndMetrics()
DMobilityChangeCollector.java65 runData.addStringMetric("mobility-changes", mobilityChanges); in onTestRunEnd()
DDataRecord.java40 public void addStringMetric(String key, String value) { in addStringMetric() method in DataRecord
DPerfettoTracingPerClassStrategy.java131 dataRecord.addStringMetric(metricName, filePath); in uploadMetrics()
DBaseCollectionListener.java145 data.addStringMetric(entry.getKey(), entry.getValue().toString()); in collectMetrics()
DSimpleperfListener.java288 record.addStringMetric(SIMPLEPERF_FILE_PATH, path.toString()); in stopSimpleperf()
307 data.addStringMetric(metric.getKey(), metric.getValue()); in getSimpleperfReport()
DLogcatCollector.java158 runData.addStringMetric(getTag(), mDestDir.getAbsolutePath().toString()); in onTestRunEnd()
DPerfettoTracingStrategy.java296 record.addStringMetric(PERFETTO_FILE_PATH, path.toString()); in stopPerfettoTracingAndReportMetric()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt213 dataRecord.addStringMetric(FLICKER_ASSERTIONS_COUNT_KEY, "${results.size}") in <lambda>()
221 dataRecord.addStringMetric(WINSCOPE_FILE_PATH_KEY, reader.artifactPath) in <lambda>()
256 data.addStringMetric("${key}_$index", "$resultStatus") in <lambda>()
290 record.addStringMetric(FAAS_STATUS_KEY, status.toString()) in <lambda>()
336 dataRecord.addStringMetric(FAAS_RESULTS_FILE_PATH_KEY, statusFile.absolutePath) in <lambda>()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DClassMetricRuleTest.java120 testData.addStringMetric(mName + "-test", "value"); in onTestEnd()
126 runData.addStringMetric(mName + "-run", "value"); in onTestRunEnd()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DFlickerServiceResultsCollectorTest.kt78 Mockito.verify(testData).addStringMetric("FAAS_STATUS", OK_STATUS_CODE.toString()) in <lambda>()
80 .addStringMetric( in <lambda>()
86 .addStringMetric(Mockito.anyString(), Mockito.anyString()) in <lambda>()
283 Mockito.verify(testData).addStringMetric("FAAS_STATUS", OK_STATUS_CODE.toString()) in <lambda>()
450 override fun addStringMetric(key: String, value: String) { in <lambda>() method in android.tools.flicker.FlickerServiceResultsCollectorTest.Companion.SpyDataRecord
451 super.addStringMetric(key, value) in <lambda>()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DUiInteractionFrameInfoListener.java103 data.addStringMetric(key, Double.toString(result));