/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 | 71 public void onTestStart(DataRecord testData, Description description) { in createWithArgs() 73 assertFalse(testData.hasMetrics()); in createWithArgs() 74 testData.addStringMetric(TEST_START_KEY, TEST_START_VALUE in createWithArgs() 79 public void onTestEnd(DataRecord testData, Description description) { in createWithArgs() argument 80 testData.addStringMetric(TEST_END_KEY, TEST_END_VALUE in createWithArgs()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BaseCollectionListener.java | 80 public final void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 88 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 93 public final void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 104 testData.addStringMetric(entry.getKey(), entry.getValue().toString()); in onTestEnd()
|
D | LogcatOnFailureCollector.java | 81 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 95 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 101 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 118 testData.addFileMetric(String.format("%s_%s", getTag(), logcat.getName()), logcat); in onTestEnd()
|
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 | 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 | ScreenRecordCollector.java | 63 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 77 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 92 testData.addFileMetric(String.format("%s_%s", getTag(), output.getName()), output); in onTestEnd()
|
D | PerfettoListener.java | 182 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 206 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 211 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 252 stopPerfettoTracing(path, testData); in onTestEnd()
|
D | BaseMetricListener.java | 244 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 255 public void onTestFail(DataRecord testData, Description description, Failure failure) { in onTestFail() argument 265 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument
|
D | IncidentReportListener.java | 66 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/preparers/ |
D | GarbageCollectionPreparer.java | 97 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 102 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument
|
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/ |
D | StatsdListenerTest.java | 200 DataRecord testData = new DataRecord(); in testTestLevelCollection_statsdInteraction() local 207 mListener.onTestStart(testData, description); in testTestLevelCollection_statsdInteraction() 212 mListener.onTestEnd(testData, description); in testTestLevelCollection_statsdInteraction() 229 DataRecord testData = mock(DataRecord.class); in testTestLevelCollection_metrics() local 236 mListener.onTestStart(testData, description); in testTestLevelCollection_metrics() 237 mListener.onTestEnd(testData, description); in testTestLevelCollection_metrics() 252 verify(testData, times(1)) in testTestLevelCollection_metrics() 278 verify(testData, times(1)) in testTestLevelCollection_metrics() 416 DataRecord testData = mock(DataRecord.class); in testRunAndTestLevelCollection() local 420 mListener.onTestStart(testData, testDescription); in testRunAndTestLevelCollection() [all …]
|
/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/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | StatsdListener.java | 135 public void onTestStart(DataRecord testData, Description description) { in onTestStart() argument 151 public void onTestEnd(DataRecord testData, Description description) { in onTestEnd() argument 163 testData.addFileMetric(REPORT_KEY_PREFIX + configName, configReports.get(configName)); in onTestEnd()
|