Home
last modified time | relevance | path

Searched refs:reporter (Results 1 – 25 of 51) sorted by relevance

123

/tools/acloud/public/actions/
Dcommon_operations.py145 def UpdateReport(self, reporter): argument
151 reporter.UpdateData(self._compute_client.dict_report)
245 reporter = report.Report(command=command)
257 reporter.SetStatus(report.Status.BOOT_FAIL)
259 reporter.SetStatus(report.Status.SUCCESS)
266 device_pool.UpdateReport(reporter)
302 reporter.SetErrorType(_ACLOUD_BOOT_UP_ERROR)
304 reporter.SetErrorType(_DICT_ERROR_TYPE[device.stage])
305 reporter.AddData(key="devices_failing_boot", value=device_dict)
306 reporter.AddError(str(failures[device.instance_name]))
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt675 reporter.report( in <lambda>()
721 reporter.report( in <lambda>()
736 reporter.report( in <lambda>()
746 reporter.report( in <lambda>()
756 reporter.report( in <lambda>()
769 val checkSystemApi = !reporter.isSuppressed(Issues.REQUIRES_PERMISSION) && in <lambda>()
771 val checkHiddenShowAnnotations = !reporter.isSuppressed(Issues.UNHIDDEN_SYSTEM_API) && in <lambda>()
786 reporter.report( in <lambda>()
801 reporter.report( in <lambda>()
863 reporter.report( in <lambda>()
[all …]
DKotlinInteropChecks.kt39 class KotlinInteropChecks(val reporter: Reporter) { in <lambda>() constant in com.android.tools.metalava.KotlinInteropChecks
112 reporter.report( in <lambda>()
118 reporter.report( in <lambda>()
142 reporter.report( in <lambda>()
147 reporter.report( in <lambda>()
170 reporter.report( in <lambda>()
175 reporter.report( in <lambda>()
201 reporter.report(Issues.SAM_SHOULD_BE_LAST, method, message) in <lambda>()
247 reporter.report( in <lambda>()
292 reporter.report( in <lambda>()
[all …]
DDocAnalyzer.kt139 reporter.report( in <lambda>()
330 reporter.report( in <lambda>()
335 reporter.report( in <lambda>()
345 reporter.report( in <lambda>()
428 reporter.report( in <lambda>()
452 reporter.report( in <lambda>()
461 reporter.report( in <lambda>()
511 reporter.report( in <lambda>()
520 reporter.report( in <lambda>()
648 if (!reporter.isSuppressed(Issues.TYPO)) { in <lambda>()
[all …]
DAndroidApiChecks.kt170 reporter.report(Issues.TODO, item, "Documentation mentions 'TODO'") in checkTodos()
195 reporter.report( in checkRequiresPermission()
205 reporter.report( in checkRequiresPermission()
227 reporter.report( in checkIntentAction()
233 reporter.report( in checkIntentAction()
242 reporter.report( in checkIntentAction()
273 reporter.report( in checkVariable()
284 reporter.report( in checkVariable()
DExtractAnnotations.kt224 reporter.report( in <lambda>()
231 reporter.report( in <lambda>()
259 !reporter.isSuppressed(Issues.RETURNING_UNEXPECTED_CONSTANT) in <lambda>()
304 reporter.report( in <lambda>()
352 reporter.report( in <lambda>()
570 reporter.report( in <lambda>()
DArtifactTagger.kt67 reporter.report( in any()
81 reporter.report( in any()
108 reporter.report( in applyArtifactsFromSpec()
/tools/acloud/public/
Dacloud_main.py415 reporter = None
417 reporter = report.Report(command=args.which)
418 reporter.UpdateFailure(parsing_config_error, _ACLOUD_CONFIG_ERROR)
420 reporter = create.Run(args)
422 reporter = create_cuttlefish_action.CreateDevices(
444 reporter = create_goldfish_action.CreateDevices(
462 reporter = delete.Run(args)
468 reporter = restart.Run(args)
470 reporter = powerwash.Run(args)
472 reporter = pull.Run(args)
[all …]
/tools/asuite/atest/test_runners/
Devent_handler.py80 def __init__(self, reporter, name): argument
81 self.reporter = reporter
129 self.reporter.process_test_result(test_runner_base.TestResult(
144 self.reporter.process_test_result(test_runner_base.TestResult(
160 if not self.reporter.silent:
161 self.reporter.set_current_summary(self.run_num)
162 self.reporter = result_reporter.ResultReporter(silent=False)
197 self.reporter.process_test_result(test_runner_base.TestResult(
238 self._check_events_are_balanced(event_name, self.reporter)
246 def _check_events_are_balanced(self, event_name, reporter): argument
[all …]
Datest_tf_test_runner.py141 def run_tests(self, test_infos, extra_args, reporter): argument
152 reporter.log_path = self.log_path
153 reporter.rerun_options = self._extract_rerun_options(extra_args)
161 result = self.run_tests_raw(test_infos, extra_args, reporter)
162 result = self.run_tests_pretty(test_infos, extra_args, reporter)
171 reporter.test_result_link = (constants.RESULT_LINK
297 def run_tests_raw(self, test_infos, extra_args, reporter): argument
309 reporter.register_unsupported_runner(self.NAME)
319 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
341 reporter,
[all …]
Drobolectric_test_runner.py66 def run_tests(self, test_infos, extra_args, reporter): argument
79 return self.run_tests_pretty(test_infos, extra_args, reporter)
80 return self.run_tests_raw(test_infos, extra_args, reporter)
82 def run_tests_raw(self, test_infos, extra_args, reporter): argument
93 reporter.register_unsupported_runner(self.NAME)
105 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
128 event_handler = EventHandler(reporter, self.NAME)
/tools/asuite/atest-py2/test_runners/
Devent_handler.py77 def __init__(self, reporter, name): argument
78 self.reporter = reporter
123 self.reporter.process_test_result(test_runner_base.TestResult(
138 self.reporter.process_test_result(test_runner_base.TestResult(
187 self.reporter.process_test_result(test_runner_base.TestResult(
227 self._check_events_are_balanced(event_name, self.reporter)
234 def _check_events_are_balanced(self, event_name, reporter): argument
252 reporter.process_test_result(test_runner_base.TestResult(
Datest_tf_test_runner.py115 def run_tests(self, test_infos, extra_args, reporter): argument
126 reporter.log_path = self.log_path
127 reporter.rerun_options = self._extract_rerun_options(extra_args)
131 return self.run_tests_raw(test_infos, extra_args, reporter)
132 return self.run_tests_pretty(test_infos, extra_args, reporter)
134 def run_tests_raw(self, test_infos, extra_args, reporter): argument
146 reporter.register_unsupported_runner(self.NAME)
156 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
178 reporter))
184 def _start_monitor(self, server, tf_subproc, reporter): argument
[all …]
Drobolectric_test_runner.py61 def run_tests(self, test_infos, extra_args, reporter): argument
73 return self.run_tests_raw(test_infos, extra_args, reporter)
74 return self.run_tests_pretty(test_infos, extra_args, reporter)
76 def run_tests_raw(self, test_infos, extra_args, reporter): argument
87 reporter.register_unsupported_runner(self.NAME)
99 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
123 event_handler = EventHandler(reporter, self.NAME)
/tools/asuite/atest-py2/
Dtest_runner_handler.py118 reporter = result_reporter.ResultReporter()
119 reporter.print_starting_text()
129 ret_code = test_runner.run_tests(tests, extra_args, reporter)
134 reporter.runner_failure(test_runner.NAME, stacktrace)
145 return tests_ret_code, reporter
146 return reporter.print_summary() or tests_ret_code, reporter
Datest.py492 tests_exit_code, reporter = test_runner_handler.run_all_tests(
494 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
495 test_results.append((tests_exit_code, reporter, test_type))
499 for tests_exit_code, reporter, test_type in test_results:
502 result = tests_exit_code | reporter.print_summary()
679 tests_exit_code, reporter = test_runner_handler.run_all_tests(
681 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
688 reporter = result_reporter.ResultReporter()
689 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
692 None, regression_args, reporter)
/tools/asuite/atest/
Dtest_runner_handler.py120 reporter = result_reporter.ResultReporter(
123 reporter.print_starting_text()
133 ret_code = test_runner.run_tests(tests, extra_args, reporter)
138 reporter.runner_failure(test_runner.NAME, stacktrace)
149 return tests_ret_code, reporter
150 return reporter.print_summary() or tests_ret_code, reporter
Datest.py511 tests_exit_code, reporter = test_runner_handler.run_all_tests(
513 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
514 test_results.append((tests_exit_code, reporter, test_type))
518 for tests_exit_code, reporter, test_type in test_results:
521 result = tests_exit_code | reporter.print_summary()
822 tests_exit_code, reporter = test_runner_handler.run_all_tests(
824 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
831 reporter = result_reporter.ResultReporter(
833 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
836 None, regression_args, reporter)
Datest_execution_info.py354 for reporter in reporters:
355 if reporter.test_result_link:
356 info_dict[_TEST_RESULT_LINK] = reporter.test_result_link
357 for test in reporter.all_test_results:
/tools/acloud/create/
Dremote_image_remote_instance.py93 reporter = report.Report(command="create_cf")
95 reporter.SetStatus(report.Status.SUCCESS)
99 reporter.UpdateData(response)
101 reporter.SetStatus(report.Status.FAIL)
102 reporter.AddError(response.get("errorMessage"))
104 return reporter
Dremote_image_remote_instance_test.py69 reporter = self.remote_image_remote_instance._LeaseOxygenAVD(avd_spec)
70 self.assertEqual(reporter.status, expected_status)
73 reporter = self.remote_image_remote_instance._LeaseOxygenAVD(avd_spec)
74 self.assertEqual(reporter.status, expected_status)
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt35 import com.android.tools.metalava.reporter in <lambda>()
105 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>()
124 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>()
191 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt26 import com.android.tools.metalava.reporter
69 reporter.report(Issues.INTERNAL_ERROR, psiElement, message) in warning()
137 reporter.report(Issues.INTERNAL_ERROR, owner, "Unexpected annotation default value $value") in appendSourceExpression()
208 reporter.report( in appendExpression()
547 reporter.report(Issues.INTERNAL_ERROR, owner, "Unexpected literal value $v") in appendSourceLiteral()
DPsiBasedCodebase.kt33 import com.android.tools.metalava.reporter in <lambda>()
141 reporter.report( in <lambda>()
170 reporter.report( in <lambda>()
185 reporter.report( in <lambda>()
372 reporter.report(Issues.IO_ERROR, jarFile, e.message ?: e.toString()) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DCodebase.kt31 import com.android.tools.metalava.reporter in <lambda>()
295reporter.report(Issues.PARSE_ERROR, manifest, "Failed to parse $manifest: ${error.message}") in getPermissionLevel()
319reporter.report(Issues.PARSE_ERROR, manifest, "Failed to parse $manifest: ${error.message}") in getMinSdkVersion()

123