/platform_testing/libraries/flicker/test/src/android/tools/flicker/ |
D | FlickerServiceResultsCollectorTest.kt | 64 val testData = Mockito.mock(DataRecord::class.java) in <lambda>() constant 68 collector.onTestStart(testData, testDescription) in <lambda>() 69 collector.onTestFail(testData, testDescription, Mockito.mock(Failure::class.java)) in <lambda>() 70 collector.onTestEnd(testData, testDescription) in <lambda>() 78 Mockito.verify(testData).addStringMetric("FAAS_STATUS", OK_STATUS_CODE.toString()) in <lambda>() 79 Mockito.verify(testData) in <lambda>() 85 Mockito.verify(testData, Mockito.times(2)) in <lambda>() 95 val testData = DataRecord() in <lambda>() constant 99 collector.onTestStart(testData, testDescription) in <lambda>() 100 collector.onTestFail(testData, testDescription, Mockito.mock(Failure::class.java)) in <lambda>() [all …]
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | StubTestMetricListener.java | 38 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 39 testData.addStringMetric("test_start", "test_start" + description.getMethodName()); in onTestStart() 43 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 44 testData.addStringMetric("test_fail", "test_fail" + description.getMethodName()); in onTestFail() 48 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 49 testData.addStringMetric("test_end", "test_end" + description.getMethodName()); in onTestEnd()
|
D | BaseMetricListenerInstrumentedTest.java | 75 public void onTestStart(DataRecord testData, Description description) { in createWithArgs() argument 77 assertFalse(testData.hasMetrics()); in createWithArgs() 79 testData.addStringMetric( in createWithArgs() 85 public void onTestEnd(DataRecord testData, Description description) { in createWithArgs() argument 87 testData.addStringMetric( in createWithArgs() 392 public void onTestStart(DataRecord testData, Description description) { in testSetUpAndCleanUpWithTestCycle() 397 public void onTestEnd(DataRecord testData, Description description) { in testSetUpAndCleanUpWithTestCycle()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | PerfettoListener.java | 65 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 66 mTracingStrategy.testStart(testData, description); in onTestStart() 70 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 71 mTracingStrategy.testFail(testData, description, failure); in onTestFail() 75 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 76 mTracingStrategy.testEnd(testData, description); in onTestEnd()
|
D | PerfettoTracingPerTestStrategy.java | 86 void testStart(DataRecord testData, Description description) { in testStart() argument 87 super.testStart(testData, description); in testStart() 101 void testEnd(DataRecord testData, Description description) { in testEnd() argument 121 stopPerfettoTracingAndReportMetric(path, testData); in testEnd()
|
D | BaseCollectionListener.java | 87 public final void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 96 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 101 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 111 collectMetrics(testData); in onTestEnd()
|
D | LogcatCollector.java | 95 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 110 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 119 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 140 testData.addFileMetric(String.format("%s_%s", getTag(), logcat.getName()), in onTestEnd()
|
D | ScreenshotOnFailureCollector.java | 101 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 109 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 125 testData.addFileMetric(String.format("%s_%s", getTag(), img.getName()), img); in onTestFail() 131 testData.addFileMetric( in onTestFail()
|
D | BatteryStatsListener.java | 110 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 125 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 135 … testData.addFileMetric(String.format("%s_%s", getTag(), logFile.getName()), logFile); in onTestEnd() 142 testData.addBinaryMetric(key, proto); in onTestEnd()
|
D | GcaEventLogCollector.java | 135 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 142 collectEventLog(testData, description); in onTestEnd() 162 private void collectEventLog(DataRecord testData, Description description) { in collectEventLog() argument 167 testData.addFileMetric(fileName, new File(mDestDir, fileName)); in collectEventLog()
|
D | SimpleperfListener.java | 182 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 195 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 200 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 237 stopSimpleperf(path, testData); in onTestEnd() 239 getSimpleperfReport(path, testData); in onTestEnd()
|
D | HeapDumpListener.java | 124 public final void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 127 super.onTestEnd(testData, description); in onTestEnd() 130 super.onTestEnd(testData, description); in onTestEnd()
|
D | PerfettoTracingPerClassStrategy.java | 74 void testStart(DataRecord testData, Description description) { in testStart() argument 84 doStopTrace(testData, /* isTestRunEnd */ false); in testStart()
|
D | ScreenRecordCollector.java | 129 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 142 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 162 testData.addFileMetric( in onTestEnd()
|
D | BaselineProfileCollector.java | 67 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument
|
D | IncidentReportListener.java | 66 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument
|
D | PerfettoTracingStrategy.java | 182 void testFail(DataRecord testData, Description description, Failure failure) { in testFail() argument 247 void testStart(DataRecord testData, Description description) { in testStart() argument 251 void testEnd(DataRecord testData, Description description) { in testEnd() argument
|
D | BaseMetricListener.java | 294 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 305 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 315 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/preparers/ |
D | GarbageCollectionPreparer.java | 102 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 107 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceResultsCollector.kt | 91 override fun onTestStart(testData: DataRecord, description: Description) { in <lambda>() 110 override fun onTestFail(testData: DataRecord, description: Description, failure: Failure) { in <lambda>() 131 override fun onTestEnd(testData: DataRecord, description: Description) { in <lambda>() 147 return@errorReportingBlock collectFlickerMetrics(testData, reader, description) in <lambda>() 151 testData, in <lambda>() 154 testData in <lambda>()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/ |
D | LogFileLogger.java | 33 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument
|
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | ClassMetricRuleTest.java | 119 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 120 testData.addStringMetric(mName + "-test", "value"); in onTestEnd()
|
D | TestMetricRuleTest.java | 286 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 291 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 296 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument
|
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/ |
D | StatsdListenerTest.java | 222 DataRecord testData = new DataRecord(); in testTestLevelCollection_statsdInteraction() local 229 mListener.onTestStart(testData, description); in testTestLevelCollection_statsdInteraction() 234 mListener.onTestEnd(testData, description); in testTestLevelCollection_statsdInteraction() 251 DataRecord testData = mock(DataRecord.class); in testTestLevelCollection_metrics() local 258 mListener.onTestStart(testData, description); in testTestLevelCollection_metrics() 259 mListener.onTestEnd(testData, description); in testTestLevelCollection_metrics() 274 verify(testData, times(1)) in testTestLevelCollection_metrics() 300 verify(testData, times(1)) in testTestLevelCollection_metrics() 438 DataRecord testData = mock(DataRecord.class); in testRunAndTestLevelCollection() local 442 mListener.onTestStart(testData, testDescription); in testRunAndTestLevelCollection() [all …]
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | StatsdListener.java | 149 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 165 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 177 testData.addFileMetric(REPORT_KEY_PREFIX + configName, configReports.get(configName)); in onTestEnd()
|