Home
last modified time | relevance | path

Searched refs:baseline (Results 1 – 10 of 10) sorted by relevance

/tools/metalava/
DAPI-LINT.md42 baseline to see if a given issue is already listed in the baseline, and if so,
45 You can pass a flag to metalava ("--update-baseline") to tell it to update the
46 baseline files with any new errors it comes across instead of reporting
47 them. With soong, if you specify the baseline explicitly, like this:
54 ==> baseline_filename: "api/baseline.txt", <==
58 then the build system will automatically supply `--update-baseline` on your
60 will tell you where to find the updated baseline which you can then copy into
70 2. You can update the baseline by executing the following
73 …soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/api/system-baseline.txt \
74 frameworks/base/api/system-baseline.txt
[all …]
DREADME.md188 * Baselines: Metalava can report all of its issues into a "baseline" file, which
191 baseline. This lets you enforce new issues going forward without having to
193 regenerate the baseline. For issues with some false positives, such as API
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt92 val baseline = options.baseline in toString() constant
93 if (element != null && baseline != null && baseline.mark(element, message, id)) { in toString()
107 val baseline = options.baseline in toString() constant
108 if (file != null && baseline != null && baseline.mark(file, message, id)) { in toString()
138 val baseline = options.baseline in toString() constant
139 if (item != null && baseline != null && baseline.mark(item, message, id)) { in toString()
141 } else if (psi != null && baseline != null && baseline.mark(psi, message, id)) { in toString()
DOptions.kt525 var baseline: Baseline? = null in <lambda>() variable in com.android.tools.metalava.Options
1476 baseline = Baseline(defaultBaselineFile, updateBaselineFile, mergeBaseline) in <lambda>()
1478 baseline = Baseline(null, updateBaselineFile, mergeBaseline) in <lambda>()
1489 baseline = Baseline(baselineFile, updateBaselineFile, mergeBaseline, headerComment) in <lambda>()
DApiLint.kt201 val baseline = options.baseline in <lambda>() constant
202 if (baseline?.updateFile != null && baseline.file != null && !baseline.silentUpdate) { in <lambda>()
DDriver.kt170 options.baseline?.dumpStats(options.stdout)
176 options.baseline?.close()
/tools/metalava/src/test/java/com/android/tools/metalava/
DBaselineTest.kt25 fun `Check baseline`() { in <lambda>()
37 baseline = """ in <lambda>()
160 fun `Check baseline with show annotations`() { in <lambda>()
170 baseline = """ in <lambda>()
253 baseline = """ in <lambda>()
DDriverTest.kt354 baseline: String? = null, in <lambda>()
874 val baselineArgs = if (baseline != null) { in <lambda>()
876 baselineFile?.writeText(baseline.trimIndent()) in <lambda>()
1085 if (baseline != null && baselineFile != null) { in <lambda>()
1091 val sourceFile = mergeBaseline ?: baseline in <lambda>()
/tools/tradefederation/core/tests/res/testtype/
Dgtest_list2.txt27 baseline
/tools/tradefederation/core/atest/
Datest_completion.sh120 --generate-baseline|--generate-new-metrics)