Home
last modified time | relevance | path

Searched refs:Severity (Results 1 – 7 of 7) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DErrorConfiguration.kt19 import com.android.tools.metalava.Severity
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()
37 setSeverity(error, Severity.ERROR) in error()
42 setSeverity(error, Severity.HIDDEN) in hide()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DErrors.java18 import com.android.tools.metalava.Severity;
30 import static com.android.tools.metalava.Severity.ERROR;
31 import static com.android.tools.metalava.Severity.HIDDEN;
32 import static com.android.tools.metalava.Severity.INFO;
33 import static com.android.tools.metalava.Severity.INHERIT;
34 import static com.android.tools.metalava.Severity.LINT;
35 import static com.android.tools.metalava.Severity.WARNING;
46 private Severity level;
47 private final Severity defaultLevel;
71 private Error(int code, Severity level) { in Error()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt20 import com.android.tools.metalava.Severity.ERROR
21 import com.android.tools.metalava.Severity.HIDDEN
22 import com.android.tools.metalava.Severity.INFO
23 import com.android.tools.metalava.Severity.INHERIT
24 import com.android.tools.metalava.Severity.LINT
25 import com.android.tools.metalava.Severity.WARNING
44 enum class Severity(private val displayName: String) { class
274 …private fun report(severity: Severity, element: PsiElement?, message: String, id: Errors.Error? = … in toString()
283 severity: Severity, in toString()
DOptions.kt952 … 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>()
1645 Severity.WARNING, null as String?, "Ignoring javadoc-related doclava1 flag $arg", in <lambda>()
1662 reporter.report(Severity.WARNING, null as String?, message, color = color) in <lambda>()
DBaseline.kt86 … if (options.baselineErrorsOnly && configuration.getSeverity(error) != Severity.ERROR) { in <lambda>()
DCompatibilityCheck.kt836 … if (reporter.report(error, item, message) && configuration.getSeverity(error) == Severity.ERROR) { in report()
/tools/metalava/
DAPI-LINT.md114 Count Issue Id Rule Severity