Home
last modified time | relevance | path

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

12

/tools/metalava/metalava-reporter/src/main/java/com/android/tools/metalava/reporter/
DIssueConfiguration.kt24 fun getSeverity(issue: Issues.Issue): Severity { in getSeverity()
25 overrides[issue]?.let { in getSeverity()
28 if (issue.defaultLevel == Severity.INHERIT) { in getSeverity()
29 return getSeverity(issue.parent!!) in getSeverity()
31 return issue.defaultLevel in getSeverity()
34 fun setSeverity(issue: Issues.Issue, severity: Severity) { in setSeverity()
36 overrides[issue] = severity in setSeverity()
40 fun error(issue: Issues.Issue) { in error()
41 setSeverity(issue, Severity.ERROR) in error()
45 fun hide(issue: Issues.Issue) { in hide()
[all …]
DBaseline.kt87 fun mark(key: BaselineKey, message: String, issue: Issues.Issue): Boolean { in <lambda>()
89 return mark(elementId, message, issue) in <lambda>()
100 private fun mark(elementId: String, message: String, issue: Issues.Issue): Boolean { in <lambda>()
102 map[issue] in <lambda>()
106 map[issue] = new in <lambda>()
177 val issue = Issues.findIssueById(issueId) in <lambda>() constant
178 if (issue == null) { in <lambda>()
182 map[issue] in <lambda>()
185 map[issue] = new in <lambda>()
204 .forEach { issue -> in <lambda>() method
[all …]
DIssues.kt321 for (issue in allIssues) { constant
322 check(issue.name != "")
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/help/
DIssueCommand.kt25 class IssueCommand(val issue: Issue) : constant in com.android.tools.metalava.cli.help.IssueCommand
27 name = issue.name,
30 issue.category.name.lowercase(Locale.US),
31 issue.defaultLevel.name.lowercase(Locale.US),
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/common/
DIssueReportingOptionsTest.kt127 fun `Test issue severity options`() { in createOptions()
145 fun `Test multiple issue severity options`() { in Test multiple issue severity options()
156 fun `Test issue severity options with inheriting issues`() { in Test issue severity options with inheriting issues()
168 fun `Test issue severity options with case insensitive names`() { in Test issue severity options with case insensitive names()
180 fun `Test issue severity options with non-existing issue`() { in Test issue severity options with non-existing issue()
214 fun `Test issue severity options can affect issues related to processing the options`() { in Test issue severity options can affect issues related to processing the options()
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java930 for (IssueWithParams issue : signer.getErrors()) { in testV1SchemeSignatureCertNotReencoded()
931 if (issue.getIssue() == Issue.JAR_SIG_PARSE_EXCEPTION) { in testV1SchemeSignatureCertNotReencoded()
934 Throwable exception = (Throwable) issue.getParams()[1]; in testV1SchemeSignatureCertNotReencoded()
2057 for (IssueWithParams issue : result.getErrors()) {
2061 msg.append(issue);
2065 for (IssueWithParams issue : signer.getErrors()) {
2072 .append(issue.getIssue())
2074 .append(issue);
2079 for (IssueWithParams issue : signer.getErrors()) {
2086 .append(issue.getIssue())
[all …]
DSourceStampVerifierTest.java620 for (ApkVerificationIssue issue : issues) { in assertSourceStampVerificationIssue()
621 if (issue.getIssueId() == expectedIssueId) { in assertSourceStampVerificationIssue()
627 msg.append(issue.toString()); in assertSourceStampVerificationIssue()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/lint/
DDeprecatedLintTest.kt73 fun `Test issue on deprecated field is ignored`() { in Test issue on deprecated field is ignored()
97 fun `Test issue on deprecated method is ignored`() { in Test issue on deprecated method is ignored()
120 fun `Test issue on deprecated method parameter is ignored`() { in Test issue on deprecated method parameter is ignored()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/help/
DIssuesCommandTest.kt233 fun `Test issue help`() { in Test issue help()
242 fun `Test unknown issue`() { in Test unknown issue()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt784 private fun handleAdded(issue: Issue, item: Item) { in handleAdded()
810 report(issue, item, message) in handleAdded()
813 private fun handleRemoved(issue: Issue, item: Item) { in handleRemoved()
822 issue, in handleRemoved()
967 issue: Issue, in report()
978 if (reporter.report(issue, item, message, maximumSeverity = maximumSeverity)) { in report()
981 val severity = minOf(maximumSeverity, issueConfiguration.getSeverity(issue)) in report()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DNestedClassTest.kt27 fun `Regression test for issue 112931426`() { in Regression test for issue 112931426()
DMainCommandTest.kt333 fun `Test deprecated lowercase matching in issue configuration options`() { in Test deprecated lowercase matching in issue configuration options()
DNullnessMigrationTest.kt606 fun `Regression test for issue 111054266, type use annotations`() { in Regression test for issue 111054266, type use annotations()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DIssueReportingOptions.kt192 val issue = in setAspectSeverityForId() constant
204 configuration.setSeverity(issue, severity) in setAspectSeverityForId()
/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/apksig/src/main/java/com/android/apksig/
DApkVerifier.java913 Result.SourceStampInfo.SourceStampVerificationStatus verificationStatus, Issue issue, in createSourceStampResultWithError() argument
916 result.addError(issue, params); in createSourceStampResultWithError()
3396 public IssueWithParams(Issue issue, Object[] params) { in IssueWithParams() argument
3397 super(issue.mFormat, params); in IssueWithParams()
3398 mIssue = issue; in IssueWithParams()
3659 for (ApkVerificationIssue issue : verificationIssues) { in getIssuesFromVerificationIssues()
3660 if (issue instanceof IssueWithParams) { in getIssuesFromVerificationIssues()
3661 result.add((IssueWithParams) issue); in getIssuesFromVerificationIssues()
3664 new IssueWithParams(sVerificationIssueIdToIssue.get(issue.getIssueId()), in getIssuesFromVerificationIssues()
3665 issue.getParams())); in getIssuesFromVerificationIssues()
/tools/tradefederation/core/proto/
Dtest_record.proto136 // depends on. For example: Unfound resources, Device error, Hardware issue
149 // A free-formed text that can help debugging the issue at hand.
/tools/ndkports/
D.gitignore19 # # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
/tools/netsim/testing/netsim-grpc/
Dsetup.cfg49 # Comment those flags to avoid this pytest issue.
/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/netsim/guide/src/development/
DREADME.md118 If the build fails with rust errors it may be necessary to issue this command:
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/
DCompatibilityCheckTest.kt3978 fun `configuring issue severity`() { in configuring issue severity()
/tools/security/sanitizer-status/
DNOTICE70 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

12