/tools/acloud/public/actions/ |
D | common_operations.py | 145 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/acloud/public/ |
D | acloud_main.py | 415 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/ |
D | event_handler.py | 80 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 …]
|
D | robolectric_test_runner.py | 66 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)
|
D | atest_tf_test_runner.py | 141 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 …]
|
D | suite_plan_test_runner.py | 50 def run_tests(self, test_infos, extra_args, reporter): argument 60 reporter.register_unsupported_runner(self.NAME)
|
D | vts_tf_test_runner.py | 55 def run_tests(self, test_infos, extra_args, reporter): argument 67 reporter.register_unsupported_runner(self.NAME)
|
D | example_test_runner.py | 29 def run_tests(self, test_infos, extra_args, reporter): argument
|
D | regression_test_runner.py | 38 def run_tests(self, test_infos, extra_args, reporter): argument
|
/tools/asuite/atest-py2/ |
D | test_runner_handler.py | 118 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
|
D | atest.py | 492 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/ |
D | test_runner_handler.py | 120 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
|
D | atest.py | 511 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)
|
D | atest_execution_info.py | 354 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:
|
D | test_runner_handler_unittest.py | 60 def run_tests(self, test_infos, extra_args, reporter): argument 78 def run_tests(self, test_infos, extra_args, reporter): argument
|
/tools/acloud/create/ |
D | remote_image_remote_instance.py | 93 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
|
/tools/asuite/atest-py2/test_runners/ |
D | robolectric_test_runner.py | 61 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)
|
D | event_handler.py | 77 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(
|
D | suite_plan_test_runner.py | 52 def run_tests(self, test_infos, extra_args, reporter): argument 62 reporter.register_unsupported_runner(self.NAME)
|
D | vts_tf_test_runner.py | 56 def run_tests(self, test_infos, extra_args, reporter): argument 68 reporter.register_unsupported_runner(self.NAME)
|
D | example_test_runner.py | 30 def run_tests(self, test_infos, extra_args, reporter): argument
|
D | regression_test_runner.py | 38 def run_tests(self, test_infos, extra_args, reporter): argument
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ArtifactTagger.kt | 67 reporter.report( in any() 81 reporter.report( in any() 108 reporter.report( in applyArtifactsFromSpec()
|
D | NullabilityAnnotationsValidator.kt | 209 …fatalIssues.forEach { reporter.report(Issues.INVALID_NULLABILITY_ANNOTATION, it.method, it.toStrin… in <lambda>() 219 …reporter.report(Issues.INVALID_NULLABILITY_ANNOTATION_WARNING, it.method, "Nullability issue: $it") in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | StubWriter.kt | 35 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>()
|