Searched refs:Severity (Results 1 – 4 of 4) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | IssueConfiguration.kt | 19 import com.android.tools.metalava.Severity 24 private val overrides = mutableMapOf<Issues.Issue, Severity>() 27 fun getSeverity(issue: Issues.Issue): Severity { in getSeverity() 29 if (issue.defaultLevel == Severity.INHERIT) { in getSeverity() 35 fun setSeverity(issue: Issues.Issue, severity: Severity) { in setSeverity() 36 check(severity != Severity.INHERIT) in setSeverity() 42 setSeverity(issue, Severity.ERROR) in error() 47 setSeverity(issue, Severity.HIDDEN) in hide()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | OptionsTest.kt | 500 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_LOWER)) in Test issue severity options() 501 assertEquals(Severity.LINT, defaultConfiguration.getSeverity(Issues.ENDS_WITH_IMPL)) in Test issue severity options() 502 assertEquals(Severity.WARNING, defaultConfiguration.getSeverity(Issues.START_WITH_UPPER)) in Test issue severity options() 503 assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test issue severity options() 511 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_LOWER)) in Test multiple issue severity options() 512 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.START_WITH_UPPER)) in Test multiple issue severity options() 513 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test multiple issue severity options() 521 assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.REMOVED_CLASS)) in Test issue severity options with inheriting issues() 522 … assertEquals(Severity.ERROR, defaultConfiguration.getSeverity(Issues.REMOVED_DEPRECATED_CLASS)) in Test issue severity options with inheriting issues() 531 assertEquals(Severity.HIDDEN, defaultConfiguration.getSeverity(Issues.ARRAY_RETURN)) in Test issue severity options by numeric id() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Reporter.kt | 20 import com.android.tools.metalava.Severity.ERROR in <lambda>() 21 import com.android.tools.metalava.Severity.HIDDEN in <lambda>() 22 import com.android.tools.metalava.Severity.INFO in <lambda>() 23 import com.android.tools.metalava.Severity.INHERIT in <lambda>() 24 import com.android.tools.metalava.Severity.LINT in <lambda>() 25 import com.android.tools.metalava.Severity.WARNING in <lambda>() 48 enum class Severity(private val displayName: String) { in <lambda>() class 140 … which: (severity: Severity, location: String?, message: String, id: Issues.Issue) -> Boolean in report() 290 … private fun doReport(severity: Severity, location: String?, message: String, id: Issues.Issue?) = in doReport() 294 severity: Severity, in doReport() [all …]
|
/tools/metalava/ |
D | API-LINT.md | 116 Count Issue Id Rule Severity
|