Home
last modified time | relevance | path

Searched refs:reportError (Results 1 – 7 of 7) sorted by relevance

/tools/platform-compat/java/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandler.java122 context.reportError("Expected signature does not match generated:\n" in handleAnnotation()
130 context.reportError("Expected property %s to be of type int; got %d", in handleAnnotation()
144 context.reportError( in handleAnnotation()
157 context.reportError("Expected property %s to be of type long; got %d", in handleAnnotation()
172 context.reportError( in handleAnnotation()
181 context.reportError("Invalid value for %s: got %d, expected one of [%s]", in handleAnnotation()
194 context.reportError(e.toString()); in handleAnnotation()
197 context.reportError( in handleAnnotation()
DCovariantReturnTypeHandler.java65 context.reportError("Cannot specify %s on a field", RETURN_TYPE); in handleAnnotation()
70 context.reportError("No %s set on @%s", RETURN_TYPE, SHORT_NAME); in handleAnnotation()
74 context.reportError("Found @%s on non-SDK method", SHORT_NAME); in handleAnnotation()
92 context.reportError("Signature %s generated from @%s already exists as a public API", in handleAnnotation()
/tools/platform-compat/java/com/android/annotationvisitor/
DStatusReporter.java24 void reportError(String message, Object... args); in reportError() method
DAnnotatedClassContext.java52 public void reportError(String message, Object... args) { in reportError() method in AnnotatedClassContext
DAnnotatedMemberContext.java58 public void reportError(String message, Object... args) { in reportError() method in AnnotatedMemberContext
DRepeatedAnnotationHandler.java49 context.reportError("No value found on %s", annotation.getAnnotationType()); in handleAnnotation()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt871 fun reportError(method: MethodItem, psi: PsiElement? = null) { in <lambda>() method
882 reportError(method) in <lambda>()
896 reportError(method, arg.sourcePsi ?: node.sourcePsi ?: node.javaPsi) in <lambda>()
911 reportError(method, lock ?: statement) in <lambda>()