/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/ |
D | PerfettoGenericPostProcessorTest.java | 31 import com.android.tradefed.result.LogFile; 98 Map<String, LogFile> testLogs = new HashMap<>(); in testNoMetricsByDefault() 101 new LogFile( in testNoMetricsByDefault() 121 Map<String, LogFile> testLogs = new HashMap<>(); in testMetricsFilterWithRegEx() 124 new LogFile( in testMetricsFilterWithRegEx() 151 Map<String, LogFile> testLogs = new HashMap<>(); in testMetricsFilterWithRegExAndReplacePrefix() 154 new LogFile( in testMetricsFilterWithRegExAndReplacePrefix() 179 Map<String, LogFile> testLogs = new HashMap<>(); in testAllMetricsOptionIgnoresFilter() 182 new LogFile( in testAllMetricsOptionIgnoresFilter() 200 Map<String, LogFile> testLogs = new HashMap<>(); in testParsingTestMetrics() [all …]
|
D | StatsdGenericPostProcessorTest.java | 44 import com.android.tradefed.result.LogFile; 141 Map<String, LogFile> testLogs = new HashMap<>(); in testParsingTestMetrics() 144 new LogFile(mAppStartupReportFile.getAbsolutePath(), "some.url", LogDataType.PB)); in testParsingTestMetrics() 161 Map<String, LogFile> runLogs = new HashMap<>(); in testParsingRunMetrics() 164 new LogFile(mAppStartupReportFile.getAbsolutePath(), "some.url", LogDataType.PB)); in testParsingRunMetrics() 180 Map<String, LogFile> runLogs = new HashMap<>(); in testParsingExtensionAtom() 183 new LogFile( in testParsingExtensionAtom() 217 Map<String, LogFile> testLogs = new HashMap<>(); in testLogsProtosFromTestsWithTestDescriptionIfConfigured() 221 new LogFile(mAppStartupReportFile.getAbsolutePath(), "some.url", LogDataType.PB)); in testLogsProtosFromTestsWithTestDescriptionIfConfigured() 247 Map<String, LogFile> runLogs = new HashMap<>(); in testMultipleReports() [all …]
|
D | StatsdBeforeAfterGaugeMetricPostProcessorTest.java | 43 import com.android.tradefed.result.LogFile; 140 Map<String, LogFile> runLogs = in testParseSingleMetricFormatter() 169 Map<String, LogFile> runLogs = in testParseMultipleMetricFormatters() 201 Map<String, LogFile> runLogs = in testReportsBeforeAndAfterIfSet() 236 Map<String, LogFile> runLogs = in testSkipsMetricsWhenSnapshotIsMissing() 258 Map<String, LogFile> runLogs = in testLogsRawMetricReportWhenSnapshotIsMissing() 289 Map<String, LogFile> runLogs = in testSkipsDeltaForMetricMissingInOneSnapshot() 316 Map<String, LogFile> runLogs = in testWarnsMetricMissingInOneSnapshot() 353 Map<String, LogFile> runLogs = in testStillReportsBeforeAfterForMetricsMissingInOneSnapshot() 391 Map<String, LogFile> runLogs = in testMetricWithMultipleValuesAreSkippedForDeltaCalculation() [all …]
|
D | BasePostProcessorTest.java | 35 import com.android.tradefed.result.LogFile; 90 Map<String, LogFile> testLogs) { in processTestMetricsAndLogs() 122 HashMap<String, Metric> rawMetrics, Map<String, LogFile> runLogs) { in processRunMetricsAndLogs() 155 Map<TestDescription, Map<String, LogFile>> allTestLogs) { in processAllTestMetricsAndLogs() 222 private LogFile mTestLog1; 223 private LogFile mTestLog2; 224 private LogFile mRunLog1; 225 private LogFile mRunLog2; 243 new LogFile( in setUp() 248 new LogFile( in setUp() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 34 import com.android.tradefed.result.LogFile; 64 private Map<TestDescription, Map<String, LogFile>> mTestLogs = new LinkedHashMap<>(); 65 private Map<String, LogFile> mRunLogs = new HashMap<>(); 67 private Map<String, LogFile> mCopiedLogs = new HashMap<>(); 68 private Set<LogFile> mToDelete = new HashSet<>(); 85 HashMap<String, Metric> rawMetrics, Map<String, LogFile> runLogs); in processRunMetricsAndLogs() 92 Map<String, LogFile> testLogs) { in processTestMetricsAndLogs() 100 Map<TestDescription, Map<String, LogFile>> allTestLogs) { in processAllTestMetricsAndLogs() 159 LogFile log = null; in testLog() 277 mTestLogs.put(test, new HashMap<String, LogFile>()); in testStarted() [all …]
|
D | IPostProcessor.java | 21 import com.android.tradefed.result.LogFile; 54 HashMap<String, Metric> rawMetrics, Map<String, LogFile> runLogs); in processRunMetricsAndLogs() 69 Map<String, LogFile> testLogs); in processTestMetricsAndLogs() 84 Map<TestDescription, Map<String, LogFile>> allTestLogs); in processAllTestMetricsAndLogs()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 37 import com.android.tradefed.result.LogFile; 158 LogFile logFile = new LogFile("path", "url", false, LogDataType.TEXT, 5); in testEvents() 160 ArgumentCaptor<LogFile> capture = ArgumentCaptor.forClass(LogFile.class); in testEvents() 203 "run_log1", new LogFile("path", "url", false, LogDataType.LOGCAT, 5)); in testEvents() 207 "module_log1", new LogFile("path", "url", false, LogDataType.LOGCAT, 5)); in testEvents() 211 "invocation_log1", new LogFile("path", "url", false, LogDataType.LOGCAT, 5)); in testEvents() 240 LogFile capturedFile = capture.getValue(); in testEvents() 380 LogFile logFile = new LogFile("path", "url", false, LogDataType.TEXT, 5); in testEvents_finaleProto() 381 LogFile logModuleFile = new LogFile("path", "url", false, LogDataType.TEXT, 5); in testEvents_finaleProto() 405 "run_log1", new LogFile("path", "url", false, LogDataType.LOGCAT, 5)); in testEvents_finaleProto() [all …]
|
D | StreamProtoResultReporterTest.java | 29 import com.android.tradefed.result.LogFile; 107 "log1", new LogFile("path", "url", false, LogDataType.TEXT, 5)); in testStream() 112 "run_log1", new LogFile("path", "url", false, LogDataType.LOGCAT, 5)); in testStream() 218 "log1", new LogFile("path", "url", false, LogDataType.TEXT, 5)); in testStream_noInvocationReporting() 223 "run_log1", new LogFile("path", "url", false, LogDataType.LOGCAT, 5)); in testStream_noInvocationReporting()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | ShardListenerTest.java | 29 import com.android.tradefed.result.LogFile; 135 mShardListener.logAssociation("test-file", new LogFile("path", "url", LogDataType.TEXT)); in testLogWithoutRun() 150 LogFile moduleLog1 = new LogFile("path", "url", LogDataType.TEXT); in testBufferAndReplay_withModule() 151 LogFile moduleLog2 = new LogFile("path2", "url2", LogDataType.TEXT); in testBufferAndReplay_withModule() 213 LogFile moduleLog1 = new LogFile("path", "url", LogDataType.TEXT); in testBufferAndReplay_withModule_attempts() 214 LogFile moduleLog2 = new LogFile("path2", "url2", LogDataType.TEXT); in testBufferAndReplay_withModule_attempts() 283 LogFile runFile = new LogFile("path", "url", false, LogDataType.TEXT, 0L); in testLogOrderingForSharding() 288 LogFile testFile = new LogFile("path", "url", false, LogDataType.TEXT, 0L); in testLogOrderingForSharding() 301 LogFile invocFile = new LogFile("path", "url", false, LogDataType.TEXT, 0L); in testLogOrderingForSharding()
|
D | TestInvocationMultiTest.java | 50 import com.android.tradefed.result.LogFile; 199 .thenReturn(new LogFile("", "", LogDataType.HARNESS_CONFIG)); in testRunBuildProvider_oneMiss() 202 .thenReturn(new LogFile("", "", LogDataType.TEXT)); in testRunBuildProvider_oneMiss() 207 .thenReturn(new LogFile("", "", LogDataType.TEXT)); in testRunBuildProvider_oneMiss() 284 .thenReturn(new LogFile("", "", LogDataType.HARNESS_CONFIG)); in testResolveDynamicFails() 291 .thenReturn(new LogFile("", "", LogDataType.TEXT)); in testResolveDynamicFails() 296 .thenReturn(new LogFile("", "", LogDataType.TEXT)); in testResolveDynamicFails() 346 .thenReturn(new LogFile("", "", LogDataType.HARNESS_CONFIG)); in testRunBuildProvider_oneThrow() 349 .thenReturn(new LogFile("", "", LogDataType.TEXT)); in testRunBuildProvider_oneThrow() 354 .thenReturn(new LogFile("", "", LogDataType.TEXT)); in testRunBuildProvider_oneThrow() [all …]
|
D | SandboxedInvocationExecutionTest.java | 53 import com.android.tradefed.result.LogFile; 160 doReturn(new LogFile("file", "url", LogDataType.TEXT)) in testSandboxInvocation() 226 doReturn(new LogFile("file", "url", LogDataType.TEXT)) in testParentSandboxInvocation_sharding() 252 doReturn(new LogFile("file", "url", LogDataType.TEXT)) in testParentSandboxInvocation() 305 doReturn(new LogFile("file", "url", LogDataType.TEXT)) in testInvocation_sharding_notTests() 362 doReturn(new LogFile("file", "url", LogDataType.TEXT)) in testInvocation_preInvocationFailing() 452 doReturn(new LogFile("file", "url", LogDataType.TEXT)) in testSandboxInvocation_labPreparer()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | FileSystemLogSaver.java | 110 public LogFile saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() 114 return new LogFile(log.getAbsolutePath(), getUrl(log), dataType); in saveLogData() 118 return new LogFile(log.getAbsolutePath(), getUrl(log), true, dataType, log.length()); in saveLogData() 122 public LogFile saveLogFile(String dataName, LogDataType dataType, File fileToLog) in saveLogFile() 126 return new LogFile(log.getAbsolutePath(), getUrl(log), dataType); in saveLogFile() 130 return new LogFile(log.getAbsolutePath(), getUrl(log), true, dataType, log.length()); in saveLogFile() 137 public LogFile getLogReportDir() { in getLogReportDir() 138 return new LogFile(mLogReportDir.getAbsolutePath(), getUrl(mLogReportDir), LogDataType.DIR); in getLogReportDir()
|
D | ConsoleResultReporter.java | 67 private Set<LogFile> mLoggedFiles = new LinkedHashSet<>(); 189 for (LogFile logFile : mLoggedFiles) { in invocationEnded() 196 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() 203 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() 207 private void printLog(LogFile logFile) { in printLog()
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | ResultAggregator.java | 31 import com.android.tradefed.result.LogFile; 76 private Map<String, LogFile> mDetailedModuleLogs = new LinkedHashMap<>(); 173 for (Entry<String, LogFile> assos : mDetailedModuleLogs.entrySet()) { in invocationEnded() 197 for (LogFile log : getNonAssociatedLogFiles().get(key)) { in forwardAggregatedInvocationLogs() 353 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() 364 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() 403 for (Entry<String, LogFile> assos : mDetailedModuleLogs.entrySet()) { in testModuleEnded() 435 for (LogFile logFile : runResult.getRunLoggedFiles().get(key)) { in testModuleEnded() 451 for (LogFile log : getModuleLogFiles().get(key)) { in testModuleEnded() 498 for (Entry<String, LogFile> logFile : in forwardTestResults() [all …]
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | ILogSaver.java | 84 public LogFile saveLogData(String dataName, LogDataType dataType, InputStream dataStream) in saveLogData() 103 public default LogFile saveLogFile(String dataName, LogDataType dataType, File fileToLog) in saveLogFile() 123 public default LogFile saveLogDataRaw( in saveLogDataRaw() 133 public LogFile getLogReportDir(); in getLogReportDir()
|
D | LogFile.java | 23 public class LogFile implements Serializable { class 40 public LogFile(String path, String url, LogDataType type) { in LogFile() method in LogFile 61 public LogFile(String path, String url, boolean isCompressed, LogDataType type, long size) { in LogFile() method in LogFile
|
/tools/tradefederation/core/javatests/com/android/tradefed/retry/ |
D | ResultAggregatorTest.java | 33 import com.android.tradefed.result.LogFile; 109 LogFile beforeModule = new LogFile("before-module", "url", LogDataType.TEXT); in testForwarding() 110 LogFile test1Log = new LogFile("test1", "url", LogDataType.TEXT); in testForwarding() 111 LogFile test2LogBefore = new LogFile("test2-before", "url", LogDataType.TEXT); in testForwarding() 112 LogFile test2LogAfter = new LogFile("test2-after", "url", LogDataType.TEXT); in testForwarding() 113 LogFile testRun1LogBefore = new LogFile("test-run1-before", "url", LogDataType.TEXT); in testForwarding() 114 LogFile testRun1LogAfter = new LogFile("test-run1-after", "url", LogDataType.TEXT); in testForwarding() 115 LogFile beforeEnd = new LogFile("path", "url", LogDataType.TEXT); in testForwarding() 116 LogFile betweenAttemptsLog = new LogFile("between-attempts", "url", LogDataType.TEXT); in testForwarding() 117 LogFile moduleLog = new LogFile("module-log", "url", LogDataType.TEXT); in testForwarding() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardListener.java | 27 import com.android.tradefed.result.LogFile; 148 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() 265 public void logAssociation(String dataName, LogFile logFile) { in logAssociation() 322 MultiMap<String, LogFile> loggedFiles, ITestInvocationListener listener) { in forwardLogAssociation() 324 for (LogFile logFile : loggedFiles.get(key)) { in forwardLogAssociation() 334 Map<String, LogFile> loggedFiles, ITestInvocationListener listener) { in forwardLogAssociation() 335 for (Entry<String, LogFile> logFile : loggedFiles.entrySet()) { in forwardLogAssociation()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | XmlResultReporterTest.java | 47 public LogFile saveLogData(String dataName, LogDataType dataType, in saveLogData() 49 return new LogFile(PATH, URL, dataType); in saveLogData() 53 public LogFile saveLogDataRaw(String dataName, LogDataType type, InputStream dataStream) { in saveLogDataRaw() 54 return new LogFile(PATH, URL, type); in saveLogDataRaw() 58 public LogFile getLogReportDir() { in getLogReportDir() 59 return new LogFile(PATH, URL, LogDataType.DIR); in getLogReportDir()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 36 import com.android.tradefed.result.LogFile; 487 ArgumentCaptor<LogFile> capture = ArgumentCaptor.forClass(LogFile.class); in testParse_logAssociation() 489 LogFile logFile = new LogFile("path", "url", LogDataType.TEXT); in testParse_logAssociation() 511 LogFile received = capture.getValue(); in testParse_logAssociation() 523 LogFile logFile = new LogFile(log.getAbsolutePath(), null, LogDataType.TEXT); in testParse_logAssociation_notUploaded() 557 LogFile logFile = new LogFile(testLogFile.getAbsolutePath(), "", LogDataType.TEXT); in testParse_avoidDoubleLog()
|
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/ |
D | TestListeners.java | 24 import com.android.tradefed.result.LogFile; 37 LogFile logFile) { in testLogSaved() 46 static void logAssociation(ITestInvocationListener listener, String dataName, LogFile logFile) { in logAssociation()
|
D | InvocationLogCollector.java | 23 import com.android.tradefed.result.LogFile; 66 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() 78 public void logAssociation(String dataName, LogFile logFile) { in logAssociation()
|
D | LogPathUpdatingListener.java | 23 import com.android.tradefed.result.LogFile; 55 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() 63 public void logAssociation(String dataName, LogFile logFile) { in logAssociation()
|
D | BazelTestListener.java | 23 import com.android.tradefed.result.LogFile; 66 String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) { in testLogSaved() 75 public void logAssociation(String dataName, LogFile logFile) { in logAssociation()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 32 import com.android.tradefed.result.LogFile; 58 private List<LogFile> mLogFiles = new ArrayList<>(); 93 LogFile logFile) { in testLogSaved() 135 for (LogFile logFile : mLogFiles) { in getInvocationSummary() 215 LogFile logFile = createFunctionalTestFailureReport(); in getInvocationSummary() 239 private LogFile createFunctionalTestFailureReport() throws IOException { in createFunctionalTestFailureReport()
|