Home
last modified time | relevance | path

Searched refs:branch (Results 1 – 25 of 46) sorted by relevance

12

/tools/acloud/public/actions/
Dcreate_cuttlefish_action.py54 def __init__(self, cfg, build_target, build_id, branch=None, argument
76 self._branch = branch
87 build_target, build_id, branch)
174 branch=self.build_info.branch,
176 kernel_branch=self.kernel_build_info.branch,
182 system_branch=self.system_build_info.branch,
192 branch=None, argument
254 build_id, branch, kernel_build_id, kernel_branch, kernel_build_target,
262 cfg, build_target, build_id, branch=branch,
Dcreate_goldfish_action.py74 branch=None, argument
113 build_target, build_id, branch)
158 branch=self.build_info.branch,
160 emulator_branch=self.emulator_build_info.branch,
162 kernel_branch=self.kernel_build_info.branch,
243 branch=None, argument
282 branch = avd_spec.remote_image[constants.BUILD_BRANCH]
311 if not build_id and not branch:
334 branch=branch,
Dcreate_goldfish_action_test.py138 branch=self.BRANCH,
194 branch=self.BRANCH,
246 branch=None,
258 branch=self.BRANCH,
312 branch=self.BRANCH,
369 branch=self.BRANCH,
423 branch=self.BRANCH,
Dcreate_cuttlefish_action_test.py124 cfg, self.BUILD_TARGET, self.BUILD_ID, branch=self.BRANCH,
136 branch=self.BRANCH,
/tools/acloud/internal/lib/
Dcvd_compute_client_multi_stage.py82 def _ProcessBuild(build_id=None, branch=None, build_target=None): argument
94 return build_id or branch
95 elif build_target and not branch:
96 branch = _DEFAULT_BRANCH
97 return (build_id or branch) + "/" + build_target
164 build_target=None, branch=None, build_id=None, argument
229 self.FetchBuild(build_id, branch, build_target, system_build_id,
518 def FetchBuild(self, build_id, branch, build_target, system_build_id, argument
529 default_build = _ProcessBuild(build_id, branch, build_target)
Dcvd_compute_client_multi_stage_test.py134 self.assertEqual(_ProcessBuild(build_id="123", branch="abc", build_target="def"), "123/def")
135 self.assertEqual(_ProcessBuild(build_id=None, branch="abc", build_target="def"), "abc/def")
136 self.assertEqual(_ProcessBuild(build_id="123", branch=None, build_target="def"), "123/def")
137 self.assertEqual(_ProcessBuild(build_id="123", branch="abc", build_target=None), "123")
138 self.assertEqual(_ProcessBuild(build_id=None, branch="abc", build_target=None), "abc")
139 self.assertEqual(_ProcessBuild(build_id="123", branch=None, build_target=None), "123")
140 self.assertEqual(_ProcessBuild(build_id=None, branch=None, build_target=None), None)
Dgoldfish_compute_client.py143 branch, argument
196 branch=branch, build_id=build_id)
199 branch=kernel_branch, build_id=kernel_build_id)
207 branch=emulator_branch, build_id=emulator_build_id)
Dcvd_compute_client.py71 build_target=None, branch=None, build_id=None, argument
117 branch=branch, build_id=build_id)
120 branch=kernel_branch, build_id=kernel_build_id)
127 branch=system_branch, build_id=system_build_id)
Dandroid_build_client.py177 branch=build_branch,
192 def GetBuildInfo(self, build_target, build_id, branch): argument
212 elif branch:
215 branch=branch,
Dgoldfish_compute_client_test.py106 branch=self.BRANCH, build_id=self.BUILD_ID),
109 branch=self.KERNEL_BRANCH, build_id=self.KERNEL_BUILD_ID),
115 branch=self.EMULATOR_BRANCH,
Dandroid_build_client_test.py142 branch = self.client.GetBranch(self.BUILD_TARGET, self.BUILD_ID)
146 self.assertEqual(branch, build_info["branch"])
159 branch=self.BUILD_BRANCH,
/tools/acloud/
DREADME.md57 for cuttlefish phone target in the branch of your repo, default aosp main (master)
67 target in the branch of your repo)
75 When specifying an Android Build image, you can specify the branch,
76 target and/or build id (e.g. `--branch my_branch`). Acloud will assume the
79 * `--branch`: The branch of the repo you're running the acloud command in, e.g.
80 in an aosp repo on the master branch, acloud will infer the aosp-main (aosp-master) branch.
85 * `--build-id`: Default to the Last Known Good Build (LKGB) id for the branch and
/tools/external_updater/
Dgit_utils.py72 def get_sha_for_branch(proj_path: Path, branch: str):
74 return _run(['git', 'rev-parse', branch], proj_path).strip()
77 def get_commits_ahead(proj_path: Path, branch: str,
82 branch, base_branch)
127 def merge(proj_path: Path, branch: str) -> None:
130 _run(['git', 'merge', branch, '--no-commit'], cwd=proj_path)
/tools/acloud/create/
Davd_spec.py525 self._remote_image[constants.BUILD_BRANCH] = args.branch
635 branch = None
654 branch = branch_prefix + match.group("branch")
656 if branch:
657 return branch
676 branch = re.split("-|_", self._remote_image[constants.BUILD_BRANCH])[0]
678 _BRANCH_TARGET_PREFIX.get(branch, ""),
/tools/acloud/public/
Dacloud_main.py276 if not parsed_args.build_id and not parsed_args.branch:
281 not parsed_args.emulator_branch and not parsed_args.branch):
386 branch=args.branch,
406 branch=args.branch,
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java68 final String branch = "somebranch"; in testGetFileDir() local
71 EasyMock.expect(mockBuild.getBuildBranch()).andReturn(branch).anyTimes(); in testGetFileDir()
85 assertEquals(branch, branchDir.getName()); in testGetFileDir()
128 final String branch = "somebranch"; in testGetFileDir_retention() local
131 EasyMock.expect(mockBuild.getBuildBranch()).andReturn(branch).anyTimes(); in testGetFileDir_retention()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBuildInfoUtil.java59 String buildId, buildAlias, buildFlavor, branch; in bootstrapDeviceBuildAttributes() local
86 branch = overrideBuildBranch; in bootstrapDeviceBuildAttributes()
88 branch = in bootstrapDeviceBuildAttributes()
96 buildInfo.setBuildBranch(branch); in bootstrapDeviceBuildAttributes()
/tools/asuite/atest/
Datest_utils.py732 def get_flakes(branch='', argument
749 if not branch:
750 branch = constants.FLAKE_BRANCH
774 cmd = [tmp_service, branch, target, test_name, test_module, test_method]
/tools/test/connectivity/acts/framework/acts/test_utils/power/loggers/
Dpower_metric_logger.py62 def set_branch(self, branch): argument
63 self.proto.branch = branch
/tools/acloud/internal/proto/
Dinternal_config.proto53 // each branch only supports a subset of devices. So ideally,
54 // we should have one config per branch, and only specify supported
55 // devices for that branch in the config.
/tools/metalava/
DDOWNLOADING.md3 Metalava can be downloaded from the `metalava-master` manifest branch via `repo` as explained below
42 For anyone that is already working in the `aosp/master` branch, you can use that repo checkout inst…
/tools/tradefederation/core/proto/
Dbuild_info.proto46 // The branch where the build come from: For example: git_main
47 string branch = 3; field
/tools/repohooks/rh/
Dgit.py38 branch = result.stdout.strip()
41 cmd = ['git', 'config', 'branch.%s.remote' % branch]
/tools/tradefederation/core/tests/res/config/suite/
Dsuite.md71 --branch, --build-id etc. A sample command is as follows:
76 --branch git_main --build-flavor angler-userdebug \
/tools/tradefederation/core/src/com/android/tradefed/build/
DOtaDeviceBuildInfo.java138 public void setBuildBranch(String branch) { in setBuildBranch() argument
139 mBaselineBuild.setBuildBranch(branch); in setBuildBranch()

12