Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 97) sorted by relevance

1234

/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-resource-browser.js12 params.tag = params.tag ? makeArray(params.tag) : null;
62 for (var tag in ANDROID_TAGS[tagClass]) {
63 allTags[tag] = {
64 displayTag: ANDROID_TAGS[tagClass][tag],
85 for (tag in resource.tagsHash)
86 if (tag in allTags) {
87 if (allTags[tag].tagClass == 'type') {
88 resource.type = tag;
89 } else if (allTags[tag].tagClass == 'topic') {
90 resource.topics.push(tag);
[all …]
/build/soong/cc/symbolfile/
D__init__.py78 def is_api_level_tag(tag: Tag) -> bool:
80 if tag.startswith('introduced='):
82 if tag.startswith('introduced-'):
84 if tag.startswith('versioned='):
114 for idx, tag in enumerate(tags):
115 if not is_api_level_tag(tag):
117 name, value = split_tag(tag)
127 def split_tag(tag: Tag) -> Tuple[str, str]:
135 if '=' not in tag:
136 raise ValueError('Not a key/value tag: ' + tag)
[all …]
/build/blueprint/proptools/
Dtag.go25 tag := field.Tag.Get(name)
26 for len(tag) > 0 {
27 idx := strings.Index(tag, ",")
30 return tag == value
32 if tag[:idx] == value {
36 tag = tag[idx+1:]
/build/soong/sdk/
Dbp.go93 if tag, ok := propSet.tags[name]; ok {
94 s.AddPropertyWithTag(name, propSet.properties[name], tag)
123 func (s *bpPropertySet) AddPropertyWithTag(name string, value interface{}, tag android.BpPropertyTa…
125 s.tags[name] = tag
157 tag := s.tags[name]
162 newPropertySet, newTag = transformPropertySet(transformer, name, propertySet, tag)
169 newValue, newTag = transformer.transformProperty(name, value, tag)
185 …ransformer bpPropertyTransformer, name string, propertySet *bpPropertySet, tag android.BpPropertyT…
186 newPropertySet, newTag := transformer.transformPropertySetBeforeContents(name, propertySet, tag)
262 …transformPropertySetBeforeContents(name string, propertySet *bpPropertySet, tag android.BpProperty…
[all …]
Dbp_test.go157 func (t removeFredTransformation) transformProperty(name string, value interface{}, tag android.BpP…
161 return value, tag
164 …ransformPropertySetBeforeContents(name string, propertySet *bpPropertySet, tag android.BpPropertyT…
168 return propertySet, tag
171 …transformPropertySetAfterContents(name string, propertySet *bpPropertySet, tag android.BpPropertyT…
175 return propertySet, tag
Dsdk.go419 tag := memberListProperty.dependencyTag
420 memberListProperty.memberType.AddDependencies(mctx, tag, names)
462 tag := sdkMemberVersionedDepTag{member: memberName, version: m.ContainingSdk().Version}
463 mctx.AddReverseDependency(mctx.Module(), tag, memberName)
520 …mctx.ReplaceDependenciesIf(memberName, func(from blueprint.Module, tag blueprint.DependencyTag, to…
541 tag := mctx.OtherModuleDependencyTag(dep)
542 if tag == android.DefaultsDepTag {
550 if _, ok := tag.(sdkMemberVersionedDepTag); ok {
560 if _, ok := tag.(android.ExcludeFromApexContentsTag); ok {
/build/soong/java/
Dbootclasspath.go55 ….BottomUpMutatorContext, propertyName string, refs []ApexVariantReference, tag blueprint.Dependenc…
65 addDependencyOntoApexModulePair(ctx, apex, name, tag)
78 …exModulePair(ctx android.BottomUpMutatorContext, apex string, name string, tag blueprint.Dependenc…
89 ctx.AddFarVariationDependencies(variations, tag, name)
96 ctx.AddVariationDependencies(variations, tag, prebuiltName)
104 ctx.AddVariationDependencies(nil, tag, prebuiltName)
134 func gatherApexModulePairDepsWithTag(ctx android.BaseModuleContext, tag blueprint.DependencyTag) []…
138 if t == tag {
Dbootclasspath_fragment.go96 func IsBootclasspathFragmentContentDepTag(tag blueprint.DependencyTag) bool {
97 return tag == bootclasspathFragmentContentDepTag
349 tag := ctx.OtherModuleDependencyTag(dep)
350 if IsBootclasspathFragmentContentDepTag(tag) {
354 if android.IsMetaDependencyTag(tag) {
358 …age module %q should not have a dependency on %q via tag %s", b, dep, android.PrettyPrintTag(tag)))
395 tag := hiddenAPIStubsDependencyTag{apiScope: apiScope, fromAdditionalDependency: true}
396 ctx.AddVariationDependencies(nil, tag, scopeSpecificDependency)
428 tag := ctx.OtherModuleDependencyTag(module)
429 if IsBootclasspathFragmentContentDepTag(tag) {
[all …]
/build/soong/cc/ndk_api_coverage_parser/
D__init__.py52 for tag in tags:
53 if tag.startswith(tuple(API_LEVEL_TAG_PREFIXES)):
54 key, _, value = tag.partition('=')
56 elif tag in ALL_ARCHITECTURES:
57 arch.append(tag)
58 elif tag in EXPOSED_TARGET_TAGS:
59 attributes.update({tag: 'True'})
Dtest_ndk_api_coverage_parser.py41 if elem1.tag != elem2.tag:
/build/soong/android/
Dandroidmk_test.go102 func (m *customModule) OutputFiles(tag string) (Paths, error) {
103 switch tag {
117 return nil, fmt.Errorf("unsupported module reference tag %q", tag)
206 tag: ".multiple",
211 tag: ".multiple",
382 tag: ".another-tag",
403 tag: ".another-tag",
484 tag: ".multiple",
489 tag: ".multiple",
569 tag: ".multiple",
[all …]
Ddeptag.go40 func IsInstallDepNeeded(tag blueprint.DependencyTag) bool {
41 if i, ok := tag.(InstallNeededDependencyTag); ok {
Dmutator.go300 …AddDependency(module blueprint.Module, tag blueprint.DependencyTag, name ...string) []blueprint.Mo…
307 AddReverseDependency(module blueprint.Module, tag blueprint.DependencyTag, name string)
369 AddInterVariantDependency(tag blueprint.DependencyTag, from, to blueprint.Module)
626 func (b *bottomUpMutatorContext) AddDependency(module blueprint.Module, tag blueprint.DependencyTag…
627 return b.bp.AddDependency(module, tag, name...)
630 func (b *bottomUpMutatorContext) AddReverseDependency(module blueprint.Module, tag blueprint.Depend…
631 b.bp.AddReverseDependency(module, tag, name)
678 func (b *bottomUpMutatorContext) AddVariationDependencies(variations []blueprint.Variation, tag blu…
688 return b.bp.AddFarVariationDependencies(nil, tag, noSelfDeps...)
691 return b.bp.AddVariationDependencies(variations, tag, names...)
[all …]
Dmakefile_goal.go57 func (p *makefileGoal) OutputFiles(tag string) (Paths, error) {
58 if tag != "" {
59 return nil, fmt.Errorf("unsupported tag %q", tag)
Dmodule.go214 GetDirectDepsWithTag(tag blueprint.DependencyTag) []Module
219 GetDirectDepWithTag(name string, tag blueprint.DependencyTag) blueprint.Module
243 VisitDirectDepsWithTag(tag blueprint.DependencyTag, visit func(Module))
893 func (t TaggedDistFiles) addPathsForTag(tag string, paths ...Path) TaggedDistFiles {
899 if distFile != nil && !t[tag].containsPath(distFile) {
900 t[tag] = append(t[tag], distFile)
911 for tag, paths := range other {
912 t = t.addPathsForTag(tag, paths...)
1273 tag := proptools.StringDefault(dist.Tag, DefaultDistTag)
1277 distFilesForTag, err := outputFileProducer.OutputFiles(tag)
[all …]
/build/soong/scripts/hiddenapi/
Dgenerate_hiddenapi_lists.py278 def assign_flag(self, flag, apis, source="<unknown>", tag = None): argument
298 if tag:
299 self._dict[api].add(tag)
306 currentflag, file, ignore_conflicts, packages, tag = None, None, False, False, None
311 r.append(FlagFile(currentflag, file, ignore_conflicts, packages, tag))
312 ignore_conflicts, packages, tag = False, False, None
324 tag = value[0]
328 r.append(FlagFile(currentflag, file, ignore_conflicts, packages, tag))
355 flags.assign_flag(info.flag, read_lines(info.file), info.file, info.tag)
365 flags.assign_flag(info.flag, valid_entries, filename, info.tag)
[all …]
/build/blueprint/
Dmodule_ctx.go198 GetDirectDepWithTag(name string, tag DependencyTag) Module
523 return m.visitingDep.tag
528 return dep.tag
596 return dep.module.logicModule, dep.tag
603 func (m *baseModuleContext) GetDirectDepWithTag(name string, tag DependencyTag) Module {
607 if dep.tag == tag {
615 …rorf("Unable to find dependency %q with requested tag %#v. Found: %#v", deps[0].module, tag, deps))
854 AddDependency(module Module, tag DependencyTag, name ...string) []Module
861 AddReverseDependency(module Module, tag DependencyTag, name string)
923 AddInterVariantDependency(tag DependencyTag, from, to Module)
[all …]
/build/soong/bpf/
Dbpf.go56 OutputFiles(tag string) (android.Paths, error)
148 func (bpf *bpf) OutputFiles(tag string) (android.Paths, error) {
149 switch tag {
153 return nil, fmt.Errorf("unsupported module reference tag %q", tag)
/build/make/tools/
Devent_log_tags.py79 tag = None
82 tag = int(parts[0])
101 self.tags.append(Tag(tag, tagname, description,
/build/soong/cc/
Dlto.go171 tag := mctx.OtherModuleDependencyTag(dep)
172 libTag, isLibTag := tag.(libraryDependencyTag)
180 if tag != objDepTag && tag != reuseObjTag {
Dcmakelists.go265 …llRelativeFilePathFlags(relativeFilePathFlags []relativeFilePathFlagType, f *os.File, tag string) {
267 …f.WriteString(fmt.Sprintf("set(%s \"${%s} %s=%s\")\n", tag, tag, flag.flag, buildCMakePath(flag.re…
271 func writeAllFlags(flags []string, f *os.File, tag string) {
273 f.WriteString(fmt.Sprintf("set(%s \"${%s} %s\")\n", tag, tag, flag))
/build/soong/docs/
Dmap_files.md63 tag. See the docs for `platform-only` for more information.
91 API level 21. This tag can be applied to either a version definition or an
93 will have the tag applied. An `introduced` tag on a symbol overrides the value
110 Architecture-specific variants of this tag exist:
117 The architecture-specific tag will take precedence over the architecture-generic
118 tag when generating stubs for that architecture if both are present. If the
125 before using an architecture-specific tag for a new API.
142 The typical use for this tag is for exposing an API to the platform that is not
151 tag may be used.
172 This tag is not commonly needed and is only used to hide symbol versioning
/build/soong/apex/
Dprebuilt.go169 tag := ctx.OtherModuleDependencyTag(child)
172 if java.IsBootclasspathFragmentContentDepTag(tag) || tag == exportedJavaLibTag {
184 } else if tag == exportedBootclasspathFragmentTag {
312 tag := ctx.OtherModuleDependencyTag(dep)
313 _, ok := tag.(exportedDependencyTag)
356 tag := mctx.OtherModuleDependencyTag(child)
358 if exportedTag, ok := tag.(exportedDependencyTag); ok {
521 func (p *Prebuilt) OutputFiles(tag string) (android.Paths, error) {
522 switch tag {
526 return nil, fmt.Errorf("unsupported module reference tag %q", tag)
[all …]
/build/soong/linkerconfig/
Dlinkerconfig.go78 func (l *linkerConfig) OutputFiles(tag string) (android.Paths, error) {
79 switch tag {
83 return nil, fmt.Errorf("unsupported module reference tag %q", tag)
/build/blueprint/bootstrap/bpdoc/
Dproperties.go200 var name, tag, text string
208 tag, err = strconv.Unquote(f.Tag.Value)
221 Tag: reflect.StructTag(tag),
284 func hasTag(tag reflect.StructTag, key, value string) bool {
285 for _, entry := range strings.Split(tag.Get(key), ",") {

1234