Home
last modified time | relevance | path

Searched refs:logs (Results 1 – 25 of 52) sorted by relevance

123

/tools/asuite/atest/metrics/
Dmetrics_utils.py84 stacktrace = logs = ''
89 logs = '{etype}: {value}'.format(etype=exc_type.__name__, value=exc_msg)
92 send_exit_event(exit_code, stacktrace=stacktrace, logs=logs)
95 def send_exit_event(exit_code, stacktrace='', logs=''): argument
107 logs=str(logs),
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DGcovCodeCoverageCollectorTest.java146 List<ByteString> logs = mFakeListener.getLogs(); in test_logsCoverageZip() local
147 assertThat(logs).hasSize(1); in test_logsCoverageZip()
150 logs.get(0).writeTo(out); in test_logsCoverageZip()
178 List<ByteString> logs = mFakeListener.getLogs(); in testNoCoverageFiles_logsEmptyZip() local
179 assertThat(logs).hasSize(1); in testNoCoverageFiles_logsEmptyZip()
182 logs.get(0).writeTo(out); in testNoCoverageFiles_logsEmptyZip()
277 List<ByteString> logs = mFakeListener.getLogs(); in testNoCollectOnTestEnd_noCoverageMeasurements() local
278 assertThat(logs).hasSize(1); in testNoCollectOnTestEnd_noCoverageMeasurements()
281 logs.get(0).writeTo(out); in testNoCollectOnTestEnd_noCoverageMeasurements()
DClangCodeCoverageCollectorTest.java265 List<ByteString> logs = mFakeListener.getLogs(); in testRun_misc_trace_only_logsCoverageFile() local
266 assertThat(logs).hasSize(1); in testRun_misc_trace_only_logsCoverageFile()
315 List<ByteString> logs = mFakeListener.getLogs(); in testRun_local_tmp_only_logsCoverageFile() local
316 assertThat(logs).hasSize(1); in testRun_local_tmp_only_logsCoverageFile()
368 List<ByteString> logs = mFakeListener.getLogs(); in testRun_both_locations_logsCoverageFile() local
369 assertThat(logs).hasSize(1); in testRun_both_locations_logsCoverageFile()
410 List<ByteString> logs = mFakeListener.getLogs(); in testRun_noModuleName_logsCoverageFile() local
411 assertThat(logs).hasSize(1); in testRun_noModuleName_logsCoverageFile()
451 List<ByteString> logs = mFakeListener.getLogs(); in testRun_profraw_filter_option() local
452 assertThat(logs).hasSize(1); in testRun_profraw_filter_option()
[all …]
/tools/acloud/public/
Dreport.py189 webrtc_port=None, device_serial=None, logs=None, argument
220 if logs:
221 device[constants.LOGS] = logs
229 webrtc_port=None, logs=None): argument
243 webrtc_port, device_serial, logs,
Dreport_test.py84 logs=[report.LogFile("/log/path", "KERNEL_LOG")])
125 device_serial, logs=[report.LogFile("/log/path", "TEXT", "txt")])
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DGceAvdInfoTest.java79 List<GceAvdInfo.LogFileEntry> logs = avd.getLogs(); in testValidGceJsonParsing() local
80 assertEquals(logs.size(), 2); in testValidGceJsonParsing()
81 assertEquals(logs.get(0).path, "/text/log"); in testValidGceJsonParsing()
82 assertEquals(logs.get(0).type, LogDataType.TEXT); in testValidGceJsonParsing()
83 assertEquals(logs.get(0).name, "log.txt"); in testValidGceJsonParsing()
84 assertEquals(logs.get(1).path, "/unknown/log"); in testValidGceJsonParsing()
85 assertEquals(logs.get(1).type, LogDataType.UNKNOWN); in testValidGceJsonParsing()
86 assertEquals(logs.get(1).name, ""); in testValidGceJsonParsing()
DCommonLogRemoteFileUtilTest.java51 List<GceAvdInfo.LogFileEntry> logs = info.getLogs(); in testFetchCommonFilesWithLogsEntries() local
52 logs.add(new GceAvdInfo.LogFileEntry("/test/text", LogDataType.TEXT, "log1.txt")); in testFetchCommonFilesWithLogsEntries()
53 logs.add(new GceAvdInfo.LogFileEntry("/test/log2.txt", LogDataType.UNKNOWN, "")); in testFetchCommonFilesWithLogsEntries()
54 logs.add(new GceAvdInfo.LogFileEntry("/tombstones", LogDataType.DIR, "tombstones-zip")); in testFetchCommonFilesWithLogsEntries()
/tools/acloud/metrics/
Dmetrics.py65 def LogExitEvent(exit_code, stacktrace="", logs=""): argument
80 logs=logs)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_logging_utils.py528 logs = ad.get_file_names("/data/local/tmp/tcpdump", begin_time=begin_time)
529 if logs:
530 ad.log.info("Pulling tcpdumps %s", logs)
534 ad.pull_files(logs, log_path)
606 logs = ad.get_file_names("/sdcard/Pictures", begin_time=begin_time)
607 if logs:
608 ad.log.info("Pulling %s", logs)
611 ad.pull_files(logs, log_path)
/tools/asuite/aidegen/lib/
Daidegen_metrics.py81 def ends_asuite_metrics(exit_code, stacktrace='', logs=''): argument
98 logs=logs)
/tools/acloud/public/actions/
Dremote_instance_cf_device_factory.py183 logs = [cvd_utils.HOST_KERNEL_LOG]
185 logs.append(
187 logs.extend(cvd_utils.FindRemoteLogs(
192 self._all_logs[instance] = logs
Dcommon_operations.py265 logs = device_factory.GetLogs()
323 if device.instance_name in logs:
324 device_dict[constants.LOGS] = logs[device.instance_name]
Dremote_host_cf_device_factory.py537 logs = []
540 logs.append(
542 logs.extend(cvd_utils.FindRemoteLogs(
547 self._all_logs[instance] = logs
/tools/acloud/create/
Dlocal_image_local_instance.py321 logs = cvd_utils.FindLocalLogs(runtime_dir, local_instance_id)
323 logs = cvd_utils.FindLocalLogs(runtime_dir, local_instance_id)
335 logs=logs)
349 webrtc_port, logs=logs,
365 logs=logs)
Dgoldfish_local_image_local_instance.py196 logs = [report.LogFile(logcat_path, constants.LOG_TYPE_LOGCAT),
217 logs=logs)
223 logs=logs)
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/
DStatsdGenericPostProcessor.java122 Map<String, LogFile> logs, String testOrRunName) { in processStatsdReportsFromLogs() argument
125 for (String key : logs.keySet()) { in processStatsdReportsFromLogs()
134 File reportFile = new File(logs.get(key).getPath()); in processStatsdReportsFromLogs()
173 CLog.e("Report file does not exist at supposed path %s.", logs.get(key).getPath()); in processStatsdReportsFromLogs()
/tools/acloud/internal/lib/
Dcvd_utils_test.py629 logs = cvd_utils.FindRemoteLogs(mock_ssh, "dir", None, None)
661 self.assertEqual(expected_logs, logs)
674 logs = cvd_utils.FindRemoteLogs(mock_ssh, "dir", 3, 2)
701 self.assertEqual(expected_logs, logs)
718 logs = cvd_utils.FindLocalLogs(temp_dir, 2)
734 sorted(logs, key=lambda log: log["path"]))
746 logs = cvd_utils.FindLocalLogs(log_dir_link, 2)
753 self.assertEqual(expected_logs, logs)
Dcvd_utils.py1050 logs = []
1065 logs.append(report.LogFile(log_path, log_type, log_name))
1067 logs.extend(_GetRemoteTombstone(runtime_dir,
1070 return logs
1088 logs = []
1095 logs.append(report.LogFile(log_path, log_type))
1096 return logs
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DGAP_PTS_INSTRUCTIONS190 be the peer address in the PTS logs that start with:
208 be the peer address in the PTS logs that start with:
251 be the peer address in the PTS logs that start with:
268 be the peer address in the PTS logs that start with:
297 be the peer address in the PTS logs that start with:
318 be the peer address in the PTS logs that start with:
348 be the peer address in the PTS logs that start with:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/
Dqcom_utils.py241 logs = dut.get_file_names("/data/vendor/wifi/wlan_logs/")
242 if logs:
243 dut.log.info("Pulling cnss_diag logs %s", logs)
247 dut.pull_files(logs, log_path)
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java531 List<LogFileEntry> logs = new ArrayList<LogFileEntry>(); in parseLogField() local
534 return logs; in parseLogField()
538 logs.add(new LogFileEntry(logObject)); in parseLogField()
540 return logs; in parseLogField()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java585 File[] logs = new File[2]; in getEventsLogs() local
586 logs[0] = mAggregatedEventsLogger.getLoggedEvents(); in getEventsLogs()
587 logs[1] = mDetailedEventsLogger.getLoggedEvents(); in getEventsLogs()
588 return logs; in getEventsLogs()
/tools/test/mobly_extensions/tools/results_uploader/
DREADME.md62 Artifacts are saved in "/tmp/logs/mobly/Local5GTestbed/10-23-2023_10-30-50-685"
63 Test summary saved in "/tmp/logs/mobly/Local5GTestbed/10-23-2023_10-30-50-685/test_summary.yaml"
/tools/asuite/atest/bazel/
Datest_bazel_mode.md84 detail, user would need to look at test logs. The reason Bazel Mode only shows
93 * In Atest Standard Mode, test logs are saved under ```/tmp/atest_result```, while in
94 Bazel Mode, test logs are saved under ```$ANDROID_BUILD_TOP/out/atest_bazel_workspace/bazel-testlog…
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DFakeTest.java258 private void saveLogs(ITestInvocationListener listener, List<String> logs) { in saveLogs() argument
259 for (String filename : logs) { in saveLogs()

123