/tools/treble/build/treble_build/local/ |
D | ninja.go | 41 Command(ctx context.Context, target string) (*bytes.Buffer, error) 42 Input(ctx context.Context, target string) (*bytes.Buffer, error) 43 Query(ctx context.Context, target string) (*bytes.Buffer, error) 44 Path(ctx context.Context, target string, dependency string) (*bytes.Buffer, error) 45 Paths(ctx context.Context, target string, dependency string) (*bytes.Buffer, error) 47 Build(ctx context.Context, target string) (*bytes.Buffer, error) 61 func parseCommand(target string, data *bytes.Buffer) (*app.BuildCommand, error) { 62 out := &app.BuildCommand{Target: target, Cmds: []string{}} 75 func parseInput(target string, data *bytes.Buffer) (*app.BuildInput, error) { 76 out := &app.BuildInput{Target: target, Files: []string{}} [all …]
|
D | ninja_test.go | 36 func (n *ninjaTest) Command(ctx context.Context, target string) (*bytes.Buffer, error) { 39 func (n *ninjaTest) Input(ctx context.Context, target string) (*bytes.Buffer, error) { 42 func (n *ninjaTest) Query(ctx context.Context, target string) (*bytes.Buffer, error) { 45 func (n *ninjaTest) Path(ctx context.Context, target string, dependency string) (*bytes.Buffer, err… 48 func (n *ninjaTest) Paths(ctx context.Context, target string, dependency string) (*bytes.Buffer, er… 54 func (n *ninjaTest) Build(ctx context.Context, target string) (*bytes.Buffer, error) { 88 target string 99 target: "test", 150 if res, err := n.Command(nil, test.target); err != nil { 159 if res, err := n.Query(nil, test.target); err != nil { [all …]
|
/tools/asuite/aidegen/lib/ |
D | native_util.py | 66 for target in targets: 67 mod_info = cc_module_info.get_module_info(target) 110 for target in targets: 111 if filter_func(target): 112 jtargets.append(target) 114 lefts.append(target) 135 for target in targets: 136 _, abs_path = common_util.get_related_paths(cc_module_info, target) 138 if cc_module_info.is_module(target): 139 new_targets.append(target) [all …]
|
D | common_util.py | 97 def get_related_paths(atest_module_info, target=None): argument 124 if target == '.': 125 target = None 126 if target: 128 if target == constant.WHOLE_ANDROID_TREE_TARGET: 132 elif os.path.isabs(target): 133 abs_path = target 136 elif atest_module_info.is_module(target): 137 paths = atest_module_info.get_paths(target) 142 elif (atest_module_info.get_module_names(target) [all …]
|
D | native_project_info.py | 43 def __init__(self, target): argument 56 self.module_names = [target] if self.modules_info.is_module( 57 target) else self.modules_info.get_module_names_in_targets_paths( 58 [target]) 119 for target in targets: 120 project = NativeProjectInfo(target)
|
D | project_info.py | 111 def __init__(self, target=None, is_main_project=False): argument 122 self.modules_info, target) 123 self.module_name = self.get_target_name(target, abs_path) 132 if target == constant.FRAMEWORK_ALL: 133 self.dep_modules = self.get_dep_modules([target]) 302 return [ProjectInfo(target, i == 0) for i, target in enumerate(targets)] 305 def get_target_name(target, abs_path): argument 323 return target 542 for target in self._targets: 544 target)
|
/tools/treble/build/treble_build/report/ |
D | report_test.go | 50 func (r *reportTest) Command(ctx context.Context, target string) (*app.BuildCommand, error) { 52 out := r.commands[target] 54 err = errors.New(fmt.Sprintf("No command for target %s", target)) 59 func (r *reportTest) Input(ctx context.Context, target string) (*app.BuildInput, error) { 61 out := r.inputs[target] 63 err = errors.New(fmt.Sprintf("No inputs for target %s", target)) 68 func (r *reportTest) Query(ctx context.Context, target string) (*app.BuildQuery, error) { 70 out := r.queries[target] 72 err = errors.New(fmt.Sprintf("No queries for target %s", target)) 77 func (r *reportTest) Path(ctx context.Context, target string, dependency string) (*app.BuildPath, e… [all …]
|
D | dependencies.go | 24 Command(ctx context.Context, target string) (*app.BuildCommand, error) 25 Input(ctx context.Context, target string) (*app.BuildInput, error) 26 Query(ctx context.Context, target string) (*app.BuildQuery, error) 27 Path(ctx context.Context, target string, dependency string) (*app.BuildPath, error) 28 Paths(ctx context.Context, target string, dependency string) ([]*app.BuildPath, error)
|
/tools/treble/fetcher/ |
D | fetcher_lib.py | 144 def fetch_artifact(client, build_id, target, resource_id, dest): argument 160 target=target, 214 def fetch_artifacts(client, out_dir, target, pattern, build_id): argument 233 target=target) 239 target=target, 244 def get_latest_build_id(client, branch, target): argument 258 target=target, 269 def fetch_latest_artifacts(client, out_dir, target, pattern, branch): argument 281 client=client, branch=branch, target=target) 283 fetch_artifacts(client, out_dir, target, pattern, build_id)
|
D | fetcher.py | 46 target=args.target) if args.branch else args.build_id 52 target=args.target, 60 target=args.target,
|
/tools/treble/hacksaw/mount/ |
D | fake.go | 38 func (f *fakeMounter) Mount(source string, target string, fstype string, flags uintptr, data string… 41 f.mountMap[target] = MountEntry{ 50 func (f *fakeMounter) Unmount(target string, flags int) error { 51 _, ok := f.mountMap[target] 53 return fmt.Errorf("Mount %s not found", target) 55 delete(f.mountMap, target) 61 for target, _ := range f.mountMap { 62 list = append(list, target)
|
/tools/netsim/rust/daemon/src/devices/ |
D | device.rs | 119 let target = self.match_target_chip(patch_chip_kind, patch_chip_name)?; in patch() localVariable 120 match target { in patch() 139 let mut target: Option<Arc<Chip>> = None; in match_target_chip() localVariable 146 target = Some(Arc::clone(chip)); in match_target_chip() 150 if target.is_none() { in match_target_chip() 151 target = Some(Arc::clone(chip)); in match_target_chip() 171 Ok(target) in match_target_chip() 270 let target = result.unwrap(); in test_exact_target_match() localVariable 271 assert!(target.is_some()); in test_exact_target_match() 272 assert_eq!(target.unwrap().name, TEST_CHIP_NAME_1); in test_exact_target_match() [all …]
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | ModifierListWriter.kt | 28 private val target: AnnotationTarget, in <lambda>() constant in com.android.tools.metalava.model.ModifierListWriter 40 target = AnnotationTarget.SIGNATURE_FILE, in <lambda>() 52 target = in <lambda>() 106 (target != AnnotationTarget.SIGNATURE_FILE && in <lambda>() 140 target != AnnotationTarget.SIGNATURE_FILE && in <lambda>() 215 if (list.isSynchronized() && target.isStubsFile()) { in <lambda>() 219 if (list.isNative() && (target.isStubsFile() || isSignaturePolymorphic(item))) { in <lambda>() 238 target != AnnotationTarget.SIGNATURE_FILE && in <lambda>() 285 val omitCommonPackages = target == AnnotationTarget.SIGNATURE_FILE in <lambda>() 295 if (!annotation.targets.contains(target)) { in <lambda>() [all …]
|
D | ClassItem.kt | 582 target = this in <lambda>() 598 target = this in <lambda>() 612 target: ClassItem in <lambda>() 624 target in <lambda>() 634 target in <lambda>() 644 val replacementMap = target.mapTypeVariables(this) in <lambda>() 653 cls.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>() 656 cls.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>() 709 fun mapTypeVariables(target: ClassItem): TypeParameterBindings { in <lambda>() 713 if (target.isInterface()) { in <lambda>() [all …]
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/internal/ |
D | MakeAnnotationsPackagePrivateCommandTest.kt | 73 val target = newFolder("private-annotations") in Test copying private annotations from one of the stubs() constant 74 args += target.path in Test copying private annotations from one of the stubs() 78 val nullable = File(target, "android/annotation/SdkConstant.java") in Test copying private annotations from one of the stubs() 81 val nonNull = File(target, "androidx/annotation/NonNull.java") in Test copying private annotations from one of the stubs() 84 val recentlyNull = File(target, "androidx/annotation/RecentlyNullable.java") in Test copying private annotations from one of the stubs() 160 val target = newFolder("private-annotations") in Test stub-annotations containing unknown annotation() constant 161 args += target.path in Test stub-annotations containing unknown annotation()
|
/tools/asuite/atest/bazel/runner/config/config/ |
D | format_module_name_to_test_target.cquery | 1 def format(target): 2 …"""Return a pair of 'module_name target_label' for the given tradefed test target, '' otherwise.""" 3 p = providers(target) 9 # Use space as a delimiter as Bazel labels can use many spacial characters in their target 10 # labels. See: https://bazel.build/concepts/labels#target-names 11 return "%s %s" % (tradefed_test_info.module_name, target.label)
|
/tools/asuite/atest/ |
D | bazel_mode.py | 512 target = top.popleft() 517 if target in seen: 520 seen.add(target) 524 for ref in target.dependencies(): 527 next_top.append(ref.target()) 598 target = package.get_target(target_name) 600 if target: 601 return target 603 target = create_fn() 604 package.add_target(target) [all …]
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 302 def _git_checkout_target_commit_id(target, commit_id): argument 319 _, abs_path = common_util.get_related_paths(atest_module_info, target) 338 for target in data_id_dict: 339 commit_id = data_id_dict.get(target, '') 340 current_commit_id = _git_checkout_target_commit_id(target, commit_id) 341 spec_and_cur_commit_id_dict[target] = {} 342 spec_and_cur_commit_id_dict[target]['current'] = current_commit_id 346 def _generate_target_real_iml_data(target): argument 358 aidegen_main.main([target, '-s', '-n', '-v']) 368 target) [all …]
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | UAnnotationItem.kt | 62 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource() 64 appendAnnotation(codebase, sb, uAnnotation, qualifiedName, target, showDefaultAttrs) in toSource() 132 target: AnnotationTarget, in appendAnnotation() 136 codebase.annotationManager.normalizeOutputName(originalName, target) ?: return in appendAnnotation() 152 appendValue(codebase, sb, attributes[0].second, target, showDefaultAttrs) in appendAnnotation() 163 appendValue(codebase, sb, attribute.second, target, showDefaultAttrs) in appendAnnotation() 173 target: AnnotationTarget, in appendValue() 198 appendValue(codebase, sb, value.leftOperand, target, showDefaultAttrs) in appendValue() 202 appendValue(codebase, sb, value.rightOperand, target, showDefaultAttrs) in appendValue() 214 appendValue(codebase, sb, initializer, target, showDefaultAttrs) in appendValue() [all …]
|
D | PsiAnnotationItem.kt | 60 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource() 62 appendAnnotation(codebase, sb, psiAnnotation, qualifiedName, target, showDefaultAttrs) in toSource() 132 target: AnnotationTarget, in appendAnnotation() 137 codebase.annotationManager.normalizeOutputName(qualifiedName, target) ?: return in appendAnnotation() 157 target, in appendAnnotation() 175 target, in appendAnnotation() 188 target: AnnotationTarget, in appendValue() 243 target, in appendValue() 254 target, in appendValue() 272 target, in appendValue() [all …]
|
/tools/treble/split/ |
D | README.md | 6 projects necessary to build a given target. If a project isn't used for building 7 the target, it shouldn't be in the split manifest. This smaller manifest can be 8 used to sync the Android source tree and build the specific target. This sync 17 specific to your target. 28 Use standard Android build commands to build your target. 36 # Set command line variables for the Android target you are using and the build 37 # target that should be buildable from your split manifest. 57 the partial target files package. 64 1. Attempt a build of your target. 98 partition, such as `out/target/product/<device>/system`. [all …]
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 415 def run_find_cmd(ref_type, search_dir, target, methods=None): argument 452 if _dict.get(target): 453 out = [path for path in _dict.get(target) if search_dir in path] 454 logging.debug('Found %s in %s', target, out) 456 if '.' in target: 457 target = target.replace('.', '/') 458 find_cmd = ref_type.find_command.format(search_dir, target) 684 target = line.strip() 686 if not target: 690 if target.endswith(_VTS_PUSH_SUFFIX): [all …]
|
/tools/asuite/aidegen/ |
D | aidegen_main_unittest.py | 63 target = 'tradefed' 64 args = aidegen_main._parse_args([target]) 65 self.assertEqual(args.targets, [target]) 166 target = 'libui' 167 args = [target, '-p', '/opt/abc/bin/idea.sh'] 189 target = 'libui' 190 args = aidegen_main._parse_args([target, '-i', 'e']) 200 target = 'libui' 201 args = aidegen_main._parse_args([target, '-i', 'e']) 403 target = ['a', 'b'] [all …]
|
/tools/asuite/atest/bazel/runner/src/main/protobuf/ |
D | build_event_stream.proto | 29 // information about which build target etc the event is related to. 84 // Identifier of an event indicating that a target pattern has been expanded 98 // Identifier of an event indicating that a target has been expanded by 103 // If empty, the id refers to the expansion of the target. If not-empty, 105 // expanded) target. 134 // Identifier of an event indicating that a target was built completely; this 135 // does not include running the test if the target is a test target. 139 // The configuration for which the target was built. 142 // If empty, the id refers to the completion of the target. If not-empty, 144 // completed) target. [all …]
|
/tools/netsim/scripts/tasks/ |
D | install_emulator_task.py | 47 self.target = args.emulator_target 53 self.buildbot, self.out_dir, self.target, self.local_emulator_dir 72 def __init__(self, buildbot, out_dir, target, local_emulator_dir): argument 82 self.target = target 233 self.target,
|