Home
last modified time | relevance | path

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

123

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt677 reporter.report( in <lambda>()
723 reporter.report( in <lambda>()
738 reporter.report( in <lambda>()
748 reporter.report( in <lambda>()
758 reporter.report( in <lambda>()
771 val checkSystemApi = !reporter.isSuppressed(Issues.REQUIRES_PERMISSION) && in <lambda>()
773 val checkHiddenShowAnnotations = !reporter.isSuppressed(Issues.UNHIDDEN_SYSTEM_API) && in <lambda>()
788 reporter.report( in <lambda>()
803 reporter.report( in <lambda>()
865 reporter.report( in <lambda>()
[all …]
DKotlinInteropChecks.kt40 class KotlinInteropChecks(val reporter: Reporter) { in <lambda>() constant in com.android.tools.metalava.KotlinInteropChecks
113 reporter.report( in <lambda>()
119 reporter.report( in <lambda>()
143 reporter.report( in <lambda>()
148 reporter.report( in <lambda>()
171 reporter.report( in <lambda>()
176 reporter.report( in <lambda>()
202 reporter.report(Issues.SAM_SHOULD_BE_LAST, method, message) in <lambda>()
248 reporter.report( in <lambda>()
296 reporter.report( in <lambda>()
[all …]
DDocAnalyzer.kt141 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.kt171 reporter.report(Issues.TODO, item, "Documentation mentions 'TODO'") in checkTodos()
196 reporter.report( in checkRequiresPermission()
206 reporter.report( in checkRequiresPermission()
228 reporter.report( in checkIntentAction()
234 reporter.report( in checkIntentAction()
243 reporter.report( in checkIntentAction()
274 reporter.report( in checkVariable()
285 reporter.report( in checkVariable()
DExtractAnnotations.kt225 reporter.report( in <lambda>()
232 reporter.report( in <lambda>()
260 !reporter.isSuppressed(Issues.RETURNING_UNEXPECTED_CONSTANT) in <lambda>()
305 reporter.report( in <lambda>()
353 reporter.report( in <lambda>()
571 reporter.report( in <lambda>()
DOptions.kt753 reporter = Reporter(null, null) in <lambda>()
1015 reporter.report( in <lambda>()
1039 reporter.report( in <lambda>()
1749 reporter, in <lambda>()
1946 reporter.report( in <lambda>()
1964 reporter.report(Severity.WARNING, null as String?, message, color = color) in <lambda>()
2563 reporter.report( in <lambda>()
2569 reporter.report( in <lambda>()
DApiLint.kt173 …val codebase: Codebase, private val oldCodebase: Codebase?, private val reporter: Reporter) : ApiV… in <lambda>() constant in com.android.tools.metalava.ApiLint
194 reporter.report(id, item, message, element) in <lambda>()
198 val prevCount = reporter.totalCount in <lambda>()
212 val apiLintIssues = reporter.totalCount - prevCount in <lambda>()
250 private val kotlinInterop = KotlinInteropChecks(reporter) in <lambda>()
3762 fun check(codebase: Codebase, oldCodebase: Codebase?, reporter: Reporter) { in <lambda>()
3763 ApiLint(codebase, oldCodebase, reporter).check() in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java592 CollectingTestListener reporter = new CollectingTestListener(); in populateFakeResults() local
596 reporter.invocationStarted(context); in populateFakeResults()
602 reporter.testRunStarted(runName, numTests); in populateFakeResults()
605 reporter.testStarted(test); in populateFakeResults()
606 reporter.testEnded(test, new HashMap<String, Metric>()); in populateFakeResults()
610 reporter.testStarted(test); in populateFakeResults()
611 reporter.testFailed(test, "failure" + f); in populateFakeResults()
612 reporter.testEnded(test, new HashMap<String, Metric>()); in populateFakeResults()
618 reporter.testStarted(test); in populateFakeResults()
620 reporter.testFailed(test, "parameterized" + f); in populateFakeResults()
[all …]
/tools/acloud/public/actions/
Dcommon_operations.py129 def UpdateReport(self, reporter): argument
135 reporter.UpdateData(self._compute_client.dict_report)
210 reporter = report.Report(command=command)
222 reporter.SetStatus(report.Status.BOOT_FAIL)
224 reporter.SetStatus(report.Status.SUCCESS)
231 device_pool.UpdateReport(reporter)
264 reporter.AddData(key="devices_failing_boot", value=device_dict)
265 reporter.AddError(str(failures[device.instance_name]))
267 reporter.AddData(key="devices", value=device_dict)
269 reporter.AddError(str(e))
[all …]
/tools/tradefederation/core/atest/test_runners/
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 …]
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(
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/test_runners/
Datest_tf_test_runner.py135 def run_tests(self, test_infos, extra_args, reporter): argument
146 reporter.log_path = self.log_path
147 reporter.rerun_options = self._extract_rerun_options(extra_args)
152 return self.run_tests_raw(test_infos, extra_args, reporter)
153 return self.run_tests_pretty(test_infos, extra_args, reporter)
155 def run_tests_raw(self, test_infos, extra_args, reporter): argument
167 reporter.register_unsupported_runner(self.NAME)
177 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
199 reporter,
207 def _start_monitor(self, server, tf_subproc, reporter, extra_args): argument
[all …]
Devent_handler.py79 def __init__(self, reporter, name): argument
80 self.reporter = reporter
125 self.reporter.process_test_result(test_runner_base.TestResult(
140 self.reporter.process_test_result(test_runner_base.TestResult(
189 self.reporter.process_test_result(test_runner_base.TestResult(
229 self._check_events_are_balanced(event_name, self.reporter)
237 def _check_events_are_balanced(self, event_name, reporter): argument
255 reporter.process_test_result(test_runner_base.TestResult(
Drobolectric_test_runner.py62 def run_tests(self, test_infos, extra_args, reporter): argument
74 return self.run_tests_raw(test_infos, extra_args, reporter)
75 return self.run_tests_pretty(test_infos, extra_args, reporter)
77 def run_tests_raw(self, test_infos, extra_args, reporter): argument
88 reporter.register_unsupported_runner(self.NAME)
100 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
123 event_handler = EventHandler(reporter, self.NAME)
/tools/tradefederation/core/atest/
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)
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
/tools/asuite/atest/
Datest.py500 tests_exit_code, reporter = test_runner_handler.run_all_tests(
502 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
503 test_results.append((tests_exit_code, reporter, test_type))
507 for tests_exit_code, reporter, test_type in test_results:
510 result = tests_exit_code | reporter.print_summary()
783 tests_exit_code, reporter = test_runner_handler.run_all_tests(
785 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
792 reporter = result_reporter.ResultReporter(
794 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
797 None, regression_args, reporter)
Dtest_runner_handler.py119 reporter = result_reporter.ResultReporter(
122 reporter.print_starting_text()
132 ret_code = test_runner.run_tests(tests, extra_args, reporter)
137 reporter.runner_failure(test_runner.NAME, stacktrace)
148 return tests_ret_code, reporter
149 return reporter.print_summary() or tests_ret_code, reporter
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java96 ITestInvocationListener reporter = null; in parse() local
98 reporter = new StreamProtoResultReporter(); in parse()
100 reporter = new SubprocessResultsReporter(); in parse()
101 ((SubprocessResultsReporter) reporter).setOutputTestLog(true); in parse()
103 config.setTestInvocationListener(reporter); in parse()
/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.kt32 import com.android.tools.metalava.reporter in <lambda>()
142 reporter.report( in <lambda>()
171 reporter.report( in <lambda>()
186 reporter.report( in <lambda>()
373 reporter.report(Issues.IO_ERROR, jarFile, e.message ?: e.toString()) in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DRetryConfigurationFactoryTest.java99 CollectingTestListener reporter = new CollectingTestListener(); in populateFakeResults() local
103 reporter.invocationStarted(context); in populateFakeResults()
104 reporter.invocationEnded(0L); in populateFakeResults()
105 mFakeRecord = reporter; in populateFakeResults()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessConfigBuilder.java137 final Element reporter = doc.createElement(Configuration.RESULT_REPORTER_TYPE_NAME); in build() local
138 reporter.setAttribute(ConfigurationUtil.CLASS_NAME, REPORTER_CLASS); in build()
142 reporter.appendChild(options); in build()
143 root.appendChild(reporter); in build()
/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>()
186 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>()

123