/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | ApiLintTest.kt | 29 warnings = """ in Test names() 136 warnings = """ in Test names against previous API() 174 warnings = """ in Test constants() 205 warnings = """ in No enums() 227 warnings = """ in Test callbacks() 281 warnings = """ in Test listeners() 341 warnings = """ in Test actions() 369 warnings = """ in Test extras() 396 warnings = """ in Test equals and hashCode() 452 warnings = """ in Test Parcelable() [all …]
|
D | CompatibilityCheckTest.kt | 29 warnings = """ in Change between class and interface() 65 warnings = """ in Interfaces should not be dropped() 99 fun `Ensure warnings for removed APIs`() { in Ensure warnings for removed APIs() 101 warnings = """ in Ensure warnings for removed APIs() 133 warnings = """ in Flag invalid nullness changes() 180 warnings = """ in Kotlin Nullness() 229 warnings = """ in Java Parameter Name Change() 265 warnings = """ in Kotlin Parameter Name Change() 296 warnings = "", in Kotlin Coroutines() 322 warnings = """ in Add flag new methods but not overrides from platform() [all …]
|
D | StubsTest.kt | 37 warnings: String? = "", in <lambda>() 53 warnings = warnings, in <lambda>() 162 warnings = "", in <lambda>() 437 warnings = null, in <lambda>() 797 warnings = """ in <lambda>() 830 warnings = "", in <lambda>() 938 warnings = "", in <lambda>() 986 warnings = "", in <lambda>() 1036 warnings = "", in <lambda>() 1074 warnings = "", in <lambda>() [all …]
|
D | SystemServiceCheckTest.kt | 25 warnings = "", // OK in SystemService OK, loaded from signature file() 62 warnings = "", // OK in SystemService OK, loaded from source() 99 …warnings = "src/test/pkg/MyTest1.java:4: lint: Method 'myMethod2' must be protected with a system … in Check SystemService -- no permission annotation() 124 warnings = "", in Check SystemService -- can miss a permission with anyOf() 158 warnings = """ in Check SystemService such that at least one permission must be defined with anyOf() 189 …warnings = "src/test/pkg/MyTest2.java:5: lint: Permission 'foo.bar.PERMISSION2' is not defined by … in Check SystemService -- missing one permission with allOf() 223 … warnings = "src/test/pkg/MyTest2.java:6: lint: Method 'test' must be protected with a system " + in Check SystemService -- must be system permission, not normal() 264 warnings = """ in Check SystemService -- missing manifest permissions() 295 warnings = """ in Invalid manifest() 327 warnings = "", // OK (suppressed) in Warning suppressed via annotation()
|
D | AndroidApiChecksTest.kt | 25 warnings = """ in Flag TODO documentation() 68 warnings = """ in Document Permissions() 128 warnings = """ in Document Intent Actions() 179 warnings = """ in Check Warnings for missing nullness annotations() 225 warnings = """ in Check IntDef Warnings()
|
D | KotlinInteropChecksTest.kt | 26 warnings = """ in Hard Kotlin keywords() 53 warnings = """ in Sam-compatible parameters should be last() 92 warnings = """ in Companion object methods should be marked with JvmStatic() 128 warnings = """ in Methods with default parameters should specify JvmOverloads() 155 warnings = """ in Methods which throw exceptions should document them()
|
D | ExtractAnnotationsTest.kt | 80 …warnings = "src/test/pkg/IntDefTest.java:11: error: This typedef annotation class should have @Ret… in Check java typedef extraction and warning about non-source retention of typedefs() 158 …warnings = "src/test/pkg/LongDefTest.kt:12: error: Typedef class references hidden field field Lon… in Check Kotlin and referencing hidden constants from typedef() 236 …warnings = "src/test/pkg/LongDefTest.kt:12: error: Typedef class references hidden field field Lon… in Check including only class retention annotations other than typedefs() 341 warnings = "error: Unexpected reference to Nonexistent.Field [InternalError]", in Include merged annotations in exported source annotations() 444 …warnings = "src/test/pkg/IntDefTest.java:36: warning: Returning unexpected constant UNRELATED; is … in Check warning about unexpected returns from typedef method()
|
D | ApiFileTest.kt | 1578 warnings = """ in Check all modifiers() 1634 warnings = """ in Warn about findViewById() 2079 …warnings = "src/test/pkg/MyClass.java:2: warning: Public class test.pkg.MyClass stripped of unavai… in Superclass filtering, should skip intermediate hidden classes() 2123 warnings = "", in Inheriting from package private classes, package private class should be included() 2169 warnings = "", in Using compatibility flag manually() 3284 …warnings = "src/android/test/mock/MockContentProvider.java:6: warning: Public class android.test.m… in Skip incorrect inherit() 3450 warnings = """ in References Deprecated()
|
D | UnhideApisTest.kt | 37 warnings = """ in Report hidden API access rather than opening up access() 119 warnings = """ in Do not warn about package private access when generating package private stubs() 218 warnings = """ in Including private interfaces from types()
|
D | DocAnalyzerTest.kt | 137 …warnings = "src/test/pkg/Foo.java:2: warning: Replaced Andriod with Android in the documentation f… in Fix typo replacement() 214 …warnings = "src/test/pkg/PermissionTest.java:31: lint: Unrecognized permission `carier priviliges`… in Document Permissions() 427 …warnings = "src/test/pkg/RangeTest.java:5: lint: Found more than one threading annotation on metho… in Warn about multiple threading annotations() 453 …warnings = "src/android/widget/Toolbar2.java:14: error: Documentation should not specify @apiSince… in Merge Multiple sections() 711 …warnings = "src/test/pkg/RangeTest.java:4: lint: Cannot find permission field for \"MyPermission\"… in Warn about missing field()
|
D | ShowAnnotationTest.kt | 13 …warnings = "src/test/pkg/Foo.java:17: error: @SystemApi APIs must also be marked @hide: method tes… in Basic showAnnotation test() 71 …warnings = "src/test/pkg/Foo.java:17: error: @SystemApi APIs must also be marked @hide: method tes… in Basic showAnnotation with showUnannotated test() 261 warnings = "", in No UnhiddenSystemApi warning for --show-single-annotations()
|
D | BaselineTest.kt | 62 warnings = """ in <lambda>() 176 warnings = "", in <lambda>()
|
D | ArtifactTaggerTest.kt | 84 warnings = """ in Tag API()
|
D | SdkFileWriterTest.kt | 27 warnings = """ in Test generating broadcast actions()
|
D | SymlinkTest.kt | 41 …warnings = "TESTROOT/src/test/pkg/sub1/sub2/sub3: info: Ignoring symlink during package.html disco… in <lambda>()
|
D | CoreApiTest.kt | 269 warnings = """ in Complain if annotating a member and the surrounding class is not included()
|
D | AnnotationsMergerTest.kt | 255 …warnings = "src/test/pkg/Example.annotated.java:6: error: @test.annotation.Show APIs must also be … in Merge inclusion annotations from Java stub files()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | JavadocTest.kt | 29 warnings: String? = "", in checkStubs() 44 warnings = warnings, in checkStubs() 149 warnings = "", in Relative documentation links in stubs() 250 warnings = "", in Rewrite relative documentation links in doc-stubs() 344 warnings = "", in Rewrite relative documentation links in doc-stubs 2() 417 warnings = "", in Rewrite relative documentation links in doc-stubs 3() 516 warnings = "", in Rewrite relative documentation links in doc-stubs 4() 592 warnings = "", in Rewrite relative documentation links in doc-stubs 5() 617 warnings = "", in Check references to inherited field constants() 715 warnings = "", in Handle @attr references() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | NullabilityAnnotationsValidator.kt | 75 private val warnings: MutableList<Warning> = mutableListOf() in <lambda>() constant in com.android.tools.metalava.NullabilityAnnotationsValidator 169 warnings.add(Warning(method, label, WarningType.MISSING)) in <lambda>() 175 nullability == null -> warnings.add(Warning(method, label, WarningType.MISSING)) in <lambda>() 188 warnings.sortBy { it.toString() } in <lambda>() 203 fatalIssues.addAll(warnings) in <lambda>() 205 nonFatalIssues.addAll(warnings) in <lambda>()
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_import_unit_test.py | 23 import warnings 25 with warnings.catch_warnings(): 26 warnings.filterwarnings('ignore', category=PendingDeprecationWarning)
|
/tools/tradefederation/core/ |
D | Android.bp | 120 // Turn off various doclava warnings when generating 121 // the docs. These are the same warnings that are
|
/tools/metalava/ |
D | API-LINT.md | 41 current warnings and errors in the codebase. When metalava runs, it looks up the 66 Your API changes are triggering API Lint warnings or errors.
|
/tools/tradefederation/core/tests/res/testtype/ |
D | gtest_output4.txt | 185 (expecting 2 warnings) 192 (expecting 2 warnings) 206 (expecting 2 warnings) 209 (expecting 2 warnings)
|
/tools/repohooks/tools/ |
D | pylintrc | 61 # Only show warnings with the listed confidence levels. Leave empty to show 79 # We leave many of the style warnings to judgement/peer review. 117 # respectively contain the number of errors / warnings messages and the total
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_verify.txt | 23 -Werr Treat warnings as errors
|