/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiAnnotationItem.kt | 49 override val codebase: PsiBasedCodebase, in <lambda>() constant in com.android.tools.metalava.model.psi.PsiAnnotationItem 52 ) : DefaultAnnotationItem(codebase) { in <lambda>() 53 private val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>() 63 appendAnnotation(codebase, sb, psiAnnotation, originalName, target, showDefaultAttrs) in <lambda>() 68 return codebase.findOrCreateClass(originalName ?: return null) in <lambda>() 93 codebase, in <lambda>() 108 codebase.findOrCreateClass(className) in <lambda>() 115 …fun create(codebase: PsiBasedCodebase, psiAnnotation: PsiAnnotation, qualifiedName: String? = psiA… in <lambda>() 116 return PsiAnnotationItem(codebase, psiAnnotation, qualifiedName) in <lambda>() 119 fun create(codebase: PsiBasedCodebase, original: PsiAnnotationItem): PsiAnnotationItem { in <lambda>() [all …]
|
D | UAnnotationItem.kt | 48 override val codebase: PsiBasedCodebase, in <lambda>() constant in com.android.tools.metalava.model.psi.UAnnotationItem 51 ) : DefaultAnnotationItem(codebase) { in <lambda>() 52 private val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>() 62 appendAnnotation(codebase, sb, uAnnotation, originalName, target, showDefaultAttrs) in <lambda>() 67 return codebase.findOrCreateClass(originalName ?: return null) in <lambda>() 92 codebase, in <lambda>() 107 codebase.findOrCreateClass(className) in <lambda>() 114 …fun create(codebase: PsiBasedCodebase, uAnnotation: UAnnotation, qualifiedName: String? = uAnnotat… in <lambda>() 115 return UAnnotationItem(codebase, uAnnotation, qualifiedName) in <lambda>() 118 fun create(codebase: PsiBasedCodebase, original: UAnnotationItem): UAnnotationItem { in <lambda>() [all …]
|
D | PsiPackageItem.kt | 25 override val codebase: PsiBasedCodebase, constant in com.android.tools.metalava.model.psi.PsiPackageItem 32 codebase = codebase, 56 containingPackageField = codebase.findPackage("")!! in containingClass() 60 val pkg = codebase.findPackage(parentPackage) in containingClass() 135 …fun create(codebase: PsiBasedCodebase, psiPackage: PsiPackage, extraDocs: String?): PsiPackageItem… in create() 137 val modifiers = modifiers(codebase, psiPackage, commentText) in create() 145 codebase = codebase, in create() 155 fun create(codebase: PsiBasedCodebase, original: PsiPackageItem): PsiPackageItem { in create() 157 codebase = codebase, in create() 161 modifiers = PsiModifierItem.create(codebase, original.modifiers) in create()
|
D | PsiTypeParameterItem.kt | 27 codebase: PsiBasedCodebase, 33 codebase = codebase, 58 … refs.mapNotNull { PsiTypeItem.create(codebase, it).asClass() }.filter { !it.isJavaLangObject() } in finishInitialization() 65 fun create(codebase: PsiBasedCodebase, psiClass: PsiTypeParameter): PsiTypeParameterItem { in create() 67 val modifiers = modifiers(codebase, psiClass, "") in create() 70 codebase = codebase, in create()
|
D | PsiFieldItem.kt | 29 override val codebase: PsiBasedCodebase, constant in com.android.tools.metalava.model.psi.PsiFieldItem 40 codebase = codebase, 81 val duplicated = create(codebase, targetContainingClass as PsiClassItem, psiField) in duplicate() 116 …fun create(codebase: PsiBasedCodebase, containingClass: PsiClassItem, psiField: PsiField): PsiFiel… in toString() 119 val modifiers = modifiers(codebase, psiField, commentText) in toString() 121 val fieldType = codebase.getType(psiField.type) in toString() 126 codebase = codebase, in toString()
|
D | PsiCompilationUnit.kt | 47 val codebase: PsiBasedCodebase, constant in com.android.tools.metalava.model.psi.PsiCompilationUnit 100 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements() 105 val pkgItem = codebase.findPackage(resolved.qualifiedName) ?: continue in getImportStatements() 114 codebase.findClass(resolved.containingClass ?: continue) ?: continue in getImportStatements() 115 val methodItem = codebase.findMethod(resolved) in getImportStatements() 120 … val classItem = codebase.findClass(resolved.containingClass ?: continue) ?: continue in getImportStatements() 136 val classItem = codebase.findClass(resolved) ?: continue in getImportStatements() 216 val classItem = codebase.findClass(psiClass) ?: continue in classes()
|
/tools/treble/hacksaw/client/ |
D | command.go | 29 codebase add <name> <path>: Add codebase to hacksaw's list. 30 codebase list: List all codebases that hacksaw knows about. 31 codebase default <name>: Change the default codebase. 32 codebase remove <name>: Remove a codebase from hacksaw's list. 34 from a codebase. The codebase is optional if a default codebase 59 _, err := codebase.Add(name, path) 74 if err := codebase.SetDefault(name); err != nil { 82 def := codebase.Default() 89 list := codebase.List() 103 _, err := codebase.Remove(name) [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterItem.kt | 25 codebase: TextCodebase, 32 codebase = codebase, 33 modifiers = TextModifiers(codebase, DefaultModifierList.PUBLIC), 46 val clz = codebase.findClass(it) in bounds() 48 codebase.getOrCreateClass(it) in bounds() 66 codebase: TextCodebase, in create() 82 codebase = codebase, in create()
|
D | TextModifiers.kt | 31 override val codebase: Codebase, in <lambda>() constant in com.android.tools.metalava.model.text.TextModifiers 34 ) : DefaultModifierList(codebase, flags, annotations) { in <lambda>() 44 return TextModifiers(codebase, flags, newAnnotations) in <lambda>() 57 val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>() 70 val codebase = codebase in <lambda>() constant 71 val item = object : DefaultAnnotationItem(codebase) { in <lambda>()
|
D | TextItem.kt | 23 override val codebase: TextCodebase, constant in com.android.tools.metalava.model.text.TextItem 36 …appendDocumentation(comment: String, tagSection: String?, append: Boolean) = codebase.unsupported() 38 …override fun isJava(): Boolean = codebase.unsupported() // source language not recorded in signatu… 39 …override fun isKotlin(): Boolean = codebase.unsupported() // source language not recorded in signa…
|
D | TextTypeParameterList.kt | 24 val codebase: TextCodebase, constant in com.android.tools.metalava.model.text.TextTypeParameterList 50 strings.mapTo(list) { TextTypeParameterItem.create(codebase, owner, it) } in typeParameters() 57 …fun create(codebase: TextCodebase, owner: TypeParameterListOwner?, typeListString: String): TypePa… in create() 58 return TextTypeParameterList(codebase, owner, typeListString) in create()
|
D | TextFieldItem.kt | 24 codebase: TextCodebase, 31 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), FieldItem { 58 codebase, name(), targetContainingClass as TextClassItem, in hashCode()
|
D | TextMethodItem.kt | 31 codebase: TextCodebase, 38 codebase, name, containingClass, position, 137 codebase, name(), targetContainingClass as TextClassItem, in duplicate() 203 override fun isExtensionMethod(): Boolean = codebase.unsupported() in isVarArg()
|
D | TextConstructorItem.kt | 22 codebase: TextCodebase, 28 ) : TextMethodItem(codebase, name, containingClass, modifiers, returnType, position),
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/ |
D | TextModifiersTest.kt | 28 val codebase = ApiFile.parseApi( in test equivalentTo()() constant 39 TextModifiers(codebase, flags = DefaultModifierList.PUBLIC).equivalentTo( in test equivalentTo()() 40 TextModifiers(codebase, flags = DefaultModifierList.PUBLIC)) in test equivalentTo()() 43 TextModifiers(codebase, flags = DefaultModifierList.PRIVATE).equivalentTo( in test equivalentTo()() 44 TextModifiers(codebase, flags = DefaultModifierList.PUBLIC)) in test equivalentTo()()
|
D | TextTypeItemTest.kt | 68 val codebase = ApiFile.parseApi( in check erasure() constant 81 val cls = codebase.findClass("androidx.navigation.NavDestinationBuilder") in check erasure() 108 val codebase = ApiFile.parseApi( in check erasure from object() constant 117 val cls = codebase.findClass("test.pkg.TestClass") in check erasure from object() 139 val codebase = ApiFile.parseApi( in check erasure from enums() constant 149 val cls = codebase.findClass("test.pkg.EnumMap") in check erasure from enums()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationsDiffer.kt | 59 codebase: Codebase in <lambda>() 102 if (codebase.supportsDocumentation()) { in <lambda>() 107 CodebaseComparator().compare(visitor, superset, codebase, filter) in <lambda>() 111 val codebase = superset in <lambda>() constant 121 … val apiWriter = SignatureWriter(printWriter, apiEmit, apiReference, codebase.preFiltered) in <lambda>() 122 codebase.accept(apiWriter) in <lambda>()
|
D | ArtifactTagger.kt | 52 fun tag(codebase: Codebase, warnAboutMissing: Boolean = true) { in any() 74 applyArtifactsFromSpec(artifactName, specApi, codebase) in any() 78 codebase.accept(object : ApiVisitor() { in any() 94 codebase: Codebase in applyArtifactsFromSpec() 100 val pkg = codebase.findPackage(specPkg.qualifiedName()) ?: continue in applyArtifactsFromSpec()
|
D | SignatureFileLoader.kt | 43 val codebase = ApiFile.parseApi(File(file.path), kotlinStyleNulls ?: false) in loadFromSignatureFiles() constant 44 codebase.description = "Codebase loaded from ${file.path}" in loadFromSignatureFiles() 45 return codebase in loadFromSignatureFiles()
|
D | ApiType.kt | 91 fun getSignatureFile(codebase: Codebase, defaultName: String): File { in <lambda>() 99 createReportFile(codebase, tempFile, null) { printWriter -> in <lambda>() 100 SignatureWriter(printWriter, apiEmit, apiReference, codebase.preFiltered) in <lambda>()
|
/tools/treble/hacksaw/codebase/ |
D | codebase.go | 16 package codebase package 84 func GetDir(codebase string) (string, error) { 86 dir, ok := cfg.Codebases[codebase] 89 codebase)
|
/tools/treble/hacksaw/ |
D | README.md | 7 If you have a large multi-gigabyte codebase spread out through multiple git projects it can take a … 9 …are read-only bind mounts. This lets you build without cloning the full codebase to a new location! 13 Lets look at some performance numbers for creating a hacksaw workspace using as a codebase the AOSP… 51 $ hacksaw codebase add aosp ~/aosp 52 Added codebase aosp 53 $ hacksaw codebase default aosp 54 Default codebase set to aosp 110 Hacksaw creates bind mounts for all git projects in a codebase. It then 112 codebase before create a workspace, otherwise it may spend a long time copying 123 Other commmands like `hacksaw workspace list` or `hacksaw add codebase` do not [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | PackageList.kt | 22 class PackageList(val codebase: Codebase, val packages: List<PackageItem>) { constant in com.android.tools.metalava.model.PackageList 24 visitor.visitCodebase(codebase) in accept() 28 visitor.afterVisitCodebase(codebase) in accept()
|
/tools/treble/hacksaw/workspace/ |
D | workspace.go | 59 codebaseDir, err := codebase.GetDir(codebaseName) 81 codebaseDir, err := codebase.GetDir(codebaseName) 105 codebase, ok := cfg.Workspaces[workspaceName] 109 return codebase, nil 145 codebaseDir, err := codebase.GetDir(codebaseName) 266 codebaseDir, err := codebase.GetDir(codebaseName)
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiGenerator.java | 153 @Nullable Codebase codebase) throws IOException { in generate() argument 154 …AndroidJarReader reader = new AndroidJarReader(patterns, minApi, currentJar, currentApi, codebase); in generate() 161 @Nullable Codebase codebase) throws IOException { in generate() argument 162 AndroidJarReader reader = new AndroidJarReader(apiLevels, codebase); in generate()
|