Home
last modified time | relevance | path

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

1234

/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/
DNdkPortsPlugin.kt27 private val project: Project, constant in com.android.ndkports.NdkPortsPluginImpl
31 private val topBuildDir = project.buildDir.resolve("port")
34 project.extensions.create("ndkPorts", NdkPortsExtension::class.java)
50 implementation = project.configurations.create("implementation") { in createConfigurations()
55 exportedAars = project.configurations.create("exportedAars") { in createConfigurations()
66 consumedAars = project.configurations.create("consumedAars") { in createConfigurations()
79 prefabTask = project.tasks.register("prefab", PrefabTask::class.java) { in createTasks()
88 extractTask = project.tasks.register( in createTasks()
97 packageTask = project.tasks.register( in createTasks()
116 aarTask = project.tasks.register("packageAar", Zip::class.java) { in createTasks()
[all …]
/tools/acloud/internal/lib/
Dgcompute_client.py139 self._project = acloud_config.project
160 project=self._project, operation=operation_name)
164 project=self._project,
170 project=self._project,
210 api = self.service.projects().get(project=self._project)
229 api = self.service.regions().list(project=self._project)
289 project=self._project, zone=zone, disk=disk_name)
342 project=self._project,
368 project=self._project, zone=zone, disk=disk_name)
397 project=self._project, disk=disk_name, zone=zone)
[all …]
Dgcompute_client_test.py78 fake_cfg.project = PROJECT
123 project=PROJECT, operation=self.OPERATION_NAME)
134 project=PROJECT,
146 project=PROJECT, operation=self.OPERATION_NAME, region=self.REGION)
190 resource_mock.get.assert_called_with(project=PROJECT, image=self.IMAGE)
205 project=self.PROJECT_OTHER, image=self.IMAGE_OTHER)
226 project=PROJECT, body=expected_body)
251 project=PROJECT, body=expected_body)
277 project=PROJECT, body=expected_body)
301 project=PROJECT,
[all …]
/tools/asuite/aidegen/project/
Dproject_splitter.py137 for project in self._projects[1:]:
138 for key, value in project.source_path.items():
147 for project in self._projects:
148 srcs = project.source_path
149 relpath = project.project_relative_path
191 for project in projects:
192 proj_path = project.project_relative_path
193 project.dependencies = [constant.FRAMEWORK_SRCJARS]
195 project.dependencies.append(self._framework_iml)
197 project.dependencies.append(self._full_repo_iml)
[all …]
/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 or 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
58 Example to generate and launch CLion project:
65project root to the source directory: the relative path which is the directory shown in CLion’s pr…
[all …]
/tools/metalava/buildSrc/src/main/kotlin/com/android/tools/metalava/
DLibraryBuildInfo.kt78 project: Project, in configureBuildInfoTask()
83 return project.tasks.register(CREATE_BUILD_INFO_TASK, CreateLibraryBuildInfoTask::class.java) { in configureBuildInfoTask()
84 it.artifactId.set(project.provider { project.name }) in configureBuildInfoTask()
85 it.groupId.set(project.provider { project.group as String }) in configureBuildInfoTask()
86 it.version.set(project.provider { project.version as String }) in configureBuildInfoTask()
88 it.sha.set(project.provider { if (inCI) getGitSha(project.projectDir) else "" }) in configureBuildInfoTask()
90 it.outputFile.set(project.provider { in configureBuildInfoTask()
96 it.aggregateOutputFile.set(project.provider { in configureBuildInfoTask()
/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.py257 self.project = cfg.project
287 return not self.project
337 "Would you like to update them?[y/N]: \n") % (self.project, self.zone)
339 if not self.project or not self.zone:
404 project = project_match.group("project")
405 project_changed = (self.project != project)
406 self.project = project
412 UpdateConfigFile(self.config_path, "project", self.project)
450 ["alpha", "billing", "projects", "describe", self.project])
456 % 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/treble/split/
Dmanifest_split.py191 path, project = entry
198 repo_dict[path] = project
502 for project in input_projects:
503 debug_info.setdefault(project, DebugInfo()).direct_input = True
511 for project, makefiles in kati_makefiles_projects.items():
512 debug_info.setdefault(project, DebugInfo()).kati_makefiles = makefiles
519 for project, cfile in config.add_projects.items():
520 debug_info.setdefault(project, DebugInfo()).manual_add_config = cfile
521 for project, cfile in config.remove_projects.items():
522 debug_info.setdefault(project, DebugInfo()).manual_remove_config = cfile
[all …]
/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.py456 for project in projects:
457 project.locate_source()
458 _update_iml_dep_modules(project)
639 def _update_iml_dep_modules(project): argument
655 for jar in project.source_path[key]:
657 if prj is project:
661 if prj.iml_name not in project.dependencies:
662 project.dependencies.append(prj.iml_name)
Dproject_file_gen.py35 from aidegen.project import project_splitter
119 iml_paths += [project.iml_path for project in projects]
239 git_paths = [common_util.find_git_root(project.project_relative_path)
240 for project in projects if project.project_relative_path]
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt427 val project = createProject(*sourceFiles) in <lambda>() constant
429 val sourcePathDir = File(project, "src") in <lambda>()
453 project, in <lambda>()
469 … sourceFiles.asSequence().map { File(project, it.targetPath).path }.toList().toTypedArray() in <lambda>()
474 .map { it.createFile(project) } in <lambda>()
485 Reporter.rootFolder = project in <lambda>()
487 val cleanedUpMessage = cleanupString(message, project).trim() in <lambda>()
495 val merged = File(project, "merged-annotations.xml") in <lambda>()
503 val merged = File(project, "merged-annotations.txt") in <lambda>()
516 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/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()
DAtestRunConfiguration.java32 import com.intellij.openapi.project.Project;
50 protected AtestRunConfiguration(Project project, ConfigurationFactory factory, String name) { in AtestRunConfiguration() argument
51 super(project, factory, name); in AtestRunConfiguration()
189 private boolean showAtestTW(@NotNull Project project) { in showAtestTW() argument
192 ToolWindowManager.getInstance(project).getToolWindow(Constants.ATEST_TOOL_WINDOW); in showAtestTW()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt35 import com.intellij.openapi.project.Project in <lambda>()
97 val project: Project in <lambda>() constant
241 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
302 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) ?: continue in <lambda>()
355 val facade = JavaPsiFacade.getInstance(project) in <lambda>()
356 val scope = GlobalSearchScope.allScope(project) in <lambda>()
415 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
532 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
572 val finder = JavaPsiFacade.getInstance(project) in <lambda>()
573 … val psiClass = finder.findClass(qualifiedName, GlobalSearchScope.allScope(project)) ?: return null in <lambda>()
[all …]
/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/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/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
/tools/metalava/
Dbuild.gradle.kts24 val lintRepo = project.findProperty("lintRepo") as String? in <lambda>()
95 val zipTask: TaskProvider<Zip> = project.tasks.register(
176 val dependency = project.dependencies.create("com.pinterest:ktlint:0.41.0") in Project()
234 val outDirProvider = project.providers.environmentVariable("DIST_DIR") in <lambda>()
250 project,
257 project,
/tools/treble/hacksaw/
DREADME.md22 * Create a new Hacksaw workspace and edit build/make project.
26 * Create a new Hacksaw workspace and edit frameworks/base project.
71 Created branch big-feature on project ~/hacksaw/big-feature/tools/treble
88 Created branch quick-fix on project ~/hacksaw/quick-fix/tools/treble
153 manually in the workspace project.
157 Hacksaw uses read-only bind mounts to create project references from
158 a workspace to a codebase. When you mark a project for editing then
170 * Editing nested projects is not supported yet. So if you have a git project

1234