Home
last modified time | relevance | path

Searched refs:runData (Results 1 – 25 of 34) sorted by relevance

12

/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScheduledRunMetricListener.java49 public final void onTestRunStart(final DataRecord runData, final Description description) { in onTestRunStart() argument
51 onStart(runData, description); in onTestRunStart()
59 collect(runData, description); in onTestRunStart()
72 public final void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
77 onEnd(runData, result); in onTestRunEnd()
87 void onStart(DataRecord runData, Description description) { in onStart() argument
97 void onEnd(DataRecord runData, Result result) { in onEnd() argument
108 public abstract void collect(DataRecord runData, Description description) in collect() argument
DMobilityChangeCollector.java46 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
53 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
58 runData.addFileMetric( in onTestRunEnd()
65 runData.addStringMetric("mobility-changes", mobilityChanges); in onTestRunEnd()
DPerfettoTracingPerRunStrategy.java71 void testRunStart(DataRecord runData, Description description) { in testRunStart() argument
72 super.testRunStart(runData, description); in testRunStart()
83 void testRunEnd(DataRecord runData, Result result) { in testRunEnd() argument
98 stopPerfettoTracingAndReportMetric(path, runData); in testRunEnd()
DPerfettoListener.java60 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
61 mTracingStrategy.testRunStart(runData, description); in onTestRunStart()
80 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
81 mTracingStrategy.testRunEnd(runData, result); in onTestRunEnd()
DBaselineProfileCollector.java73 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
85 runData.addStringMetric("baseline-profile", baselineProfiles[0].getAbsolutePath()); in onTestRunEnd()
89 runData.addStringMetric( in onTestRunEnd()
DIncidentReportListener.java56 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
71 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
105 runData.addFileMetric(FINAL_REPORT_KEY, destination); in onTestRunEnd()
DGcaEventLogCollector.java98 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
110 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
113 collectEventLog(runData, null); in onTestRunEnd()
123 public void onTestStart(DataRecord runData, Description description) { in onTestStart() argument
146 public void onTestFail(DataRecord runData, Description description, Failure failure) { in onTestFail() argument
DBaseCollectionListener.java65 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
120 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
123 collectMetrics(runData); in onTestRunEnd()
DOatDumpCollector.java68 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
69 collectOatDumpAndMetrics(runData, TEST_RUN_START_SUFFIX); in onTestRunStart()
73 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
74 collectOatDumpAndMetrics(runData, TEST_RUN_END_SUFFIX); in onTestRunEnd()
DBatteryStatsListener.java85 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
148 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
158runData.addFileMetric(String.format("%s_%s", getTag(), logFile.getName()), logFile); in onTestRunEnd()
164 runData.addBinaryMetric(key, proto); in onTestRunEnd()
DLogcatCollector.java87 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
156 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
158 runData.addStringMetric(getTag(), mDestDir.getAbsolutePath().toString()); in onTestRunEnd()
DPerfettoTracingPerClassStrategy.java91 void testRunEnd(DataRecord runData, Result result) { in testRunEnd() argument
101 doStopTrace(runData, /* isTestRunEnd */ true); in testRunEnd()
DSimpleperfListener.java120 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
245 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
262 stopSimpleperf(path, runData); in onTestRunEnd()
264 getSimpleperfReport(path, runData); in onTestRunEnd()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DFlickerServiceResultsCollectorTest.kt62 val runData = DataRecord() in <lambda>() constant
67 collector.onTestRunStart(runData, runDescription) in <lambda>()
71 collector.onTestRunEnd(runData, Mockito.mock(org.junit.runner.Result::class.java)) in <lambda>()
75 Truth.assertThat(runData.hasMetrics()).isFalse() in <lambda>()
93 val runData = DataRecord() in <lambda>() constant
98 collector.onTestRunStart(runData, runDescription) in <lambda>()
102 collector.onTestRunEnd(runData, Mockito.mock(org.junit.runner.Result::class.java)) in <lambda>()
107 Truth.assertThat(runData.hasMetrics()).isFalse() in <lambda>()
113 val runData = DataRecord() in <lambda>() constant
118 collector.onTestRunStart(runData, runDescription) in <lambda>()
[all …]
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DStubTestMetricListener.java28 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
29 runData.addStringMetric("run_start", "run_Start" + description.getClassName()); in onTestRunStart()
33 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
34 runData.addStringMetric("run_end", "run_end"); in onTestRunEnd()
DStubScheduledRunMetricListener.java28 public void collect(DataRecord runData, Description description) throws InterruptedException { in collect() argument
29 runData.addStringMetric("collect" + mIndex, "value" + mIndex); in collect()
DScheduledRunMetricListenerTest.java51 public void collect(DataRecord runData, Description desc) throws InterruptedException { in setUp()
52 runData.addStringMetric(TEST_RUN_KEY + counter, TEST_RUN_VALUE + counter); in setUp()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DUiInteractionFrameInfoListener.java47 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
48 super.onTestRunStart(runData, description); in onTestRunStart()
52 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
53 super.onTestRunEnd(runData, result); in onTestRunEnd()
/platform_testing/libraries/device-collectors/src/main/java/android/device/preparers/
DMemhogPreparer.java43 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
56 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
DThermalThrottlingPreparer.java43 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument
54 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DBatterystatsCollectorHostTest.java94 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in testBatteryStatsListener_perRun()
97 runData.addMetric(key, Metric.newBuilder().setMeasurements( in testBatteryStatsListener_perRun()
113 DeviceMetricData runData) { in testBatteryStatsListener_perRun()
145 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in testBatteryStatsListener_perTest()
160 DeviceMetricData runData) { in testBatteryStatsListener_perTest()
DLogcatCollectorHostTest.java100 public void processMetricFile(String key, File metricFile, DeviceMetricData runData) { in processMetricFile() argument
116 String key, File metricDirectory, DeviceMetricData runData) {} in processMetricDirectory() argument
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DStatsdListenerTest.java139 DataRecord runData = new DataRecord(); in testRunLevelCollection_statsdInteraction() local
142 mListener.onTestRunStart(runData, description); in testRunLevelCollection_statsdInteraction()
147 mListener.onTestRunEnd(runData, new Result()); in testRunLevelCollection_statsdInteraction()
163 DataRecord runData = mock(DataRecord.class); in testRunLevelCollection_metrics() local
166 mListener.onTestRunStart(runData, description); in testRunLevelCollection_metrics()
167 mListener.onTestRunEnd(runData, new Result()); in testRunLevelCollection_metrics()
180 verify(runData, times(1)) in testRunLevelCollection_metrics()
202 verify(runData, times(1)) in testRunLevelCollection_metrics()
433 DataRecord runData = mock(DataRecord.class); in testRunAndTestLevelCollection() local
436 mListener.onTestRunStart(runData, runDescription); in testRunAndTestLevelCollection()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt73 override fun onTestRunStart(runData: DataRecord, description: Description) { in <lambda>()
159 override fun onTestRunEnd(runData: DataRecord, result: Result) { in <lambda>()
171 return@errorReportingBlock collectFlickerMetrics(runData, reader) in <lambda>()
175 runData, in <lambda>()
178 runData in <lambda>()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DClassMetricRuleTest.java125 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
126 runData.addStringMetric(mName + "-run", "value"); in onTestRunEnd()

12