/tools/repohooks/rh/ |
D | hooks.py | 284 def _check_cmd(hook_name, project, commit, cmd, fixup_func=None, **kwargs): argument 286 return [rh.results.HookCommandResult(hook_name, project, commit, 299 def check_custom(project, commit, _desc, diff, options=None, **kwargs): argument 301 return _check_cmd(options.name, project, commit, options.args((), diff), 305 def check_bpfmt(project, commit, _desc, diff, options=None): argument 319 'bpfmt', project, commit, error=result.stdout, 324 def check_checkpatch(project, commit, _desc, diff, options=None): argument 327 cmd = ([tool, '-', '--root', project.dir] + 329 return _check_cmd('checkpatch.pl', project, commit, cmd, 333 def check_clang_format(project, commit, _desc, diff, options=None): argument [all …]
|
D | hooks_unittest.py | 260 self.project = rh.Project(name='project-name', dir='/.../repo/dir', 278 ret = func(self.project, 'commit', desc, diff, options=self.options) 295 ret = func(self.project, 'commit', 'desc', (), options=self.options) 301 ret = func(self.project, 'commit', 'desc', diff, options=self.options) 314 self.project, 'commit', 'desc', (), options=self.options) 321 self.project, 'commit', 'desc', diff, options=self.options) 327 self.project, 'commit', 'desc', (), options=self.options) 333 self.project, 'commit', 'desc', (), options=self.options) 339 self.project, 'commit', 'desc', (), options=self.options) 692 self.project, 'commit', 'desc', (), options=self.options) [all …]
|
D | results.py | 32 def __init__(self, hook, project, commit, error, files=(), fixup_func=None): argument 48 self.project = project 69 def __init__(self, hook, project, commit, result, files=(), argument 71 HookResult.__init__(self, hook, project, commit,
|
/tools/acloud/internal/lib/ |
D | gcompute_client.py | 138 self._project = acloud_config.project 159 project=self._project, operation=operation_name) 163 project=self._project, 169 project=self._project, 209 api = self.service.projects().get(project=self._project) 228 api = self.service.regions().list(project=self._project) 288 project=self._project, zone=zone, disk=disk_name) 341 project=self._project, 367 project=self._project, zone=zone, disk=disk_name) 396 project=self._project, disk=disk_name, zone=zone) [all …]
|
D | gcompute_client_test.py | 78 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/ |
D | source_splitter.py | 123 for project in self._projects[1:]: 124 for key, value in project.source_path.items(): 133 for project in self._projects: 134 srcs = project.source_path 135 relpath = project.project_relative_path 177 for project in projects: 178 proj_path = project.project_relative_path 179 project.dependencies = [constant.FRAMEWORK_SRCJARS] 181 project.dependencies.append(self._framework_iml) 183 project.dependencies.append(self._full_repo_iml) [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | DriverTest.kt | 484 val project = createProject(*sourceFiles) in <lambda>() constant 486 val sourcePathDir = File(project, "src") in <lambda>() 510 project, in <lambda>() 526 … sourceFiles.asSequence().map { File(project, it.targetPath).path }.toList().toTypedArray() in <lambda>() 531 .map { it.createFile(project) } in <lambda>() 542 Reporter.rootFolder = project in <lambda>() 544 val cleanedUpMessage = cleanupString(message, project).trim() in <lambda>() 552 val merged = File(project, "merged-annotations.xml") in <lambda>() 560 val merged = File(project, "merged-annotations.txt") in <lambda>() 573 val merged = File(project, "qualifier/$relative/${cls.className}.java") in <lambda>() [all …]
|
/tools/treble/split/ |
D | manifest_split.py | 440 for project in config_remove_projects: 441 remove_projects.setdefault(project, []).append(config_file) 442 for project in config_add_projects: 443 add_projects.setdefault(project, []).append(config_file) 449 for project in input_projects: 450 debug_info.setdefault(project, DebugInfo()).direct_input = True 458 for project, makefiles in kati_makefiles_projects.items(): 459 debug_info.setdefault(project, DebugInfo()).kati_makefiles = makefiles 466 for project, configs in add_projects.items(): 467 debug_info.setdefault(project, DebugInfo()).manual_add_configs = configs [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiBasedCodebase.kt | 34 import com.intellij.openapi.project.Project in <lambda>() 73 lateinit var project: Project in <lambda>() variable 114 fun initialize(project: Project, units: List<PsiFile>, packages: PackageDocs) { in <lambda>() 119 this.project = project in <lambda>() 207 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>() 244 Disposer.dispose(project) in <lambda>() 267 val psiPackage = JavaPsiFacade.getInstance(project).findPackage(pkgName) ?: continue in <lambda>() 310 fun initialize(project: Project, jarFile: File, preFiltered: Boolean = false) { in <lambda>() 315 this.project = project in <lambda>() 318 val facade = JavaPsiFacade.getInstance(project) in <lambda>() [all …]
|
/tools/asuite/aidegen/ |
D | README.md | 1 AIDEgen aims to automate the project setup process for developers to work on 2 Java project in popular IDE environment. Developers no longer need to 3 manually configure an IntelliJ project, such as all the project dependencies. 6 * Configure Intellij or Android Studio project files with the relevant module 9 * Launch IDE for a specified sub-project or build target, i.e. frameworks/base 24 Example to generate and launch IntelliJ project for framework and 31 Example to generate and launch Android Studio project for framework: 40 1. Q: If I already have an IDE project file, and I run command AIDEGen to 41 generate the same project file again, what’ll happen? 42 A: The former IDEA project file will be overwritten by the newly [all …]
|
/tools/acloud/setup/ |
D | gcp_setup_runner.py | 258 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)
|
D | gcp_setup_runner_test.py | 77 self.assertEqual(cfg.project, "test_project") 84 self.assertEqual(cfg.project, "test_project") 93 self.assertEqual(cfg.project, "test_project") 100 self.gcp_env_runner.project = "fake_project" 104 self.assertEqual(self.gcp_env_runner.project, "new_project") 206 self.gcp_env_runner.project = "" 210 self.gcp_env_runner.project = "test_project" 261 self.gcp_env_runner.project
|
/tools/asuite/aidegen/lib/ |
D | eclipse_project_file_gen.py | 58 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 …]
|
D | project_file_gen.py | 35 from aidegen.project import source_splitter 117 iml_paths += [project.iml_path for project in projects] 231 git_paths = [common_util.find_git_root(project.project_relative_path) 232 for project in projects if project.project_relative_path]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Driver.kt | 867 val project = projectEnvironment.project in parseSources() constant 870 … project.getComponent(LanguageLevelProjectExtension::class.java)?.languageLevel = javaLanguageLevel in parseSources() 890 project = project, in parseSources() 898 val units = Extractor.createUnitsForFiles(project, sources) in parseSources() 902 codebase.initialize(project, units, packageDocs) in parseSources() 916 val project = projectEnvironment.project in loadFromJarFile() constant 920 … val trace = KotlinLintAnalyzerFacade().analyze(kotlinFiles, listOf(apiJar), project, environment) in loadFromJarFile() 923 codebase.initialize(project, apiJar, preFiltered) in loadFromJarFile() 956 projectEnvironment.project.registerService( in createProjectEnvironment() 972 for (project in disposables) { in disposeUastEnvironment() method [all …]
|
/tools/acloud/internal/script/ |
D | create_extradisk.sh | 20 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/asuite/asuite_plugin/src/java/com/android/atest/toolWindow/ |
D | AtestToolWindow.java | 26 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/acloud/internal/proto/ |
D | user_config.proto | 25 // 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/repohooks/ |
D | pre-upload.py | 294 project = rh.Project(name=project_name, dir=proj_dir, remote=remote) 315 hook_results = hook(project, commit, desc, diff) 396 for project, worktree in zip(project_list, worktree_list): 397 if not _run_project_hooks(project, proj_dir=worktree): 464 if not opts.project: 465 opts.project = _identify_project(opts.dir) 466 if not opts.project: 469 if _run_project_hooks(opts.project, proj_dir=opts.dir,
|
D | README.md | 30 * Repo project-wide settings (e.g. all of AOSP). These set up defaults for all 33 the local project you're working on. 44 For manifests that don't have a project checked out at the top level, 58 # Per-project `repo upload` hook settings. 84 * `REPO_PROJECT`: The name of the project. 86 * `REPO_PATH`: The path to the project relative to the root. 256 # Or paths relative to the top of the git project.
|
/tools/test/openhst/docs/ |
D | contributing.md | 3 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. We 28 This project follows
|
/tools/asuite/asuite_plugin/src/java/com/android/atest/commandAdapter/ |
D | CommandRunner.java | 32 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/asuite/asuite_plugin/src/java/com/android/atest/run/ |
D | AtestConfigurationFactory.java | 23 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()
|
D | AtestRunConfiguration.java | 32 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/trebuchet/ |
D | CONTRIBUTING.md | 3 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
|