/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | StubTestMetricListener.java | 29 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()
|
D | BaselineProfileCollectorTest.java | 91 .addStringMetric( in testBaselineProfile_isReportedIfOneExists() 110 .addStringMetric( in testBaselineProfile_areAllReportedIfManyExists() 114 .addStringMetric( in testBaselineProfile_areAllReportedIfManyExists() 128 verify(transparentDataRecord, never()).addStringMetric(anyString(), anyString()); in testBaselineProfile_isNotReportedIfNoneExist()
|
D | StubScheduledRunMetricListener.java | 29 runData.addStringMetric("collect" + mIndex, "value" + mIndex); in collect()
|
D | PerfettoTracingPerClassStrategyTest.java | 179 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()
|
D | ScheduledRunMetricListenerTest.java | 52 runData.addStringMetric(TEST_RUN_KEY + counter, TEST_RUN_VALUE + counter); in setUp()
|
D | BaseMetricListenerInstrumentedTest.java | 79 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/ |
D | BaselineProfileCollector.java | 85 runData.addStringMetric("baseline-profile", baselineProfiles[0].getAbsolutePath()); in onTestRunEnd() 89 runData.addStringMetric( in onTestRunEnd()
|
D | OatDumpCollector.java | 119 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()
|
D | MobilityChangeCollector.java | 65 runData.addStringMetric("mobility-changes", mobilityChanges); in onTestRunEnd()
|
D | DataRecord.java | 40 public void addStringMetric(String key, String value) { in addStringMetric() method in DataRecord
|
D | PerfettoTracingPerClassStrategy.java | 131 dataRecord.addStringMetric(metricName, filePath); in uploadMetrics()
|
D | BaseCollectionListener.java | 145 data.addStringMetric(entry.getKey(), entry.getValue().toString()); in collectMetrics()
|
D | SimpleperfListener.java | 288 record.addStringMetric(SIMPLEPERF_FILE_PATH, path.toString()); in stopSimpleperf() 307 data.addStringMetric(metric.getKey(), metric.getValue()); in getSimpleperfReport()
|
D | LogcatCollector.java | 158 runData.addStringMetric(getTag(), mDestDir.getAbsolutePath().toString()); in onTestRunEnd()
|
D | PerfettoTracingStrategy.java | 296 record.addStringMetric(PERFETTO_FILE_PATH, path.toString()); in stopPerfettoTracingAndReportMetric()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceResultsCollector.kt | 213 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/ |
D | ClassMetricRuleTest.java | 120 testData.addStringMetric(mName + "-test", "value"); in onTestEnd() 126 runData.addStringMetric(mName + "-run", "value"); in onTestRunEnd()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/ |
D | FlickerServiceResultsCollectorTest.kt | 78 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/ |
D | UiInteractionFrameInfoListener.java | 103 data.addStringMetric(key, Double.toString(result));
|