Home
last modified time | relevance | path

Searched refs:pkgItem (Results 1 – 6 of 6) sorted by relevance

/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineSourceFile.kt58 val pkgItem = codebase.findPackage(resolvedName) ?: continue in getImports() constant
60 predicate.test(pkgItem) && in getImports()
64 pkgItem.topLevelClasses().any { it.emit && predicate.test(it) } in getImports()
66 imports.add(Import(pkgItem)) in getImports()
DTurbineCodebaseInitialiser.kt204 val pkgItem = codebase.findPackage(name) in <lambda>() constant
205 if (pkgItem != null) { in <lambda>()
206 val turbinePkgItem = pkgItem as TurbinePackageItem in <lambda>()
303 val pkgItem = findOrCreatePackage(pkgName, null, "") in <lambda>() constant
383 classItem.containingPackage = pkgItem in <lambda>()
384 pkgItem.addTopClass(classItem) in <lambda>()
389 pkgItem.emit = false in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiSourceFile.kt104 val pkgItem = codebase.findPackage(resolved.qualifiedName) ?: continue in getImports() constant
106 predicate.test(pkgItem) && in getImports()
110 pkgItem.topLevelClasses().any { it.emit && predicate.test(it) } in getImports()
112 imports.add(Import(pkgItem)) in getImports()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/sourcefile/
DSourceFileTest.kt104 val pkgItem = codebase.assertPackage("test.pkg1") in test sourcefile imports() constant
109 val packageImport = Import(pkgItem) in test sourcefile imports()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DSourceFile.kt141 constructor(pkgItem: PackageItem) : this("${pkgItem.qualifiedName()}.*", "*", false)
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt328 val pkgItem = codebase.assertPackage("test.pkg") in 130 - check classes from classpath() constant
329 assertEquals(true, pkgItem.emit) in 130 - check classes from classpath()
943 val pkgItem = codebase.assertPackage("test.pkg") in 240 test documentations() constant
977 assertEquals("", pkgItem.documentation) in 240 test documentations()