Home
last modified time | relevance | path

Searched refs:packageItem (Results 1 – 9 of 9) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/packageitem/
DCommonPackageItemTest.kt53 val packageItem = codebase.assertPackage("test.pkg") in Test @hide in package html() constant
54 assertEquals(true, packageItem.originallyHidden) in Test @hide in package html()
81 val packageItem = codebase.assertPackage("test.pkg") in Test @hide in package info processed first() constant
82 assertEquals(true, packageItem.originallyHidden) in Test @hide in package info processed first()
109 val packageItem = codebase.assertPackage("test.pkg") in Test @hide in package info processed last() constant
110 assertEquals(true, packageItem.originallyHidden) in Test @hide in package info processed last()
136 val packageItem = codebase.assertPackage("test.pkg") in Test nullability annotation in package info() constant
139 packageItem.modifiers.annotations().single().toString() in Test nullability annotation in package info()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt79 val packageItem = codebase.assertPackage("test.pkg") in 040 - check package exists() constant
80 assertEquals("test.pkg", packageItem.qualifiedName()) in 040 - check package exists()
81 assertEquals(1, packageItem.topLevelClasses().count(), message = "") in 040 - check package exists()
250 val packageItem = codebase.assertPackage("test.pkg") in 110 - advanced package test() constant
255 assertEquals(1, packageItem.topLevelClasses().count()) in 110 - advanced package test()
257 assertEquals(parentPackageItem, packageItem.containingPackage()) in 110 - advanced package test()
260 assertEquals(packageItem, classItem.containingPackage()) in 110 - advanced package test()
261 assertEquals(packageItem, innerClassItem.containingPackage()) in 110 - advanced package test()
280 val packageItem = codebase.assertPackage("test.pkg") in 120 - check modifiers() constant
285 val packageMod = packageItem.mutableModifiers() in 120 - check modifiers()
[all …]
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineBasedCodebase.kt123 fun addPackage(packageItem: TurbinePackageItem) { in addPackage()
124 packageMap.put(packageItem.qualifiedName(), packageItem) in addPackage()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/
DAssertions.kt42 val packageItem = findPackage(pkgName) in assertPackage() constant
43 assertNotNull(packageItem, message = "Expected $pkgName to be defined") in assertPackage()
44 return packageItem in assertPackage()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DPackageFilter.kt69 fun matches(packageItem: PackageItem): Boolean { in matches()
70 return matches(packageItem.qualifiedName()) in matches()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt318 val packageItem = registerPackage(pkgName, psiPackage, null) in <lambda>() constant
319 packageItem.addClass(classItem) in <lambda>()
432 val packageItem = in <lambda>() constant
440 packageItem.emit = !packageItem.isFromClassPath() in <lambda>()
442 packageMap[pkgName] = packageItem in <lambda>()
444 packageItem.hidden = true in <lambda>()
447 sortedClasses?.let { packageItem.addClasses(it) } in <lambda>()
448 return packageItem in <lambda>()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextModelSuiteRunner.kt108 val packageItem = in resolveClass() constant
125 packageItem.addClass(newClassItem) in resolveClass()
DApiFileTest.kt300 codebase.getPackages().packages.map { packageItem -> in <lambda>() method
302 for (classItem in packageItem.allClasses()) { in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt130 private fun getPackageDir(packageItem: PackageItem, create: Boolean = true): File { in getPackageDir()
131 val relative = packageItem.qualifiedName().replace('.', File.separatorChar) in getPackageDir()