/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogFileSaver.java | 200 public File saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() argument 202 return saveLogDataRaw(dataName, dataType.getFileExt(), dataStream); in saveLogData() 213 public File saveLogDataRaw(String dataName, String ext, InputStream dataStream) in saveLogDataRaw() argument 215 final String saneDataName = sanitizeFilename(dataName); in saveLogDataRaw() 234 public File saveAndGZipLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveAndGZipLogData() argument 237 CLog.d("Log data for %s is already compressed, skipping compression", dataName); in saveAndGZipLogData() 238 return saveLogData(dataName, dataType, dataStream); in saveAndGZipLogData() 243 final String saneDataName = sanitizeFilename(dataName); in saveAndGZipLogData() 266 public File saveAndZipLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveAndZipLogData() argument 269 CLog.d("Log data for %s is already compressed, skipping compression", dataName); in saveAndZipLogData() [all …]
|
D | LogSaverResultForwarder.java | 116 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 117 testLogForward(dataName, dataType, dataStream); in testLog() 120 CLog.w("Skip forwarding of '%s', data stream is null.", dataName); in testLog() 123 LogFile logFile = mLogSaver.saveLogData(dataName, dataType, in testLog() 127 ((ILogSaverListener) listener).testLogSaved(dataName, dataType, in testLog() 129 ((ILogSaverListener) listener).logAssociation(dataName, logFile); in testLog() 140 String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLogForward() argument 141 super.testLog(dataName, dataType, dataStream); in testLogForward() 152 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 157 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved() [all …]
|
D | FileSystemLogSaver.java | 115 public LogFile saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() argument 118 File log = saveLogDataInternal(dataName, dataType.getFileExt(), dataStream); in saveLogData() 124 final String saneDataName = sanitizeFilename(dataName); in saveLogData() 149 public LogFile saveLogDataRaw(String dataName, LogDataType dataType, InputStream dataStream) in saveLogDataRaw() argument 151 File log = saveLogDataInternal(dataName, dataType.getFileExt(), dataStream); in saveLogDataRaw() 155 private File saveLogDataInternal(String dataName, String ext, InputStream dataStream) in saveLogDataInternal() argument 157 final String saneDataName = sanitizeFilename(dataName); in saveLogDataInternal()
|
D | SubprocessResultsReporter.java | 211 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 221 "subprocess-" + dataName, "." + dataType.getFileExt()); in testLog() 223 TestLogEventInfo info = new TestLogEventInfo(dataName, dataType, tmpFile); in testLog() 234 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 235 LogAssociationEventInfo info = new LogAssociationEventInfo(dataName, logFile); in logAssociation()
|
D | ResultAndLogForwarder.java | 43 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 48 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved() 58 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 63 ((ILogSaverListener) listener).logAssociation(dataName, logFile); in logAssociation()
|
D | TextResultReporter.java | 79 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 86 public void testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, in testLogSaved() argument 88 CLog.logAndDisplay(LogLevel.INFO, "Saved %s log to %s", dataName, logFile.getPath()); in testLogSaved()
|
D | LegacySubprocessResultsReporter.java | 163 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 169 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 177 LogAssociationEventInfo info = new LogAssociationEventInfo(dataName, logFile); in logAssociation()
|
D | XmlResultReporter.java | 210 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 218 public void testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, in testLogSaved() argument 220 Log.logAndDisplay(LogLevel.INFO, LOG_TAG, String.format("Saved %s log to %s", dataName, in testLogSaved()
|
D | CollectingTestListener.java | 321 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 323 mCurrentTestRunResult.testLogSaved(dataName, logFile); in logAssociation() 325 mNonAssociatedLogFiles.put(dataName, logFile); in logAssociation()
|
D | BugreportCollector.java | 522 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 523 mListener.testLog(dataName, dataType, dataStream); in testLog() 524 mCollector.testLog(dataName, dataType, dataStream); in testLog()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 207 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 211 .testLogForward(dataName, dataType, dataStream); in testLog() 213 super.testLog(dataName, dataType, dataStream); in testLog() 220 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 222 super.testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved() 226 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved() 232 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 234 super.logAssociation(dataName, logFile); in logAssociation() 238 ((ILogSaverListener) mMainListener).logAssociation(dataName, logFile); in logAssociation()
|
D | TestFailureListener.java | 102 String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLogForward() argument 103 mLogger.testLog(dataName, dataType, dataStream); in testLogForward() 107 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | ResultAggregator.java | 191 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 192 super.testLog(dataName, dataType, dataStream); in testLog() 193 mAllForwarder.testLog(dataName, dataType, dataStream); in testLog() 278 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 279 super.logAssociation(dataName, logFile); in logAssociation() 281 mDetailedModuleLogs.put(dataName, logFile); in logAssociation() 283 mDetailedForwarder.logAssociation(dataName, logFile); in logAssociation() 289 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 290 super.testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved() 291 mDetailedForwarder.testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 120 public final void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 121 mForwarder.testLog(dataName, dataType, dataStream); in testLog() 298 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 300 ((ILogSaverListener) mForwarder).testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved() 311 public final void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 314 mTestLogs.get(mCurrentTest).put(dataName, logFile); in logAssociation() 316 mRunLogs.put(dataName, logFile); in logAssociation() 320 ((ILogSaverListener) mForwarder).logAssociation(dataName, logFile); in logAssociation()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardMainResultForwarder.java | 126 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 132 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved() 143 String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLogForward() argument 148 ((LogSaverResultForwarder) listener).testLogForward(dataName, dataType, dataStream); in testLogForward() 151 listener.testLog(dataName, dataType, dataStream); in testLogForward() 164 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 169 ((ILogSaverListener) listener).logAssociation(dataName, logFile); in logAssociation()
|
D | ShardListener.java | 112 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 119 .testLogForward(dataName, dataType, dataStream); in testLog() 121 mMainListener.testLog(dataName, dataType, dataStream); in testLog() 129 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() argument 130 super.testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved() 135 .testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessorTest.java | 76 for (String dataName : testLogs.keySet()) { in processTestMetricsAndLogs() 78 FILE_PREFIX + dataName, in processTestMetricsAndLogs() 79 TfMetricProtoUtil.stringToMetric(testLogs.get(dataName).getPath()) in processTestMetricsAndLogs() 102 for (String dataName : runLogs.keySet()) { in processRunMetricsAndLogs() 104 FILE_PREFIX + dataName, in processRunMetricsAndLogs() 105 TfMetricProtoUtil.stringToMetric(runLogs.get(dataName).getPath()) in processRunMetricsAndLogs() 133 for (String dataName : allTestLogs.get(test).keySet()) { in processAllTestMetricsAndLogs() 135 FILE_PREFIX + String.join("-", test.toString(), dataName), in processAllTestMetricsAndLogs() 137 allTestLogs.get(test).get(dataName).getPath()) in processAllTestMetricsAndLogs()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | BugreportTest.java | 186 final String dataName = "TEST"; in testLogBugreport() local 190 logger.testLog(EasyMock.eq(dataName), EasyMock.eq(LogDataType.BUGREPORTZ), in testLogBugreport() 193 mBugreport.log(dataName, logger); in testLogBugreport() 205 final String dataName = "TEST"; in testLogBugreportFlat() local 209 logger.testLog(EasyMock.eq(dataName), EasyMock.eq(LogDataType.BUGREPORT), in testLogBugreportFlat() 212 mBugreport.log(dataName, logger); in testLogBugreportFlat()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | MetricTestCase.java | 76 String dataName, LogDataType dataType, InputStreamSource dataStream) { in addTestLog() argument 77 mLogs.add(new LogHolder(dataName, dataType, dataStream)); in addTestLog() 86 public LogHolder(String dataName, LogDataType dataType, InputStreamSource dataStream) { in LogHolder() argument 87 mDataName = dataName; in LogHolder()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterLogSaver.java | 395 public LogFile saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() argument 397 File log = mLogFileSaver.saveLogData(dataName, dataType, dataStream); in saveLogData() 402 public LogFile saveLogDataRaw(String dataName, LogDataType dataType, InputStream dataStream) in saveLogDataRaw() argument 404 File log = mLogFileSaver.saveLogDataRaw(dataName, dataType.getFileExt(), dataStream); in saveLogDataRaw()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessEventHelper.java | 528 public TestLogEventInfo(String dataName, LogDataType dataType, File dataFile) { in TestLogEventInfo() argument 529 mDataName = dataName; in TestLogEventInfo() 568 public LogAssociationEventInfo(String dataName, LogFile loggedFile) { in LogAssociationEventInfo() argument 569 mDataName = dataName; in LogAssociationEventInfo()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 971 final String dataName = "test"; in testTestLogBugreport() local 986 listener.testLog(dataName, LogDataType.BUGREPORTZ, stream); in testTestLogBugreport() 988 assertTrue(mTestDevice.logBugreport(dataName, listener)); in testTestLogBugreport() 995 final String dataName = "test"; in testTestLogBugreport_oldDevice() local 1017 listener.testLog(dataName, LogDataType.BUGREPORT, stream); in testTestLogBugreport_oldDevice() 1019 assertTrue(mTestDevice.logBugreport(dataName, listener)); in testTestLogBugreport_oldDevice()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestRunResult.java | 446 public void testLogSaved(String dataName, LogFile logFile) { in testLogSaved() argument 449 mCurrentTestResult.addLoggedFile(dataName, logFile); in testLogSaved() 451 mRunLoggedFiles.put(dataName, logFile); in testLogSaved()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JavaCodeCoverageListenerTest.java | 386 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() argument 388 testLog(dataName, dataType, ByteString.readFrom(input)); in testLog() 395 public void testLog(String dataName, LogDataType dataType, ByteString data) {} in testLog() argument
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporter.java | 485 public final void logAssociation(String dataName, LogFile logFile) { in logAssociation() argument 487 CLog.w("Skip logging '%s' logAssociation called out of sequence.", dataName); in logAssociation() 494 fullmap.put(dataName, any); in logAssociation()
|