Home
last modified time | relevance | path

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

123

/tools/acloud/public/actions/
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,
163 kernel_branch=self.kernel_build_info.branch,
246 branch=None, argument
286 branch = avd_spec.remote_image[constants.BUILD_BRANCH]
319 if not build_id and not branch:
342 branch=branch,
Dcreate_goldfish_action_test.py144 branch=self.BRANCH,
202 branch=self.BRANCH,
256 branch=None,
268 branch=self.BRANCH,
324 branch=self.BRANCH,
383 branch=self.BRANCH,
439 branch=self.BRANCH,
/tools/asuite/atest/logstorage/
Dlogstorage_utils.py134 return self.client.branch().list(maxResults=10000).execute()
136 def list_target(self, branch): argument
138 return self.client.target().list(branch=branch, maxResults=10000).execute()
140 def get_branch(self, branch): argument
148 query_branch = self.client.branch().get(resourceId=branch).execute()
154 def insert_local_build(self, external_id, target, branch): argument
168 'branch': branch,
Datest_gcp_utils.py277 branch = _get_branch(client)
278 target = _get_target(branch, client)
279 build_record = client.insert_local_build(external_id, target, branch)
299 branch = build_client.get_branch(local_branch)
300 return local_branch if branch else default_branch
303 def _get_target(branch, build_client): argument
316 targets = [t['target'] for t in build_client.list_target(branch)['targets']]
/tools/acloud/internal/lib/
Dandroid_build_client_test.py144 branch = self.client.GetBranch(self.BUILD_TARGET, self.BUILD_ID)
148 self.assertEqual(branch, build_info["branch"])
161 branch=self.BUILD_BRANCH,
281 branch = constants.BUILD_BRANCH
285 {build_id: "123", branch: "abc", build_target: "def"}),
289 {build_id: None, branch: "abc", build_target: "def"}),
293 {build_id: "123", branch: None, build_target: "def"}),
297 {build_id: "123", branch: "abc", build_target: None}),
301 {build_id: None, branch: "abc", build_target: None}),
305 {build_id: "123", branch: None, build_target: None}),
[all …]
Dgoldfish_compute_client.py155 branch, argument
213 branch=branch, build_id=build_id)
216 branch=kernel_branch, build_id=kernel_build_id)
224 branch=emulator_branch, build_id=emulator_build_id)
Dandroid_build_client.py180 branch = build_info.get(constants.BUILD_BRANCH)
183 result = build_id or branch
398 branch=build_branch,
413 def GetBuildInfo(self, build_target, build_id, branch): argument
433 elif branch:
436 branch=branch,
Dgoldfish_compute_client_test.py155 branch=self.BRANCH, build_id=self.BUILD_ID),
158 branch=self.KERNEL_BRANCH, build_id=self.KERNEL_BUILD_ID),
164 branch=self.EMULATOR_BRANCH,
214 branch=self.BRANCH, build_id=self.BUILD_ID),
217 branch=self.KERNEL_BRANCH, build_id=self.KERNEL_BUILD_ID),
223 branch=self.EMULATOR_BRANCH,
/tools/external_updater/
Dgit_utils.py27 def fetch(proj_path: Path, remote_name: str, branch: str | None = None) -> None:
34 cmd = ['git', 'fetch', '--tags', remote_name] + ([branch] if branch is not None else [])
90 def get_sha_for_branch(proj_path: Path, branch: str):
92 cmd = ['git', 'rev-parse', branch]
97 def get_most_recent_tag(proj_path: Path, branch: str) -> str | None:
99 cmd = ['git', 'describe', '--tags', branch, '--abbrev=0'] + \
153 def merge(proj_path: Path, branch: str) -> None:
156 cmd = ['git', 'merge', branch, '--no-commit']
Dgit_updater.py89 branch = git_utils.detect_default_branch(self._proj_path,
92 self._proj_path, self.UPSTREAM_REMOTE_NAME + '/' + branch)
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DDeviceImageTracker.java49 public String branch; field in DeviceImageTracker.FileCacheTracker
57 String branch, in FileCacheTracker() argument
63 this.branch = branch; in FileCacheTracker()
132 String branch, in trackUpdatedDeviceImage() argument
169 branch, in trackUpdatedDeviceImage()
/tools/treble/fetcher/
Dfetcher_lib.py244 def get_latest_build_id(client, branch, target): argument
257 branch=branch,
269 def fetch_latest_artifacts(client, out_dir, target, pattern, branch): argument
281 client=client, branch=branch, target=target)
Dfetcher.py45 client=client, branch=args.branch,
46 target=args.target) if args.branch else args.build_id
/tools/tradefederation/core/src/com/android/tradefed/util/
DBuildInfoUtil.java62 String branch; in bootstrapDeviceBuildAttributes() local
89 branch = overrideBuildBranch; in bootstrapDeviceBuildAttributes()
91 branch = in bootstrapDeviceBuildAttributes()
99 buildInfo.setBuildBranch(branch); in bootstrapDeviceBuildAttributes()
/tools/netsim/guide/src/development/
DREADME.md9 section to build netsim by `cmake` in `emu-master-dev` manifest branch.
13 manifest branch.
40 | AOSP branch | `emu-master-dev` | `aosp-master` |
79 Download the emu-master-dev branch:
188 Unit tests can be run from the `aosp-master` branch using the `atest` command:
217 repo start new-branch
220 repo upload --branch=new-branch
227 repo upload --branch=new-branch
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DExtendedFile.java45 public ExtendedFile(File file, String buildId, String buildTarget, String branch) { in ExtendedFile() argument
47 mBranch = branch; in ExtendedFile()
51 File file, String buildId, String buildTarget, String branch, String remoteFilePath) { in ExtendedFile() argument
52 this(file, buildId, buildTarget, branch); in ExtendedFile()
/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/tradefederation/core/javatests/com/android/tradefed/result/
DLogFileSaverTest.java69 final String branch = "somebranch"; in testGetFileDir() local
72 when(mockBuild.getBuildBranch()).thenReturn(branch); in testGetFileDir()
86 assertEquals(branch, branchDir.getName()); in testGetFileDir()
127 final String branch = "somebranch"; in testGetFileDir_retention() local
130 when(mockBuild.getBuildBranch()).thenReturn(branch); in testGetFileDir_retention()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/
Dpower_metric_logger.py62 def set_branch(self, branch): argument
63 self.proto.branch = branch
/tools/acloud/create/
Davd_spec_test.py260 branch = "git_branch"
264 self.AvdSpec._GetBuildTarget(self.args, branch),
267 branch = "aosp-master"
271 self.AvdSpec._GetBuildTarget(self.args, branch),
274 branch = "aosp-main"
278 self.AvdSpec._GetBuildTarget(self.args, branch),
281 branch = "git_branch"
285 self.AvdSpec._GetBuildTarget(self.args, branch),
369 self.args.branch = "git_master"
Davd_spec.py633 self._remote_image[constants.BUILD_BRANCH] = args.branch
758 branch = None
778 branch = branch_prefix + match.group("branch")
780 if branch:
781 return branch
787 def _GetBuildTarget(self, args, branch): argument
801 branch_prefix = re.split("-|_", branch)[0]
806 _BRANCH_TARGET_TRUNK_STAGEING.get(branch, ""),
/tools/treble/hacksaw/
DREADME.md7 …odebase spread out through multiple git projects it can take a long time branch off a clean worksp…
13 …ers for creating a hacksaw workspace using as a codebase the AOSP master branch as of 2020-8-4. Th…
49 $ repo sync --quiet --current-branch --no-tags --no-clone-bundle --jobs=$(nproc)
71 Created branch big-feature on project ~/hacksaw/big-feature/tools/treble
88 Created branch quick-fix on project ~/hacksaw/quick-fix/tools/treble
/tools/metalava/scripts/
Dmerge-from-metalava-main.sh21 BRANCH=$(git branch --show-current)
94 Merge remote-tracking branch '${SOURCE_BRANCH}' into '${CURRENT_BRANCH}'
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DOxygenClient.java216 String branch = null; in leaseDevice() local
226 branch = gceDriverParams.get(i + 1); in leaseDevice()
238 if (branch != null && !buildIdSet) { in leaseDevice()
240 oxygenClientArgs.add(branch); in leaseDevice()
/tools/metalava/
DDOWNLOADING.md3 Metalava can be downloaded from the `metalava-main` 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…

123