Home
last modified time | relevance | path

Searched refs:findPackage (Results 1 – 21 of 21) sorted by relevance

/tools/metalava/metalava-model-source/src/main/java/com/android/tools/metalava/model/source/utils/
DSourceSetUtils.kt28 fun findPackage(file: File): String? { in findPackage() method
30 return findPackage(source) in findPackage()
34 private fun findPackage(source: String): String? { in findPackage() method
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DPackageItem.kt44 ) = codebase.findPackage(qualifiedName()) in <lambda>()
56 codebase.findPackage(name.substring(0, lastDot)) in <lambda>()
DCodebase.kt57 fun findPackage(pkgName: String): PackageItem? in <lambda>() method
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbinePackageItem.kt98 if (lastDot != -1) codebase.findPackage(name.substring(0, lastDot)) in containingPackage()
99 else codebase.findPackage("") in containingPackage()
DTurbineSourceParser.kt24 import com.android.tools.metalava.model.source.utils.findPackage in <lambda>()
101 findPackage(javaFile)?.let { in <lambda>()
DTurbineSourceFile.kt58 val pkgItem = codebase.findPackage(resolvedName) ?: continue in getImports()
DTurbineBasedCodebase.kt76 override fun findPackage(pkgName: String): PackageItem? { in findPackage() method
DTurbineCodebaseInitialiser.kt204 val pkgItem = codebase.findPackage(name) in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiPackageItem.kt64 containingPackageField = codebase.findPackage("")!! in containingClass()
68 val pkg = codebase.findPackage(parentPackage) in containingClass()
DPsiBasedCodebase.kt314 val pkg = findPackage(pkgName) in <lambda>()
361 emptyPackage = findPackage("")!! in <lambda>()
418 val parent = findPackage(name) ?: continue in <lambda>()
624 override fun findPackage(pkgName: String): PsiPackageItem? { in <lambda>() method
629 return JavaPsiFacade.getInstance(project).findPackage(pkgName) in <lambda>()
DPsiSourceParser.kt33 import com.android.tools.metalava.model.source.utils.findPackage in <lambda>()
361 ?.mapNotNull { findPackage(it) } in gatherPackageJavadoc()
DPsiSourceFile.kt104 val pkgItem = codebase.findPackage(resolved.qualifiedName) ?: continue in getImports()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt211 findPackage(pkgPath) in <lambda>()
230 override fun findPackage(pkgName: String): TextPackageItem? { in <lambda>() method
DTextCodebaseBuilder.kt62 val pkg = codebase.findPackage(pkgName) in getOrAddPackage()
DApiFile.kt416 val existing = codebase.findPackage(name) in parsePackage()
/tools/metalava/metalava-model-source/src/main/java/com/android/tools/metalava/model/source/
DSourceSet.kt23 import com.android.tools.metalava.model.source.utils.findPackage
164 val pkg = findPackage(file) ?: return null in findRoot()
/tools/metalava/metalava-model/src/test/java/com/android/tools/metalava/model/
DDefaultAnnotationItemTest.kt39 override fun findPackage(pkgName: String) = unsupported() in supportsDocumentation() method in com.android.tools.metalava.model.DefaultAnnotationItemTest
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextModelSuiteRunner.kt109 codebase.findPackage(packageName) in resolveClass()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/
DAssertions.kt42 val packageItem = findPackage(pkgName) in assertPackage()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt782 codebase.findPackage("")?.let { empty -> in createStubFiles()
DApiAnalyzer.kt552 val pkg = codebase.findPackage(pkgName) ?: continue in <lambda>()