Home
last modified time | relevance | path

Searched refs:issue (Results 1 – 22 of 22) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DBaseline.kt71 fun mark(element: Item, message: String, issue: Issues.Issue): Boolean { in <lambda>()
73 return mark(elementId, message, issue) in <lambda>()
77 fun mark(element: PsiElement, message: String, issue: Issues.Issue): Boolean { in <lambda>()
79 return mark(elementId, message, issue) in <lambda>()
83 fun mark(file: File, message: String, issue: Issues.Issue): Boolean { in <lambda>()
85 return mark(elementId, message, issue) in <lambda>()
88 …private fun mark(elementId: String, @Suppress("UNUSED_PARAMETER") message: String, issue: Issues.I… in <lambda>()
89 val idMap: MutableMap<String, String>? = map[issue] ?: run { in <lambda>()
91 … if (options.baselineErrorsOnly && configuration.getSeverity(issue) != Severity.ERROR) { in <lambda>()
95 map[issue] = new in <lambda>()
[all …]
DCompatibilityCheck.kt692 private fun handleAdded(issue: Issue, item: Item) { in handleAdded()
723 report(issue, equivalent, message) in handleAdded()
727 report(issue, item, message) in handleAdded()
730 private fun handleRemoved(issue: Issue, item: Item) { in handleRemoved()
738 … report(issue, item, "Removed ${if (item.deprecated) "deprecated " else ""}${describe(item)}") in handleRemoved()
883 issue: Issue, in report()
887 … if (reporter.report(issue, item, message) && configuration.getSeverity(issue) == Severity.ERROR) { in report()
DIssues.kt308 val issue = property.getter.call(Issues) as Issue constant
310 issue.name = SdkVersionInfo.underlinesToCamelCase(property.name.toLowerCase(Locale.US))
311 nameToIssue[issue.name] = issue
313 for (issue in allIssues) { constant
314 check(issue.name != "")
DOptions.kt2608 val issue = Issues.findIssueById(id) in <lambda>() constant
2617 defaultConfiguration.setSeverity(issue, severity) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DIssueConfiguration.kt28 fun getSeverity(issue: Issues.Issue): Severity { in getSeverity()
29 overrides[issue]?.let { return it } in getSeverity()
30 if (issue.defaultLevel == Severity.INHERIT) { in getSeverity()
31 return getSeverity(issue.parent!!) in getSeverity()
33 return issue.defaultLevel in getSeverity()
36 fun setSeverity(issue: Issues.Issue, severity: Severity) { in setSeverity()
38 overrides[issue] = severity in setSeverity()
42 fun error(issue: Issues.Issue) { in error()
43 setSeverity(issue, Severity.ERROR) in error()
47 fun hide(issue: Issues.Issue) { in hide()
[all …]
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java672 for (IssueWithParams issue : signer.getErrors()) { in testV1SchemeSignatureCertNotReencoded()
673 if (issue.getIssue() == Issue.JAR_SIG_PARSE_EXCEPTION) { in testV1SchemeSignatureCertNotReencoded()
676 Throwable exception = (Throwable) issue.getParams()[1]; in testV1SchemeSignatureCertNotReencoded()
1408 for (IssueWithParams issue : result.getErrors()) { in assertVerified()
1412 msg.append(issue); in assertVerified()
1416 for (IssueWithParams issue : signer.getErrors()) { in assertVerified()
1423 .append(issue.getIssue()) in assertVerified()
1425 .append(issue); in assertVerified()
1430 for (IssueWithParams issue : signer.getErrors()) { in assertVerified()
1437 .append(issue.getIssue()) in assertVerified()
[all …]
DSourceStampVerifierTest.java334 for (ApkVerificationIssue issue : issues) { in assertSourceStampVerificationIssue()
335 if (issue.getIssueId() == expectedIssueId) { in assertSourceStampVerificationIssue()
341 msg.append(issue.toString()); in assertSourceStampVerificationIssue()
/tools/metalava/src/test/java/com/android/tools/metalava/
DOptionsTest.kt508 fun `Test issue severity options`() { in Test issue severity options()
528 fun `Test multiple issue severity options`() { in Test multiple issue severity options()
538 fun `Test issue severity options with inheriting issues`() { in Test issue severity options with inheriting issues()
547 fun `Test issue severity options with case insensitive names`() { in Test issue severity options with case insensitive names()
556 fun `Test issue severity options with non-existing issue`() { in Test issue severity options with non-existing issue()
DNullnessMigrationTest.kt584 fun `Regression test for issue 111054266, type use annotations`() { in Regression test for issue 111054266, type use annotations()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java819 Result.SourceStampInfo.SourceStampVerificationStatus verificationStatus, Issue issue, in createSourceStampResultWithError() argument
822 result.addError(issue, params); in createSourceStampResultWithError()
2871 public IssueWithParams(Issue issue, Object[] params) { in IssueWithParams() argument
2872 super(issue.mFormat, params); in IssueWithParams()
2873 mIssue = issue; in IssueWithParams()
3129 for (ApkVerificationIssue issue : verificationIssues) { in getIssuesFromVerificationIssues()
3130 if (issue instanceof IssueWithParams) { in getIssuesFromVerificationIssues()
3131 result.add((IssueWithParams) issue); in getIssuesFromVerificationIssues()
3134 new IssueWithParams(sVerificationIssueIdToIssue.get(issue.getIssueId()), in getIssuesFromVerificationIssues()
3135 issue.getParams())); in getIssuesFromVerificationIssues()
/tools/metalava/
DAPI-LINT.md13 and again, there are two ways to mark an issue such that it is no longer
22 Next to an error message, metalava will include the issue id. For example,
42 baseline to see if a given issue is already listed in the baseline, and if so,
/tools/asuite/atest/tf_proto/
Dtest_record.proto124 // depends on. For example: Unfound resources, Device error, Hardware issue
137 // A free-formed text that can help debugging the issue at hand.
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebaseTest.kt25 fun `Regression test for issue 112931426`() { in Regression test for issue 112931426()
/tools/ndkports/
D.gitignore13 # # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/pts/
DGATT_PTS_INSTRUCTIONS19 Note: While using ACTS cmd line tools, if there is ever an issue with connecting to PTS make sure t…
/tools/security/sanitizer-status/
DNOTICE70 and issue tracking systems that are managed by, or on behalf of, the
/tools/trebuchet/
DLICENSE58 and issue tracking systems that are managed by, or on behalf of, the
/tools/test/openhst/
DLICENSE58 and issue tracking systems that are managed by, or on behalf of, the
/tools/treble/
DLICENSE58 and issue tracking systems that are managed by, or on behalf of, the
/tools/apksig/
DLICENSE70 and issue tracking systems that are managed by, or on behalf of, the
/tools/acloud/
DLICENSE58 and issue tracking systems that are managed by, or on behalf of, the
/tools/repohooks/tools/
Dspelling.txt671 isssue||issue