/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | ScheduledRunMetricListener.java | 49 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
|
D | MobilityChangeCollector.java | 46 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()
|
D | PerfettoTracingPerRunStrategy.java | 71 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()
|
D | PerfettoListener.java | 60 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()
|
D | BaselineProfileCollector.java | 73 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()
|
D | IncidentReportListener.java | 56 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()
|
D | GcaEventLogCollector.java | 98 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
|
D | BaseCollectionListener.java | 65 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()
|
D | OatDumpCollector.java | 68 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()
|
D | BatteryStatsListener.java | 85 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument 148 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument 158 … runData.addFileMetric(String.format("%s_%s", getTag(), logFile.getName()), logFile); in onTestRunEnd() 164 runData.addBinaryMetric(key, proto); in onTestRunEnd()
|
D | LogcatCollector.java | 87 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()
|
D | PerfettoTracingPerClassStrategy.java | 91 void testRunEnd(DataRecord runData, Result result) { in testRunEnd() argument 101 doStopTrace(runData, /* isTestRunEnd */ true); in testRunEnd()
|
D | SimpleperfListener.java | 120 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/ |
D | FlickerServiceResultsCollectorTest.kt | 62 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/ |
D | StubTestMetricListener.java | 28 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()
|
D | StubScheduledRunMetricListener.java | 28 public void collect(DataRecord runData, Description description) throws InterruptedException { in collect() argument 29 runData.addStringMetric("collect" + mIndex, "value" + mIndex); in collect()
|
D | ScheduledRunMetricListenerTest.java | 51 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/ |
D | UiInteractionFrameInfoListener.java | 47 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/ |
D | MemhogPreparer.java | 43 public void onTestRunStart(DataRecord runData, Description description) { in onTestRunStart() argument 56 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument
|
D | ThermalThrottlingPreparer.java | 43 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/ |
D | BatterystatsCollectorHostTest.java | 94 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()
|
D | LogcatCollectorHostTest.java | 100 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/ |
D | StatsdListenerTest.java | 139 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/ |
D | FlickerServiceResultsCollector.kt | 73 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/ |
D | ClassMetricRuleTest.java | 125 public void onTestRunEnd(DataRecord runData, Result result) { in onTestRunEnd() argument 126 runData.addStringMetric(mName + "-run", "value"); in onTestRunEnd()
|