Home
last modified time | relevance | path

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

123

/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__.py44 def is_api_level_tag(tag): argument
46 if tag.startswith('introduced='):
48 if tag.startswith('introduced-'):
50 if tag.startswith('versioned='):
79 for idx, tag in enumerate(tags):
80 if not is_api_level_tag(tag):
82 name, value = split_tag(tag)
88 raise ParseError('Unknown version name in tag: {}'.format(tag))
92 def split_tag(tag): argument
100 if '=' not in tag:
[all …]
/build/soong/sdk/
Dbp.go45 func (s *bpPropertySet) AddPropertyWithTag(name string, value interface{}, tag android.BpPropertyTa…
47 s.tags[name] = tag
68 tag := s.tags[name]
73 newPropertySet, newTag = transformPropertySet(transformer, name, propertySet, tag)
80 newValue, newTag = transformer.transformProperty(name, value, tag)
96 …ransformer bpPropertyTransformer, name string, propertySet *bpPropertySet, tag android.BpPropertyT…
97 newPropertySet, newTag := transformer.transformPropertySetBeforeContents(name, propertySet, tag)
154 …transformPropertySetBeforeContents(name string, propertySet *bpPropertySet, tag android.BpProperty…
164 …transformPropertySetAfterContents(name string, propertySet *bpPropertySet, tag android.BpPropertyT…
169 …transformProperty(name string, value interface{}, tag android.BpPropertyTag) (interface{}, android…
[all …]
Dbp_test.go27 func (t removeFredTransformation) transformProperty(name string, value interface{}, tag android.BpP…
31 return value, tag
34 …ransformPropertySetBeforeContents(name string, propertySet *bpPropertySet, tag android.BpPropertyT…
38 return propertySet, tag
41 …transformPropertySetAfterContents(name string, propertySet *bpPropertySet, tag android.BpPropertyT…
45 return propertySet, tag
Dsdk.go357 tag := memberListProperty.dependencyTag
358 memberListProperty.memberType.AddDependencies(mctx, tag, names)
400 tag := sdkMemberVersionedDepTag{member: memberName, version: m.ContainingSdk().Version}
401 mctx.AddReverseDependency(mctx.Module(), tag, memberName)
443 …mctx.ReplaceDependenciesIf(memberName, func(from blueprint.Module, tag blueprint.DependencyTag, to…
467 tag := mctx.OtherModuleDependencyTag(dep)
468 if tag == android.DefaultsDepTag {
476 if _, ok := tag.(sdkMemberVersionedDepTag); ok {
Dupdate.go121 tag := ctx.OtherModuleDependencyTag(child)
122 if memberTag, ok := tag.(android.SdkMemberTypeDependencyTag); ok {
479 func (t unversionedToVersionedTransformation) transformProperty(name string, value interface{}, tag
480 if tag == requiredSdkMemberReferencePropertyTag || tag == optionalSdkMemberReferencePropertyTag {
481 required := tag == requiredSdkMemberReferencePropertyTag
482 return t.builder.versionedSdkMemberNames(value.([]string), required), tag
484 return value, tag
504 func (t unversionedTransformation) transformProperty(name string, value interface{}, tag android.Bp…
505 if tag == requiredSdkMemberReferencePropertyTag || tag == optionalSdkMemberReferencePropertyTag {
506 required := tag == requiredSdkMemberReferencePropertyTag
[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.go42 func (m *customModule) OutputFiles(tag string) (Paths, error) {
43 switch tag {
51 return nil, fmt.Errorf("unsupported module reference tag %q", tag)
130 tag: ".another-tag",
146 tag: ".another-tag",
204 tag: ".multiple",
209 tag: ".multiple",
Dmutator.go207 AddDependency(module blueprint.Module, tag blueprint.DependencyTag, name ...string)
208 AddReverseDependency(module blueprint.Module, tag blueprint.DependencyTag, name string)
215 AddInterVariantDependency(tag blueprint.DependencyTag, from, to blueprint.Module)
360 func (b *bottomUpMutatorContext) AddDependency(module blueprint.Module, tag blueprint.DependencyTag…
361 b.bp.AddDependency(module, tag, name...)
364 func (b *bottomUpMutatorContext) AddReverseDependency(module blueprint.Module, tag blueprint.Depend…
365 b.bp.AddReverseDependency(module, tag, name)
412 func (b *bottomUpMutatorContext) AddVariationDependencies(variations []blueprint.Variation, tag blu…
415 b.bp.AddVariationDependencies(variations, tag, names...)
419 tag blueprint.DependencyTag, names ...string) {
[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.go120 GetDirectDepsWithTag(tag blueprint.DependencyTag) []Module
121 GetDirectDepWithTag(name string, tag blueprint.DependencyTag) blueprint.Module
126 VisitDirectDepsWithTag(tag blueprint.DependencyTag, visit func(Module))
869 var tag string
872 tag = ""
874 tag = *dist.Tag
876 distFilesForTag, err := m.base().module.(OutputFileProducer).OutputFiles(tag)
881 if distFile != nil && !distFiles[tag].containsPath(distFile) {
882 distFiles[tag] = append(distFiles[tag], distFile)
1521 func (b *baseModuleContext) GetDirectDepWithTag(name string, tag blueprint.DependencyTag) blueprint…
[all …]
Dprebuilt_test.go423 func (p *prebuiltModule) OutputFiles(tag string) (Paths, error) {
424 switch tag {
428 return nil, fmt.Errorf("unsupported module reference tag %q", tag)
/build/blueprint/
Dmodule_ctx.go198 GetDirectDepWithTag(name string, tag DependencyTag) Module
491 return m.visitingDep.tag
496 return dep.tag
529 return dep.module.logicModule, dep.tag
536 func (m *baseModuleContext) GetDirectDepWithTag(name string, tag DependencyTag) Module {
540 if dep.tag == tag {
548 …rorf("Unable to find dependency %q with requested tag %#v. Found: %#v", deps[0].module, tag, deps))
781 AddDependency(module Module, tag DependencyTag, name ...string)
788 AddReverseDependency(module Module, tag DependencyTag, name string)
839 AddInterVariantDependency(tag DependencyTag, from, to Module)
[all …]
/build/soong/docs/
Dmap_files.md62 tag. See the docs for `platform-only` for more information.
86 API level 21. This tag can be applied to either a version definition or an
88 will have the tag applied. An `introduced` tag on a symbol overrides the value
103 Architecture-specific variants of this tag exist:
110 The architecture-specific tag will take precedence over the architecture-generic
111 tag when generating stubs for that architecture if both are present. If the
118 before using an architecture-specific tag for a new API.
133 The typical use for this tag is for exposing an API to the platform that is not
142 tag may be used.
163 This tag is not commonly needed and is only used to hide symbol versioning
/build/make/tools/
Devent_log_tags.py79 tag = None
82 tag = int(parts[0])
101 self.tags.append(Tag(tag, tagname, description,
/build/soong/bpf/
Dbpf.go133 func (bpf *bpf) OutputFiles(tag string) (android.Paths, error) {
134 switch tag {
138 return nil, fmt.Errorf("unsupported module reference tag %q", tag)
/build/blueprint/proptools/
Dtag.go25 tag := field.Tag.Get(name)
26 for _, entry := range strings.Split(tag, ",") {
/build/blueprint/bootstrap/bpdoc/
Dproperties.go192 var name, typ, tag, text string
201 tag, err = strconv.Unquote(f.Tag.Value)
230 Tag: reflect.StructTag(tag),
261 func hasTag(tag reflect.StructTag, key, value string) bool {
262 for _, entry := range strings.Split(tag.Get(key), ",") {
/build/soong/cc/
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))
Dsabi.go86 tag := mctx.OtherModuleDependencyTag(m)
87 switch tag {
/build/soong/java/
Dplatform_compat_config.go182 func (h *globalCompatConfig) OutputFiles(tag string) (android.Paths, error) {
183 switch tag {
187 return nil, fmt.Errorf("unsupported module reference tag %q", tag)
Dandroidmk_test.go154 tag: ".jar",
222 tag: ".jar",
286 tag: ".jar",
Dsdk_library.go702 func (c *commonToSdkLibraryAndImport) commonOutputFiles(tag string) (android.Paths, error) {
703 if groups := tagSplitter.FindStringSubmatch(tag); groups != nil {
732 return nil, fmt.Errorf("unknown scope %s in %s", scope, tag)
1010 func (module *SdkLibrary) OutputFiles(tag string) (android.Paths, error) {
1011 paths, err := module.commonOutputFiles(tag)
1013 return module.Library.OutputFiles(tag)
1029 tag := ctx.OtherModuleDependencyTag(to)
1032 if scopeTag, ok := tag.(scopeDependencyTag); ok {
1908 func (module *SdkLibraryImport) OutputFiles(tag string) (android.Paths, error) {
1909 return module.commonOutputFiles(tag)
[all …]
/build/soong/third_party/zip/
Dandroid.go93 tag := r.uint16()
98 if tag != zip64ExtraId && tag != ExtendedTimeStampTag {

123