Home
last modified time | relevance | path

Searched refs:project (Results 1 – 25 of 88) sorted by relevance

1234

/tools/repohooks/rh/
Dhooks.py322 def _check_cmd(hook_name, project, commit, cmd, fixup_func=None, **kwargs): argument
324 return [rh.results.HookCommandResult(hook_name, project, commit,
337 def check_custom(project, commit, _desc, diff, options=None, **kwargs): argument
339 return _check_cmd(options.name, project, commit, options.args((), diff),
343 def check_bpfmt(project, commit, _desc, diff, options=None): argument
357 'bpfmt', project, commit, error=result.stdout,
362 def check_checkpatch(project, commit, _desc, diff, options=None): argument
365 cmd = ([tool, '-', '--root', project.dir] +
367 return _check_cmd('checkpatch.pl', project, commit, cmd,
371 def check_clang_format(project, commit, _desc, diff, options=None): argument
[all …]
Dhooks_unittest.py278 self.project = rh.Project(name='project-name', dir='/.../repo/dir',
296 ret = func(self.project, 'commit', desc, diff, options=self.options)
313 ret = func(self.project, 'commit', 'desc', (), options=self.options)
319 ret = func(self.project, 'commit', 'desc', diff, options=self.options)
332 self.project, 'commit', 'desc', (), options=self.options)
339 self.project, 'commit', 'desc', diff, options=self.options)
345 self.project, 'commit', 'desc', (), options=self.options)
351 self.project, 'commit', 'desc', (), options=self.options)
357 self.project, 'commit', 'desc', (), options=self.options)
759 self.project, 'commit', 'desc', (), options=self.options)
[all …]
Dresults.py29 def __init__(self, hook, project, commit, error, files=(), fixup_func=None): argument
45 self.project = project
66 def __init__(self, hook, project, commit, result, files=(), argument
68 HookResult.__init__(self, hook, project, commit,
/tools/acloud/internal/lib/
Dgcompute_client.py141 self._project = acloud_config.project
162 project=self._project, operation=operation_name)
166 project=self._project,
172 project=self._project,
212 api = self.service.projects().get(project=self._project)
231 api = self.service.regions().list(project=self._project)
291 project=self._project, zone=zone, disk=disk_name)
344 project=self._project,
370 project=self._project, zone=zone, disk=disk_name)
399 project=self._project, disk=disk_name, zone=zone)
[all …]
Dgcompute_client_test.py79 fake_cfg.project = PROJECT
124 project=PROJECT, operation=self.OPERATION_NAME)
135 project=PROJECT,
147 project=PROJECT, operation=self.OPERATION_NAME, region=self.REGION)
191 resource_mock.get.assert_called_with(project=PROJECT, image=self.IMAGE)
206 project=self.PROJECT_OTHER, image=self.IMAGE_OTHER)
227 project=PROJECT, body=expected_body)
252 project=PROJECT, body=expected_body)
278 project=PROJECT, body=expected_body)
302 project=PROJECT,
[all …]
/tools/asuite/aidegen/project/
Dproject_splitter.py135 for project in self._projects[1:]:
136 for key, value in project.source_path.items():
145 for project in self._projects:
146 srcs = project.source_path
147 relpath = project.project_relative_path
189 for project in projects:
190 proj_path = project.project_relative_path
191 project.dependencies = [constant.FRAMEWORK_SRCJARS]
193 project.dependencies.append(self._framework_iml)
195 project.dependencies.append(self._full_repo_iml)
[all …]
/tools/metalava/buildSrc/src/main/kotlin/com/android/tools/metalava/
DLibraryBuildInfo.kt74 project: Project, in configureBuildInfoTask()
78 return project.tasks.register(CREATE_BUILD_INFO_TASK, CreateLibraryBuildInfoTask::class.java) { in configureBuildInfoTask()
79 it.artifactId.set(project.provider<String> { project.name }) in configureBuildInfoTask()
80 it.groupId.set(project.provider<String> { project.group as String }) in configureBuildInfoTask()
81 it.version.set(project.provider<String> { project.version as String }) in configureBuildInfoTask()
83 it.sha.set(project.provider<String> { if (inCI) getGitSha(project.projectDir) else "" }) in configureBuildInfoTask()
84 it.outputFile.set(project.provider<File> { in configureBuildInfoTask()
90 it.aggregateOutputFile.set(project.provider<File> { in configureBuildInfoTask()
/tools/asuite/aidegen/
DREADME.md3 AIDEGen aims to automate the project setup process for developers to work on
4 Java or C/C++project in popular IDE environment. Developers no longer need to manually
5 configure an IntelliJ project, such as all the project dependencies. It's a
8 * Configure Android Studio of IntelliJ project files with the relevant module
11 * Launch IDE for a specified sub-project or build target, i.e. frameworks/base
33 Example to generate and launch IntelliJ project for framework and Settings:
41 Example to generate and launch IntelliJ project for framework and Settings:
49 Example to generate and launch IntelliJ project for framework and Settings and
69 | `-a` | `--android-tree` | Generate whole Android source tree project file for IDE.|
81 Q1. If I already have an IDE project file, and I run command AIDEGen to generate
[all …]
/tools/treble/split/
Dmanifest_split.py184 path, project = entry
191 repo_dict[path] = project
490 for project in input_projects:
491 debug_info.setdefault(project, DebugInfo()).direct_input = True
499 for project, makefiles in kati_makefiles_projects.items():
500 debug_info.setdefault(project, DebugInfo()).kati_makefiles = makefiles
507 for project, cfile in config.add_projects.items():
508 debug_info.setdefault(project, DebugInfo()).manual_add_config = cfile
509 for project, cfile in config.remove_projects.items():
510 debug_info.setdefault(project, DebugInfo()).manual_remove_config = cfile
[all …]
/tools/acloud/internal/script/
Dcreate_extradisk.sh20 gcloud compute disks create "${DISK_NAME}" --zone=${ZONE} --project=${PROJECT} --size="${1}GB"
21 …tances attach-disk instance-disk-creation --disk "${DISK_NAME}" --zone=${ZONE} --project=${PROJECT}
23 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo mkfs.…
24 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo mount…
25 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "ls /mnt"
26 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo umoun…
28 …tances detach-disk instance-disk-creation --disk "${DISK_NAME}" --zone=${ZONE} --project=${PROJECT}
29 …create "${IMAGE_NAME}" --source-disk-zone=${ZONE} --source-disk "${DISK_NAME}" --project=${PROJECT}
30 gcloud compute disks delete "${DISK_NAME}" --zone=${ZONE} --project=${PROJECT}
/tools/acloud/setup/
Dgcp_setup_runner.py258 self.project = cfg.project
288 return not self.project
338 "Would you like to update them?[y/N]: \n") % (self.project, self.zone)
340 if not self.project or not self.zone:
405 project = project_match.group("project")
406 project_changed = (self.project != project)
407 self.project = project
413 UpdateConfigFile(self.config_path, "project", self.project)
451 ["alpha", "billing", "projects", "describe", self.project])
457 % self.project)
Dgcp_setup_runner_test.py78 self.assertEqual(cfg.project, "test_project")
85 self.assertEqual(cfg.project, "test_project")
94 self.assertEqual(cfg.project, "test_project")
101 self.gcp_env_runner.project = "fake_project"
105 self.assertEqual(self.gcp_env_runner.project, "new_project")
207 self.gcp_env_runner.project = ""
211 self.gcp_env_runner.project = "test_project"
262 self.gcp_env_runner.project
/tools/asuite/aidegen/lib/
Declipse_project_file_gen.py58 def __init__(self, project): argument
64 super().__init__(project)
65 self.module_abspath = project.project_absolute_path
66 self.module_relpath = project.project_relative_path
67 self.module_name = project.module_name
68 self.jar_module_paths = project.source_path['jar_module_path']
69 self.r_java_paths = list(project.source_path['r_java_path'])
75 self.src_paths = list(project.source_path['source_folder_path'])
76 self.src_paths.extend(project.source_path['test_folder_path'])
306 for project in projects:
[all …]
Dproject_info.py450 for project in projects:
451 project.locate_source()
452 _update_iml_dep_modules(project)
633 def _update_iml_dep_modules(project): argument
649 for jar in project.source_path[key]:
651 if prj is project:
655 if prj.iml_name not in project.dependencies:
656 project.dependencies.append(prj.iml_name)
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt493 val project = createProject(*sourceFiles) in <lambda>() constant
495 val sourcePathDir = File(project, "src") in <lambda>()
519 project, in <lambda>()
535 … sourceFiles.asSequence().map { File(project, it.targetPath).path }.toList().toTypedArray() in <lambda>()
540 .map { it.createFile(project) } in <lambda>()
551 Reporter.rootFolder = project in <lambda>()
553 val cleanedUpMessage = cleanupString(message, project).trim() in <lambda>()
561 val merged = File(project, "merged-annotations.xml") in <lambda>()
569 val merged = File(project, "merged-annotations.txt") in <lambda>()
582 val merged = File(project, "qualifier/$relative/${cls.className}.java") in <lambda>()
[all …]
/tools/asuite/asuite_plugin/src/java/com/android/atest/toolWindow/
DAtestToolWindow.java26 import com.intellij.openapi.project.Project;
61 private AtestToolWindow(ToolWindow toolWindow, Project project) { in AtestToolWindow() argument
62 mProject = project; in AtestToolWindow()
63 String basePath = project.getBasePath(); in AtestToolWindow()
85 public static AtestToolWindow initAtestToolWindow(ToolWindow toolWindow, Project project) { in initAtestToolWindow() argument
86 sAtestToolWindowInstance = new AtestToolWindow(toolWindow, project); in initAtestToolWindow()
102 public static AtestToolWindow getInstance(@NotNull Project project) { in getInstance() argument
104 ToolWindowManager.getInstance(project).getToolWindow(Constants.ATEST_TOOL_WINDOW); in getInstance()
/tools/test/openhst/docs/
Dcontributing.md3 We'd love to accept your patches and contributions to this project. There are
8 Contributions to this project must be accompanied by a Contributor License
11 contributions as part of the project. Head over to
16 (even if it was for a different project), you probably don't need to do it
21 All submissions, including submissions by project members, require review.
27 This project follows
/tools/treble/hacksaw/workspace/
Dworkspace.go155 for _, project := range gitProjects {
156 gitWorktrees[project] = true
161 project, err := filepath.Rel(workspaceDir, unbindPath)
165 if _, ok := gitWorktrees[project]; ok {
166 gitWorktrees[project] = false
169 for project, isWorktree := range gitWorktrees {
173 codebaseProject := filepath.Join(codebaseDir, project)
174 workspaceProject := filepath.Join(workspaceDir, project)
/tools/acloud/internal/proto/
Duser_config.proto25 // Compute Engine project name
26 optional string project = 3; field
51 // * They are created in the cloud project console -> API manager.
52 // * They are used to authorize the app to talk to the cloud project
58 // * All users talking to the same cloud project can share the same
67 // [CVD only] The project that the stable host image is released to
73 // [GOLDFISH only] The project that the stable goldfish host image is
88 // [CHEEPS only] The project that the stable host image is released to
/tools/asuite/asuite_plugin/src/java/com/android/atest/run/
DAtestConfigurationFactory.java23 import com.intellij.openapi.project.Project;
43 public RunConfiguration createTemplateConfiguration(@NotNull Project project) { in createTemplateConfiguration() argument
44 return new AtestRunConfiguration(project, this, Constants.ATEST_NAME); in createTemplateConfiguration()
59 public boolean isApplicable(@NotNull Project project) { in isApplicable() argument
60 return AtestUtils.getAndroidRoot(project.getBasePath()) != null; in isApplicable()
/tools/asuite/asuite_plugin/src/java/com/android/atest/commandAdapter/
DCommandRunner.java32 import com.intellij.openapi.project.Project;
78 @NotNull Project project) in CommandRunner() argument
83 mProject = project; in CommandRunner()
149 public static void stopProcess(Project project) { in stopProcess() argument
152 ExecutionManager.getInstance(project) in stopProcess()
156 ExecutionManager.getInstance(project) in stopProcess()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt35 import com.intellij.openapi.project.Project in <lambda>()
73 val project: Project in <lambda>() constant
206 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
266 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) ?: continue in <lambda>()
317 val facade = JavaPsiFacade.getInstance(project) in <lambda>()
318 val scope = GlobalSearchScope.allScope(project) in <lambda>()
377 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
497 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
539 val finder = JavaPsiFacade.getInstance(project) in <lambda>()
540 … val psiClass = finder.findClass(qualifiedName, GlobalSearchScope.allScope(project)) ?: return null in <lambda>()
[all …]
/tools/repohooks/
Dpre-upload.py288 project = rh.Project(name=project_name, dir=proj_dir, remote=remote)
320 hook_results = hook(project, commit, desc, diff)
402 for project, worktree in zip(project_list, worktree_list):
403 if not _run_project_hooks(project, proj_dir=worktree):
470 if not opts.project:
471 opts.project = _identify_project(opts.dir)
472 if not opts.project:
475 if _run_project_hooks(opts.project, proj_dir=opts.dir,
/tools/metalava/
Dbuild.gradle.kts24 val lintRepo = project.findProperty("lintRepo") as String? in <lambda>()
95 val zipTask: TaskProvider<Zip> = project.tasks.register(
175 val dependency = project.dependencies.create("com.pinterest:ktlint:0.33.0") in Project()
233 val outDirProvider = project.providers.environmentVariable("DIST_DIR") in <lambda>()
247 configureBuildInfoTask(project, isBuildingOnServer(), getDistributionDirectory())
249 project,
/tools/trebuchet/
DCONTRIBUTING.md3 We'd love to accept your patches and contributions to this project. There are
8 Contributions to this project must be accompanied by a Contributor License
11 part of the project. Head over to <https://cla.developers.google.com/> to see
15 (even if it was for a different project), you probably don't need to do it
20 All submissions, including submissions by project members, require review. We

1234