Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 19 of 19) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiPackageItem.kt60 val pkg = codebase.findPackage(parentPackage) in containingClass() constant
61 if (pkg != null) { in containingClass()
62 containingPackageField = pkg in containingClass()
63 return pkg in containingClass()
144 val pkg = PsiPackageItem( in create() constant
151 pkg.modifiers.setOwner(pkg) in create()
152 return pkg in create()
156 val pkg = PsiPackageItem( in create() constant
163 pkg.modifiers.setOwner(pkg) in create()
164 return pkg in create()
DPsiCompilationUnit.kt67 val pkg = file.packageStatement ?: return null in getHeaderComments() constant
68 return file.text.substring(0, pkg.startOffset) in getHeaderComments()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt84 override fun visitPackage(pkg: PackageItem) { in <lambda>()
85 getPackageDir(pkg, create = true) in <lambda>()
87 writePackageInfo(pkg) in <lambda>()
91 packageDocs.getOverviewDocumentation(pkg)?.let { writeDocOverview(pkg, it) } in <lambda>()
96 fun writeDocOverview(pkg: PackageItem, content: String) { in <lambda>()
101 val sourceFile = File(getPackageDir(pkg), "overview.html") in <lambda>()
117 private fun writePackageInfo(pkg: PackageItem) { in <lambda>()
118 val annotations = pkg.modifiers.annotations() in <lambda>()
119 if (annotations.isNotEmpty() && generateAnnotations || !pkg.documentation.isBlank()) { in <lambda>()
120 val sourceFile = File(getPackageDir(pkg), "package-info.java") in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiPredicate.kt100 var pkg: PackageItem? = clazz.containingPackage() in test() variable
101 while (pkg != null) { in test()
102 hidden = hidden or pkg.hidden in test()
103 docOnly = docOnly or pkg.docOnly in test()
104 removed = removed or pkg.removed in test()
105 pkg = pkg.containingPackage() in test()
DPackageFilter.kt46 val pkg = arg.removePrefix("-").removePrefix("+") in addPackages() constant
47 val index = pkg.indexOf('*') in addPackages()
49 if (index < pkg.length - 1) { in addPackages()
50 …row DriverException(stderr = "Wildcards in stub packages must be at the end of the package: $pkg)") in addPackages()
52 val prefix = pkg.removeSuffix("*") in addPackages()
60 add(StringEqualsPredicate(pkg), treatAsPositiveMatch) in addPackages()
DArtifactTagger.kt100 val pkg = codebase.findPackage(specPkg.qualifiedName()) ?: continue in applyArtifactsFromSpec() constant
101 for (cls in pkg.allClasses()) { in applyArtifactsFromSpec()
DSignatureWriter.kt56 override fun visitPackage(pkg: PackageItem) { in <lambda>()
58 writeModifiers(pkg) in <lambda>()
62 override fun afterVisitPackage(pkg: PackageItem) { in <lambda>()
DJDiffXmlWriter.kt79 override fun visitPackage(pkg: PackageItem) { in <lambda>()
84 override fun afterVisitPackage(pkg: PackageItem) { in <lambda>()
/tools/acloud/setup/
Dsetup_common.py57 def InstallPackage(pkg): argument
67 print(CheckCmdOutput(PKG_INSTALL_CMD % pkg,
71 logger.error("Package install for %s failed: %s", pkg, cpe.output)
73 "Could not install package [" + pkg + "], :" + str(cpe.output))
75 if not PackageInstalled(pkg, compare_version=False):
78 pkg + "]")
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DPackageDocs.kt24 fun getOverviewDocumentation(pkg: PackageItem): String? = overviewDocs[pkg.qualifiedName()]
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java184 TextPackageItem pkg; in parsePackage() local
210 pkg = new TextPackageItem(api, name, modifiers, tokenizer.pos()); in parsePackage()
214 if (!pkg.getModifiers().toString().equals(existing.getModifiers().toString())) { in parsePackage()
217 name, pkg.getModifiers(), modifiers), tokenizer); in parsePackage()
219 pkg = existing; in parsePackage()
231 parseClass(api, pkg, tokenizer, token); in parsePackage()
234 api.addPackage(pkg); in parsePackage()
237 …private static void parseClass(TextCodebase api, TextPackageItem pkg, Tokenizer tokenizer, String … in parseClass() argument
276 qualifiedName = qualifiedName(pkg.name(), name); in parseClass()
296 cl.setContainingPackage(pkg); in parseClass()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DItemVisitor.kt55 open fun visitPackage(pkg: PackageItem) {} in visitPackage()
71 open fun afterVisitPackage(pkg: PackageItem) {} in afterVisitPackage()
/tools/metalava/src/test/java/com/android/tools/metalava/
DShowAnnotationTest.kt615 package test.pkg; in Can't expose item from a hidden parent()
/tools/tradefederation/prebuilts/filegroups/suite/
Dcompatibility-tradefed.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/tools/asuite/atest/unittest_data/tradefed_prebuilt/prebuilts/filegroups/suite/
Dcompatibility-tradefed.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/tools/asuite/atest/unittest_data/tradefed_prebuilt/prebuilts/filegroups/tradefed/
Dtradefed-contrib.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/tools/tradefederation/prebuilts/filegroups/tradefed/
Dtradefed-contrib.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
Dtradefed-test-framework.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/tools/repohooks/tools/
Dpylintrc55 extension-pkg-whitelist=