Home
last modified time | relevance | path

Searched refs:Errors (Results 1 – 25 of 25) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DReleaseType.kt19 import com.android.tools.metalava.doclava1.Errors
35 error(Errors.ADDED_CLASS) in getErrorConfiguration()
36 error(Errors.ADDED_FIELD) in getErrorConfiguration()
37 error(Errors.ADDED_FINAL_UNINSTANTIABLE) in getErrorConfiguration()
38 error(Errors.ADDED_INTERFACE) in getErrorConfiguration()
39 error(Errors.ADDED_METHOD) in getErrorConfiguration()
40 error(Errors.ADDED_PACKAGE) in getErrorConfiguration()
41 error(Errors.CHANGED_ABSTRACT) in getErrorConfiguration()
42 error(Errors.CHANGED_CLASS) in getErrorConfiguration()
43 error(Errors.CHANGED_DEPRECATED) in getErrorConfiguration()
[all …]
DCompatibilityCheck.kt22 import com.android.tools.metalava.doclava1.Errors
23 import com.android.tools.metalava.doclava1.Errors.Error
89 Errors.OPERATOR_REMOVAL, in compare()
97 Errors.INFIX_REMOVAL, in compare()
121 Errors.INVALID_NULL_CONVERSION, new, in compare()
134 Errors.INVALID_NULL_CONVERSION, in compare()
141 Errors.INVALID_NULL_CONVERSION, in compare()
157 Errors.PARAMETER_NAME_CHANGE, in compare()
163 Errors.PARAMETER_NAME_CHANGE, in compare()
171 Errors.DEFAULT_VALUE_CHANGE, in compare()
[all …]
DApiLint.kt49 import com.android.tools.metalava.doclava1.Errors.ABSTRACT_INNER in <lambda>()
50 import com.android.tools.metalava.doclava1.Errors.ACRONYM_NAME in <lambda>()
51 import com.android.tools.metalava.doclava1.Errors.ACTION_VALUE in <lambda>()
52 import com.android.tools.metalava.doclava1.Errors.ALL_UPPER in <lambda>()
53 import com.android.tools.metalava.doclava1.Errors.ARRAY_RETURN in <lambda>()
54 import com.android.tools.metalava.doclava1.Errors.AUTO_BOXING in <lambda>()
55 import com.android.tools.metalava.doclava1.Errors.BANNED_THROW in <lambda>()
56 import com.android.tools.metalava.doclava1.Errors.BUILDER_SET_STYLE in <lambda>()
57 import com.android.tools.metalava.doclava1.Errors.CALLBACK_INTERFACE in <lambda>()
58 import com.android.tools.metalava.doclava1.Errors.CALLBACK_METHOD_NAME in <lambda>()
[all …]
DApiAnalyzer.kt20 import com.android.tools.metalava.doclava1.Errors in <lambda>()
681 Errors.SHOWING_MEMBER_IN_HIDDEN_CLASS, item, in <lambda>()
728 Errors.REQUIRES_PERMISSION, method, in <lambda>()
743 Errors.REQUIRES_PERMISSION, method, in <lambda>()
753 Errors.REQUIRES_PERMISSION, method, "Method '" + method.name() + in <lambda>()
763 Errors.REQUIRES_PERMISSION, method, "Method '" + method.name() + in <lambda>()
775 val checkSystemApi = !reporter.isSuppressed(Errors.REQUIRES_PERMISSION) && in <lambda>()
777 val checkHiddenShowAnnotations = !reporter.isSuppressed(Errors.UNHIDDEN_SYSTEM_API) && in <lambda>()
793 Errors.DEPRECATION_MISMATCH, item, in <lambda>()
808 Errors.UNHIDDEN_SYSTEM_API, item, in <lambda>()
[all …]
DKotlinInteropChecks.kt19 import com.android.tools.metalava.doclava1.Errors
109 Errors.DOCUMENT_EXCEPTIONS, method, in ensureExceptionsDocumented()
115 Errors.DOCUMENT_EXCEPTIONS, method, in ensureExceptionsDocumented()
138 Errors.MISSING_JVMSTATIC, field, in ensureCompanionFieldJvmField()
143 Errors.MISSING_JVMSTATIC, field, in ensureCompanionFieldJvmField()
168 reporter.report(Errors.SAM_SHOULD_BE_LAST, method, message) in ensureLambdaLastParameter()
215 Errors.MISSING_JVMSTATIC, method, in ensureCompanionJvmStatic()
258 Errors.MISSING_JVMSTATIC, method, in ensureDefaultParamsHaveJvmOverloads()
280 Errors.KOTLIN_KEYWORD, item, in checkKotlinKeyword()
285 Errors.KOTLIN_KEYWORD, item, in checkKotlinKeyword()
DAndroidApiChecks.kt20 import com.android.tools.metalava.doclava1.Errors
171 reporter.report(Errors.TODO, item, "Documentation mentions 'TODO'") in checkTodos()
199 Errors.REQUIRES_PERMISSION, method, "Method '" + method.name() + in checkRequiresPermission()
207 Errors.REQUIRES_PERMISSION, method, "Method '" + method.name() + in checkRequiresPermission()
229 Errors.BROADCAST_BEHAVIOR, field, in checkIntentAction()
235 Errors.SDK_CONSTANT, field, "Field '" + field.name() + in checkIntentAction()
244 Errors.SDK_CONSTANT, field, "Field '" + field.name() + in checkIntentAction()
275 Errors.INT_DEF, item, in checkVariable()
286 Errors.NULLABLE, item, in checkVariable()
DBaseline.kt19 import com.android.tools.metalava.doclava1.Errors in <lambda>()
56 private val map = HashMap<Errors.Error, MutableMap<String, String>>() in <lambda>()
66 fun mark(element: Item, message: String, error: Errors.Error): Boolean { in <lambda>()
72 fun mark(element: PsiElement, message: String, error: Errors.Error): Boolean { in <lambda>()
78 fun mark(file: File, message: String, error: Errors.Error): Boolean { in <lambda>()
83 …k(elementId: String, @Suppress("UNUSED_PARAMETER") message: String, error: Errors.Error): Boolean { in <lambda>()
206 val error = Errors.findErrorById(errorId) in <lambda>()
251 val counts = mutableMapOf<Errors.Error, Int>() in <lambda>()
DDocAnalyzer.kt10 import com.android.tools.metalava.doclava1.Errors in <lambda>()
138 Errors.MULTIPLE_THREAD_ANNOTATIONS, in <lambda>()
326 Errors.MISSING_PERMISSION, item, in <lambda>()
331 Errors.MISSING_PERMISSION, item, in <lambda>()
341 Errors.MISSING_PERMISSION, item, in <lambda>()
424 Errors.HIDDEN_TYPEDEF_CONSTANT, item, in <lambda>()
448 Errors.MISSING_PERMISSION, item, in <lambda>()
457 Errors.MISSING_PERMISSION, item, in <lambda>()
593 if (reporter.isSuppressed(Errors.TYPO)) { in <lambda>()
610 Errors.TYPO, in <lambda>()
[all …]
DReporter.kt26 import com.android.tools.metalava.doclava1.Errors
85 fun report(id: Errors.Error, element: PsiElement?, message: String): Boolean { in toString()
100 fun report(id: Errors.Error, file: File?, message: String): Boolean { in toString()
115 fun report(id: Errors.Error, item: Item?, message: String, psi: PsiElement? = null): Boolean { in toString()
157 fun isSuppressed(id: Errors.Error, item: Item? = null, message: String? = null): Boolean { in toString()
274 …private fun report(severity: Severity, element: PsiElement?, message: String, id: Errors.Error? = … in toString()
286 id: Errors.Error? = null, in toString()
DArtifactTagger.kt21 import com.android.tools.metalava.doclava1.Errors
70 Errors.BROKEN_ARTIFACT_FILE, xmlFile, in any()
84 Errors.NO_ARTIFACT_DATA, cls, in any()
111 Errors.BROKEN_ARTIFACT_FILE, cls, in applyArtifactsFromSpec()
DExtractAnnotations.kt22 import com.android.tools.metalava.doclava1.Errors in <lambda>()
226 Errors.ANNOTATION_EXTRACTION, typeDefClass, in <lambda>()
233 Errors.ANNOTATION_EXTRACTION, typeDefClass, in <lambda>()
260 !reporter.isSuppressed(Errors.RETURNING_UNEXPECTED_CONSTANT) in <lambda>()
306 Errors.RETURNING_UNEXPECTED_CONSTANT, value as PsiElement, in <lambda>()
354 Errors.ANNOTATION_EXTRACTION, annotation.sourcePsi, in <lambda>()
572 Errors.SUPERFLUOUS_PREFIX, item, in <lambda>()
DNullabilityAnnotationsValidator.kt19 import com.android.tools.metalava.doclava1.Errors in <lambda>()
210 …fatalIssues.forEach { reporter.report(Errors.INVALID_NULLABILITY_ANNOTATION, it.method, it.toStrin… in <lambda>()
220 …reporter.report(Errors.INVALID_NULLABILITY_ANNOTATION_WARNING, it.method, "Nullability issue: $it") in <lambda>()
DAnnotationsDiffer.kt20 import com.android.tools.metalava.doclava1.Errors in <lambda>()
141 reporter.report(Errors.IO_ERROR, apiFile, "Cannot open file for write.") in <lambda>()
DStubWriter.kt20 import com.android.tools.metalava.doclava1.Errors in <lambda>()
109 reporter.report(Errors.IO_ERROR, sourceFile, "Cannot open file for write.") in writeDocOverview()
128 reporter.report(Errors.IO_ERROR, sourceFile, "Cannot open file for write.") in writePackageInfo()
188 reporter.report(Errors.IO_ERROR, sourceFile, "Cannot open file for write.") in visitClass()
DOptions.kt22 import com.android.tools.metalava.doclava1.Errors in <lambda>()
834 Errors.DEPRECATED_OPTION, null as File?, in <lambda>()
858 Errors.DEPRECATED_OPTION, null as File?, in <lambda>()
952 … ARG_ERROR, "-error" -> Errors.setErrorLevel(getValue(args, ++index), Severity.ERROR, true) in <lambda>()
953 … ARG_WARNING, "-warning" -> Errors.setErrorLevel(getValue(args, ++index), Severity.WARNING, true) in <lambda>()
954 … ARG_LINT, "-lint" -> Errors.setErrorLevel(getValue(args, ++index), Severity.LINT, true) in <lambda>()
955 … ARG_HIDE, "-hide" -> Errors.setErrorLevel(getValue(args, ++index), Severity.HIDDEN, true) in <lambda>()
DDriver.kt38 import com.android.tools.metalava.doclava1.Errors in <lambda>()
1077 reporter.report(Errors.IO_ERROR, apiFile, "Cannot open file for write.") in createReportFile()
1113 Errors.IGNORING_SYMLINK, file, in skippableDirectory()
1157 Errors.IGNORING_SYMLINK, file, in addHiddenPackages()
1271 Errors.IO_ERROR, file, "$PROGRAM_NAME was unable to determine the package name. " + in findRoot()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DErrorConfiguration.kt20 import com.android.tools.metalava.doclava1.Errors
24 private val overrides = mutableMapOf<Errors.Error, Severity>()
27 fun getSeverity(error: Errors.Error): Severity { in getSeverity()
31 private fun setSeverity(error: Errors.Error, severity: Severity) { in setSeverity()
36 fun error(error: Errors.Error) { in error()
41 fun hide(error: Errors.Error) { in hide()
DCodebase.kt24 import com.android.tools.metalava.doclava1.Errors in <lambda>()
287 … reporter.report(Errors.PARSE_ERROR, manifest, "Failed to parse $manifest: ${error.message}") in getPermissionLevel()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt21 import com.android.tools.metalava.doclava1.Errors
69 reporter.report(Errors.INTERNAL_ERROR, psiElement, message) in warning()
137 reporter.report(Errors.INTERNAL_ERROR, owner, "Unexpected annotation default value $value") in appendSourceExpression()
210 Errors.HIDDEN_TYPEDEF_CONSTANT, fld, in appendExpression()
548 reporter.report(Errors.INTERNAL_ERROR, owner, "Unexpected literal value $v") in appendSourceLiteral()
DPsiBasedCodebase.kt22 import com.android.tools.metalava.doclava1.Errors in <lambda>()
156 Errors.BOTH_PACKAGE_INFO_AND_HTML, in <lambda>()
346 reporter.report(Errors.IO_ERROR, jarFile, e.message ?: e.toString()) in <lambda>()
DJavadoc.kt19 import com.android.tools.metalava.doclava1.Errors
592 reporter.report(Errors.UNRESOLVED_LINK, owner, "Unresolved documentation reference: $cleaned") in reportUnresolvedDocReference()
/tools/currysrc/scripts/
Drepackage-common.sh231 echo "Errors found during transformation, see above.\n" >&2
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DErrors.java38 public class Errors { class
351 for (Field field : Errors.class.getDeclaredFields()) {
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto84 // code generator from generating correct code. Errors which indicate a
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt34 import com.android.tools.metalava.doclava1.Errors in <lambda>()
399 Errors.resetLevels() in <lambda>()