Home
last modified time | relevance | path

Searched refs:isPublic (Results 1 – 14 of 14) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt35 fun isPublic(): Boolean in annotations() method
61 fun isPackagePrivate() = !(isPublic() || isProtected() || isPrivate()) in annotations()
62 fun isPublicOrProtected() = isPublic() || isProtected() in annotations()
66 if (isPublic() != other.isPublic()) return false in annotations()
160 PUBLIC -> isPublic() in checkLevel()
161 PROTECTED -> isPublic() || isProtected() in checkLevel()
173 other.isPublic() -> isPublic() in asAccessibleAs()
174 other.isProtected() -> isPublic() || isProtected() in asAccessibleAs()
175 other.isPackagePrivate() -> isPublic() || isProtected() || isPackagePrivate() in asAccessibleAs()
176 other.isInternal() -> isPublic() || isProtected() || isInternal() in asAccessibleAs()
[all …]
DItem.kt120 val isPublic: Boolean in isHiddenOrRemoved() constant
336 override val isPublic: Boolean get() = modifiers.isPublic() constant in com.android.tools.metalava.model.DefaultItem
DDefaultModifierList.kt53 override fun isPublic(): Boolean { in isPublic() method
DMethodItem.kt397 return isConstructor() && modifiers.isPublic() && parameters().isEmpty() in <lambda>()
DClassItem.kt607 … if (!fieldModifiers.isStatic() || !fieldModifiers.isFinal() || !fieldModifiers.isPublic()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiPredicate.kt60 … var visible = member.isPublic || member.isProtected // TODO: Should this use checkLevel instead? in test()
86 visible = visible and (clazz.isPublic || clazz.isProtected) in test()
/tools/metalava/src/main/java/com/android/tools/metalava/
DProguardWriter.kt64 modifiers.isPublic() -> writer.write("public ") in visitMethod()
106 modifiers.isPublic() -> writer.write("public ") in visitField()
DKotlinInteropChecks.kt125 if (modifiers.isPublic() && modifiers.isFinal()) { in ensureCompanionFieldJvmField()
177 …ontainingClass().simpleName() == "Companion" && method.isKotlin() && method.modifiers.isPublic()) { in ensureCompanionJvmStatic()
DSdkFileWriter.kt98 if (!clazz.isHiddenOrRemoved() && clazz.isPublic && !clazz.modifiers.isAbstract()) { in generate()
DApiAnalyzer.kt199 … if (constructor.parameters().isEmpty() && constructor.isPublic && !constructor.hidden) { in <lambda>()
423 if (method.modifiers.isAbstract() || !method.modifiers.isPublic()) { in <lambda>()
DCompatibilityCheck.kt238 if (old.constructors().filter { it.isPublic || it.isProtected }.none()) { in compare()
DApiLint.kt1766 method.modifiers.isPublic() in <lambda>()
1863 constructor.parameters().isEmpty() && constructor.modifiers.isPublic() in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceTestCase.java332 if (Modifier.isPublic(method.getModifiers()) in getTestMethodNames()
DHostTest.java747 if (!Modifier.isPublic(method.getModifiers()) in collectTests()