Searched refs:baseline (Results 1 – 9 of 9) sorted by relevance
/tools/metalava/ |
D | API-LINT.md | 42 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: 55 ==> baseline_filename: "api/baseline.txt", <== 60 then the build system will automatically supply `--update-baseline` on your 62 will tell you where to find the updated baseline which you can then copy into 72 2. You can update the baseline by executing the following 75 …soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/api/system-baseline.txt \ 76 frameworks/base/api/system-baseline.txt [all …]
|
D | README.md | 191 * Baselines: Metalava can report all of its issues into a "baseline" file, which 194 baseline. This lets you enforce new issues going forward without having to 196 regenerate the baseline. For issues with some false positives, such as API
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | CompatibilityCheckBaselineTest.kt | 73 fun `Test released-API check, with global baseline`() { in Test released-API check, with global baseline() 79 baseline = """ in Test released-API check, with global baseline() 100 fun `Test current-API check, with global baseline`() { in Test current-API check, with global baseline() 106 baseline = """ in Test current-API check, with global baseline() 127 fun `Test released-API check, with compatibility-released baseline`() { in Test released-API check, with compatibility-released baseline() 154 fun `Test released-API check, with compatibility-released baseline, and update baseline`() { in Test released-API check, with compatibility-released baseline, and update baseline() 183 fun `Test current-API check, but with compatibility-released baseline`() { in Test current-API check, but with compatibility-released baseline()
|
D | ApiLintBaselineTest.kt | 26 fun `Test with global baseline`() { in Test with global baseline() 30 baseline = """ in Test with global baseline() 50 fun `Test with api-lint specific baseline`() { in Test with api-lint specific baseline() 74 fun `Test with api-lint specific baseline with update`() { in Test with api-lint specific baseline with update() 100 fun `Test with non-api-lint specific baseline`() { in Test with non-api-lint specific baseline()
|
D | BaselineTest.kt | 25 fun `Check baseline`() { in <lambda>() 37 baseline = """ in <lambda>() 158 fun `Check baseline with show annotations`() { in <lambda>() 168 baseline = """ in <lambda>() 253 baseline = """ in <lambda>()
|
D | DriverTest.kt | 407 baseline: String? = null, in <lambda>() 1005 baseline, updateBaseline, mergeBaseline != null in <lambda>() 1260 checkBaseline(ARG_BASELINE, baseline, updateBaseline, mergeBaseline, baselineFile) in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Reporter.kt | 102 private fun getBaseline(): Baseline? = customBaseline ?: options.baseline in hasErrors() 111 val baseline = getBaseline() in hasErrors() constant 112 if (element != null && baseline != null && baseline.mark(element, message, id)) { in hasErrors() 126 val baseline = getBaseline() in report() constant 127 if (file != null && baseline != null && baseline.mark(file, message, id)) { in report() 169 val baseline = getBaseline() in report() constant 170 if (item != null && baseline != null && baseline.mark(item, message, id)) { in report() 172 } else if (psi != null && baseline != null && baseline.mark(psi, message, id)) { in report()
|
D | Options.kt | 578 var baseline: Baseline? = null in <lambda>() variable in com.android.tools.metalava.Options 1768 baseline = baselineBuilder.build() in <lambda>() 1773 baselineApiLint ?: baseline, in <lambda>() 1777 baselineCompatibilityReleased ?: baseline, in <lambda>() 1783 baseline, in <lambda>() 1790 allBaselines = listOfNotNull(baseline, baselineApiLint, baselineCompatibilityReleased) in <lambda>()
|
D | Driver.kt | 151 options.allBaselines.forEach { baseline -> in run() method 153 baseline.dumpStats(options.stdout) in run() 155 if (baseline.close()) { in run()
|