/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | CompatibilityCheck.kt | 22 import com.android.tools.metalava.doclava1.Issues 23 import com.android.tools.metalava.doclava1.Issues.Issue 90 Issues.OPERATOR_REMOVAL, in compare() 98 Issues.INFIX_REMOVAL, in compare() 122 Issues.INVALID_NULL_CONVERSION, new, in compare() 135 Issues.INVALID_NULL_CONVERSION, in compare() 142 Issues.INVALID_NULL_CONVERSION, in compare() 158 Issues.PARAMETER_NAME_CHANGE, in compare() 164 Issues.PARAMETER_NAME_CHANGE, in compare() 172 Issues.DEFAULT_VALUE_CHANGE, in compare() [all …]
|
D | ApiLint.kt | 49 import com.android.tools.metalava.doclava1.Issues.ABSTRACT_INNER in <lambda>() 50 import com.android.tools.metalava.doclava1.Issues.ACRONYM_NAME in <lambda>() 51 import com.android.tools.metalava.doclava1.Issues.ACTION_VALUE in <lambda>() 52 import com.android.tools.metalava.doclava1.Issues.ALL_UPPER in <lambda>() 53 import com.android.tools.metalava.doclava1.Issues.ANDROID_URI in <lambda>() 54 import com.android.tools.metalava.doclava1.Issues.ARRAY_RETURN in <lambda>() 55 import com.android.tools.metalava.doclava1.Issues.AUTO_BOXING in <lambda>() 56 import com.android.tools.metalava.doclava1.Issues.BAD_FUTURE in <lambda>() 57 import com.android.tools.metalava.doclava1.Issues.BANNED_THROW in <lambda>() 58 import com.android.tools.metalava.doclava1.Issues.BUILDER_SET_STYLE in <lambda>() [all …]
|
D | ReleaseType.kt | 19 import com.android.tools.metalava.doclava1.Issues 35 error(Issues.ADDED_CLASS) in getIssueConfiguration() 36 error(Issues.ADDED_FIELD) in getIssueConfiguration() 37 error(Issues.ADDED_FINAL_UNINSTANTIABLE) in getIssueConfiguration() 38 error(Issues.ADDED_INTERFACE) in getIssueConfiguration() 39 error(Issues.ADDED_METHOD) in getIssueConfiguration() 40 error(Issues.ADDED_PACKAGE) in getIssueConfiguration() 41 error(Issues.CHANGED_ABSTRACT) in getIssueConfiguration() 42 error(Issues.CHANGED_CLASS) in getIssueConfiguration() 43 error(Issues.CHANGED_DEPRECATED) in getIssueConfiguration() [all …]
|
D | ApiAnalyzer.kt | 20 import com.android.tools.metalava.doclava1.Issues in <lambda>() 678 Issues.SHOWING_MEMBER_IN_HIDDEN_CLASS, item, in <lambda>() 724 Issues.REQUIRES_PERMISSION, method, in <lambda>() 739 Issues.REQUIRES_PERMISSION, method, in <lambda>() 749 Issues.REQUIRES_PERMISSION, method, "Method '" + method.name() + in <lambda>() 759 Issues.REQUIRES_PERMISSION, method, "Method '" + method.name() + in <lambda>() 771 val checkSystemApi = !reporter.isSuppressed(Issues.REQUIRES_PERMISSION) && in <lambda>() 773 val checkHiddenShowAnnotations = !reporter.isSuppressed(Issues.UNHIDDEN_SYSTEM_API) && in <lambda>() 789 Issues.DEPRECATION_MISMATCH, item, in <lambda>() 804 Issues.UNHIDDEN_SYSTEM_API, item, in <lambda>() [all …]
|
D | KotlinInteropChecks.kt | 19 import com.android.tools.metalava.doclava1.Issues in <lambda>() 114 Issues.DOCUMENT_EXCEPTIONS, method, in <lambda>() 120 Issues.DOCUMENT_EXCEPTIONS, method, in <lambda>() 144 Issues.MISSING_JVMSTATIC, field, in <lambda>() 149 Issues.MISSING_JVMSTATIC, field, in <lambda>() 172 Issues.MISSING_JVMSTATIC, ktProperty, in <lambda>() 177 Issues.MISSING_JVMSTATIC, ktProperty, in <lambda>() 202 reporter.report(Issues.SAM_SHOULD_BE_LAST, method, message) in <lambda>() 249 Issues.MISSING_JVMSTATIC, method, in <lambda>() 297 Issues.MISSING_JVMSTATIC, method, in <lambda>() [all …]
|
D | DocAnalyzer.kt | 10 import com.android.tools.metalava.doclava1.Issues in <lambda>() 142 Issues.MULTIPLE_THREAD_ANNOTATIONS, in <lambda>() 331 Issues.MISSING_PERMISSION, item, in <lambda>() 336 Issues.MISSING_PERMISSION, item, in <lambda>() 346 Issues.MISSING_PERMISSION, item, in <lambda>() 429 Issues.HIDDEN_TYPEDEF_CONSTANT, item, in <lambda>() 453 Issues.MISSING_PERMISSION, item, in <lambda>() 462 Issues.MISSING_PERMISSION, item, in <lambda>() 512 Issues.MISSING_COLUMN, item, in <lambda>() 521 Issues.MISSING_COLUMN, item, in <lambda>() [all …]
|
D | Reporter.kt | 25 import com.android.tools.metalava.doclava1.Issues in <lambda>() 104 fun report(id: Issues.Issue, element: PsiElement?, message: String): Boolean { in hasErrors() 119 fun report(id: Issues.Issue, file: File?, message: String): Boolean { in report() 134 fun report(id: Issues.Issue, item: Item?, message: String, psi: PsiElement? = null): Boolean { in report() 141 … which: (severity: Severity, location: String?, message: String, id: Issues.Issue) -> Boolean in report() 179 fun isSuppressed(id: Issues.Issue, item: Item? = null, message: String? = null): Boolean { in isSuppressed() 294 … private fun doReport(severity: Severity, location: String?, message: String, id: Issues.Issue?) = in doReport() 301 id: Issues.Issue? = null, in doReport() 332 id: Issues.Issue?, in format() 410 id: Issues.Issue in reportEvenIfSuppressed()
|
D | AndroidApiChecks.kt | 20 import com.android.tools.metalava.doclava1.Issues 171 reporter.report(Issues.TODO, item, "Documentation mentions 'TODO'") in checkTodos() 199 Issues.REQUIRES_PERMISSION, method, "Method '" + method.name() + in checkRequiresPermission() 207 Issues.REQUIRES_PERMISSION, method, "Method '" + method.name() + in checkRequiresPermission() 229 Issues.BROADCAST_BEHAVIOR, field, in checkIntentAction() 235 Issues.SDK_CONSTANT, field, "Field '" + field.name() + in checkIntentAction() 244 Issues.SDK_CONSTANT, field, "Field '" + field.name() + in checkIntentAction() 275 Issues.INT_DEF, item, in checkVariable() 286 Issues.NULLABLE, item, in checkVariable()
|
D | Baseline.kt | 19 import com.android.tools.metalava.doclava1.Issues in <lambda>() 61 private val map = HashMap<Issues.Issue, MutableMap<String, String>>() in <lambda>() 71 fun mark(element: Item, message: String, issue: Issues.Issue): Boolean { in <lambda>() 77 fun mark(element: PsiElement, message: String, issue: Issues.Issue): Boolean { in <lambda>() 83 fun mark(file: File, message: String, issue: Issues.Issue): Boolean { in <lambda>() 88 …k(elementId: String, @Suppress("UNUSED_PARAMETER") message: String, issue: Issues.Issue): Boolean { in <lambda>() 222 val issue = Issues.findIssueById(issueId) in <lambda>() 268 val counts = mutableMapOf<Issues.Issue, Int>() in <lambda>()
|
D | ExtractAnnotations.kt | 22 import com.android.tools.metalava.doclava1.Issues in <lambda>() 226 Issues.ANNOTATION_EXTRACTION, typeDefClass, in <lambda>() 233 Issues.ANNOTATION_EXTRACTION, typeDefClass, in <lambda>() 260 !reporter.isSuppressed(Issues.RETURNING_UNEXPECTED_CONSTANT) in <lambda>() 306 Issues.RETURNING_UNEXPECTED_CONSTANT, value as PsiElement, in <lambda>() 354 Issues.ANNOTATION_EXTRACTION, annotation.sourcePsi, in <lambda>() 572 Issues.SUPERFLUOUS_PREFIX, item, in <lambda>()
|
D | Options.kt | 24 import com.android.tools.metalava.doclava1.Issues in <lambda>() 1016 Issues.DEPRECATED_OPTION, null as File?, in <lambda>() 1040 Issues.DEPRECATED_OPTION, null as File?, in <lambda>() 2561 val issue = Issues.findIssueById(id) in <lambda>() 2562 ?: Issues.findIssueById(numericId)?.also { in <lambda>() 2564 Issues.DEPRECATED_OPTION, null as File?, in <lambda>() 2568 } ?: Issues.findIssueByIdIgnoringCase(id)?.also { in <lambda>() 2570 Issues.DEPRECATED_OPTION, null as File?, in <lambda>()
|
D | ArtifactTagger.kt | 21 import com.android.tools.metalava.doclava1.Issues 69 Issues.BROKEN_ARTIFACT_FILE, xmlFile, in any() 83 Issues.NO_ARTIFACT_DATA, cls, in any() 110 Issues.BROKEN_ARTIFACT_FILE, cls, in applyArtifactsFromSpec()
|
D | Driver.kt | 38 import com.android.tools.metalava.doclava1.Issues in <lambda>() 1084 reporter.report(Issues.IO_ERROR, apiFile, "Cannot open file for write.") in createReportFile() 1100 Issues.IGNORING_SYMLINK, file, in skippableDirectory() 1144 Issues.IGNORING_SYMLINK, file, in addHiddenPackages() 1259 Issues.IO_ERROR, file, "$PROGRAM_NAME was unable to determine the package name. " + in findRoot()
|
D | NullabilityAnnotationsValidator.kt | 19 import com.android.tools.metalava.doclava1.Issues in <lambda>() 210 …fatalIssues.forEach { reporter.report(Issues.INVALID_NULLABILITY_ANNOTATION, it.method, it.toStrin… in <lambda>() 220 …reporter.report(Issues.INVALID_NULLABILITY_ANNOTATION_WARNING, it.method, "Nullability issue: $it") in <lambda>()
|
D | AnnotationsDiffer.kt | 20 import com.android.tools.metalava.doclava1.Issues in <lambda>() 141 reporter.report(Issues.IO_ERROR, apiFile, "Cannot open file for write.") in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | OptionsTest.kt | 19 import com.android.tools.metalava.doclava1.Issues 508 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_LOWER)) in Test issue severity options() 509 assertEquals(Severity.LINT, defaultConfiguration.getSeverity(Issues.ENDS_WITH_IMPL)) in Test issue severity options() 510 assertEquals(Severity.WARNING, defaultConfiguration.getSeverity(Issues.START_WITH_UPPER)) in Test issue severity options() 511 assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test issue severity options() 519 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_LOWER)) in Test multiple issue severity options() 520 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_UPPER)) in Test multiple issue severity options() 521 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test multiple issue severity options() 529 assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.REMOVED_CLASS)) in Test issue severity options with inheriting issues() 530 … assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.REMOVED_DEPRECATED_CLASS)) in Test issue severity options with inheriting issues() [all …]
|
D | ShowForStubPurposesAnnotationTest.kt | 20 import com.android.tools.metalava.doclava1.Issues 30 Issues.UNAVAILABLE_SYMBOL.name, 32 Issues.HIDDEN_TYPE_PARAMETER.name, 34 Issues.REFERENCES_HIDDEN.name
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | IssueConfiguration.kt | 21 import com.android.tools.metalava.doclava1.Issues 25 private val overrides = mutableMapOf<Issues.Issue, Severity>() 28 fun getSeverity(issue: Issues.Issue): Severity { in getSeverity() 36 fun setSeverity(issue: Issues.Issue, severity: Severity) { in setSeverity() 42 fun error(issue: Issues.Issue) { in error() 47 fun hide(issue: Issues.Issue) { in hide()
|
D | Codebase.kt | 26 import com.android.tools.metalava.doclava1.Issues in <lambda>() 295 … reporter.report(Issues.PARSE_ERROR, manifest, "Failed to parse $manifest: ${error.message}") in getPermissionLevel() 319 … reporter.report(Issues.PARSE_ERROR, manifest, "Failed to parse $manifest: ${error.message}") in getMinSdkVersion()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | CodePrinter.kt | 21 import com.android.tools.metalava.doclava1.Issues 69 reporter.report(Issues.INTERNAL_ERROR, psiElement, message) in warning() 137 reporter.report(Issues.INTERNAL_ERROR, owner, "Unexpected annotation default value $value") in appendSourceExpression() 209 Issues.HIDDEN_TYPEDEF_CONSTANT, fld, in appendExpression() 547 reporter.report(Issues.INTERNAL_ERROR, owner, "Unexpected literal value $v") in appendSourceLiteral()
|
D | PsiBasedCodebase.kt | 22 import com.android.tools.metalava.doclava1.Issues in <lambda>() 143 Issues.UNRESOLVED_IMPORT, in <lambda>() 172 Issues.BOTH_PACKAGE_INFO_AND_HTML, in <lambda>() 187 Issues.INVALID_SYNTAX, in <lambda>() 373 reporter.report(Issues.IO_ERROR, jarFile, e.message ?: e.toString()) in <lambda>()
|
D | Javadoc.kt | 19 import com.android.tools.metalava.doclava1.Issues 586 reporter.report(Issues.UNRESOLVED_LINK, owner, "Unresolved documentation reference: $cleaned") in reportUnresolvedDocReference()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | StubWriter.kt | 21 import com.android.tools.metalava.doclava1.Issues in <lambda>() 105 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>() 124 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>() 186 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | Issues.kt | 26 object Issues { object 304 for (property in Issues::class.declaredMemberProperties) { 306 val issue = property.getter.call(Issues) as Issue
|
/tools/apkzlib/src/test/resources/testData/packaging/text-files/ |
D | rfc2460.txt | 47 5. Packet Size Issues...........................................24 50 8. Upper-Layer Protocol Issues..................................27 1314 5. Packet Size Issues 1463 8. Upper-Layer Protocol Issues
|