Home
last modified time | relevance | path

Searched refs:report (Results 1 – 25 of 73) sorted by relevance

123

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt181 private fun report(id: Issue, item: Item, message: String, element: PsiElement? = null) { in <lambda>() method in com.android.tools.metalava.ApiLint
194 reporter.report(id, item, message, element) in <lambda>()
385 report(ENUM, cls, "Enums are discouraged in Android APIs") in <lambda>()
425 …first !in 'a'..'z' -> report(START_WITH_LOWER, method, "Method name must start with lowercase char… in <lambda>()
427 report( in <lambda>()
467 report( in <lambda>()
473 report( in <lambda>()
481 report( in <lambda>()
522 report( in <lambda>()
527 report( in <lambda>()
[all …]
DCompatibilityCheck.kt89 report( in compare()
97 report( in compare()
121 report( in compare()
134 report( in compare()
141 report( in compare()
157 report( in compare()
163 report( in compare()
171 report( in compare()
184 report( in compare()
201 report( in compare()
[all …]
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>()
788 reporter.report( in <lambda>()
803 reporter.report( in <lambda>()
865 reporter.report( in <lambda>()
895 reporter.report( in <lambda>()
909 reporter.report( in <lambda>()
[all …]
DKotlinInteropChecks.kt113 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>()
318 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>()
654 reporter.report( 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()
DReporter.kt104 fun report(id: Issues.Issue, element: PsiElement?, message: String): Boolean { in hasErrors() method
116 return report(severity, elementToLocation(element), message, id) in hasErrors()
119 fun report(id: Issues.Issue, file: File?, message: String): Boolean { in report() method
131 return report(severity, file?.path, message, id) in report()
134 fun report(id: Issues.Issue, item: Item?, message: String, psi: PsiElement? = null): Boolean { in report() method in com.android.tools.metalava.Reporter
295 report(severity, location, message, id) in doReport()
297 fun report( in doReport() method
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Derror_reporter.py77 report = ErrorLogger('%s|%s' % (self.name, ticket))
79 (self.report_on_adb(sl4a_manager.adb, report)
80 and self.report_device_processes(sl4a_manager.adb, report) and
81 self.report_sl4a_state(rpc_connection, sl4a_manager.adb, report)
82 and self.report_sl4a_session(sl4a_manager, sl4a_session, report))
88 def report_on_adb(self, adb, report): argument
92 report.info('The adb daemon has an uptime of %s '
95 report.warning('The adb daemon (on the host machine) is not '
101 report.warning(
106 report.warning(
[all …]
/tools/acloud/public/actions/
Dcreate_goldfish_action_test.py123 report = create_goldfish_action.CreateDevices(
150 self.assertEqual(report.data, {
167 self.assertEqual(report.command, "create_gf")
168 self.assertEqual(report.status, "SUCCESS")
186 report = create_goldfish_action.CreateDevices(avd_spec=self.avd_spec)
238 report = create_goldfish_action.CreateDevices(
270 self.assertEqual(report.data, {
285 self.assertEqual(report.command, "create_gf")
286 self.assertEqual(report.status, "SUCCESS")
304 report = create_goldfish_action.CreateDevices(avd_spec=self.avd_spec)
[all …]
Dcommon_operations.py28 from acloud.public import report
210 reporter = report.Report(command=command)
222 reporter.SetStatus(report.Status.BOOT_FAIL)
224 reporter.SetStatus(report.Status.SUCCESS)
270 reporter.SetStatus(report.Status.FAIL)
/tools/acloud/public/
Dacloud_main.py378 report = None
380 report = create.Run(args)
382 report = create_cuttlefish_action.CreateDevices(
401 report = create_goldfish_action.CreateDevices(
419 report = delete.Run(args)
425 report = pull.Run(args)
433 if report and args.report_file:
434 report.Dump(args.report_file)
435 if report and report.errors:
436 error_msg = "\n".join(report.errors)
[all …]
Dreport_test.py20 from acloud.public import report
28 test_report = report.Report("create")
42 test_report = report.Report("create")
49 test_report = report.Report("create")
50 test_report.SetStatus(report.Status.SUCCESS)
53 test_report.SetStatus(report.Status.FAIL)
56 test_report.SetStatus(report.Status.BOOT_FAIL)
60 test_report.SetStatus(report.Status.FAIL)
65 test_report = report.Report("create")
79 test_report = report.Report("create")
Ddevice_driver_test.py100 report = device_driver.CreateGCETypeAVD(
118 report.data,
128 self.assertEqual(report.command, "create")
129 self.assertEqual(report.status, "SUCCESS")
143 report = device_driver.CreateGCETypeAVD(
148 report.data,
167 report = device_driver.DeleteAndroidVirtualDevices(cfg, instance_names)
170 self.assertEqual(report.data, {
182 self.assertEqual(report.command, "delete")
183 self.assertEqual(report.status, "SUCCESS")
Ddevice_driver.py36 from acloud.public import report
309 report_obj.SetStatus(report.Status.FAIL)
372 r = report.Report(command="create")
419 r.SetStatus(report.Status.BOOT_FAIL)
421 r.SetStatus(report.Status.SUCCESS)
432 r.SetStatus(report.Status.FAIL)
452 r = default_report if default_report else report.Report(command="delete")
469 if r.status == report.Status.UNKNOWN:
470 r.SetStatus(report.Status.SUCCESS)
473 r.SetStatus(report.Status.FAIL)
/tools/acloud/delete/
Ddelete.py36 from acloud.public import report
61 delete_report = report.Report(command="delete")
72 delete_report.SetStatus(report.Status.FAIL)
141 delete_report.SetStatus(report.Status.SUCCESS)
148 delete_report.SetStatus(report.Status.FAIL)
168 delete_report.SetStatus(report.Status.SUCCESS)
175 delete_report.SetStatus(report.Status.FAIL)
195 delete_report = report.Report(command="delete")
207 delete_report.SetStatus(report.Status.SUCCESS)
214 delete_report.SetStatus(report.Status.FAIL)
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java88 File report = null; in preInvocationSetup() local
90 report = FileUtil.createTempFile("report", ".json"); in preInvocationSetup()
91 result = acloudCreate(report, getOptions()); in preInvocationSetup()
92 loadAvdInfo(report); in preInvocationSetup()
97 FileUtil.deleteFile(report); in preInvocationSetup()
295 private CommandResult acloudCreate(File report, TestDeviceOptions options) { in acloudCreate() argument
312 report, in acloudCreate()
328 File report, in acloudCreate() argument
346 report.getAbsolutePath(), in acloudCreate()
378 private void loadAvdInfo(File report) throws TargetSetupError { in loadAvdInfo() argument
[all …]
/tools/acloud/internal/lib/
Dutils.py660 def ReportEvaluator(report): argument
669 if report is None or report.errors:
671 result_message=report.errors)
957 def LaunchVNCFromReport(report, avd_spec, no_prompts=False): argument
965 for device in report.data.get("devices", []):
976 def LaunchBrowserFromReport(report): argument
987 for device in report.data.get("devices", []):
1055 def PrintDeviceSummary(report): argument
1069 for device in report.data.get("devices", []):
1083 if report.errors:
[all …]
/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py152 report = self._goldfish._CreateAVD(mock_avd_spec, no_prompts=False)
154 self.assertEqual(report.data.get("devices"),
194 report = self._goldfish._CreateAVD(mock_avd_spec, no_prompts=True)
196 self.assertEqual(report.data.get("devices"),
241 report = self._goldfish._CreateAVD(mock_avd_spec, no_prompts=True)
243 self.assertEqual(report.data.get("devices_failing_boot"),
245 self.assertEqual(report.errors, ["timeout"])
291 report = self._goldfish._CreateAVD(mock_avd_spec, no_prompts=True)
293 self.assertEqual(report.data.get("devices"),
Dlocal_image_local_instance.py51 from acloud.public import report
97 result_report = report.Report(command="create")
98 result_report.SetStatus(report.Status.FAIL)
113 result_report = report.Report(command="create")
122 result_report.SetStatus(report.Status.BOOT_FAIL)
130 result_report.SetStatus(report.Status.SUCCESS)
143 result_report.SetStatus(report.Status.BOOT_FAIL)
Dgoldfish_local_image_local_instance.py53 from acloud.public import report
167 result_report = report.Report(command="create")
168 result_report.SetStatus(report.Status.FAIL)
210 result_report = report.Report(command="create")
214 result_report.SetStatus(report.Status.BOOT_FAIL)
219 result_report.SetStatus(report.Status.SUCCESS)
Dlocal_image_local_instance_test.py104 report = self.local_image_local_instance._CreateAVD(
107 self.assertEqual(report.data.get("devices"),
112 report = self.local_image_local_instance._CreateAVD(
115 self.assertEqual(report.data.get("devices_failing_boot"),
117 self.assertEqual(report.errors, ["timeout"])
Dremote_image_remote_instance.py45 report = common_operations.CreateDevices(
57 utils.LaunchVNCFromReport(report, avd_spec, no_prompts)
59 utils.LaunchBrowserFromReport(report)
61 return report
/tools/acloud/public/acloud_kernel/
Dkernel_swapper.py23 from acloud.public import report
79 reboot_image = report.Report(command='swap_kernel')
86 reboot_image.SetStatus(report.Status.FAIL)
90 reboot_image.SetStatus(report.Status.BOOT_FAIL)
93 reboot_image.SetStatus(report.Status.SUCCESS)
Dacloud_kernel.py82 report = k_swapper.SwapKernel(args.local_kernel_image)
84 report.Dump(args.report_file)
85 if report.errors:
86 msg = "\n".join(report.errors)
/tools/repohooks/tools/
Dpylintrc72 # Enable the message, report, category or checker with the given id(s). You can
140 # Disable the message, report, category or checker with the given id(s). You
184 # Tells whether to display a full report or only the messages
193 # number of statements analyzed. This is used by the global evaluation report
472 # given file (report RP0402 must not be disabled)
475 # Create a graph of external dependencies in the given file (report RP0402 must
479 # Create a graph of internal dependencies in the given file (report RP0402 must

123