Home
last modified time | relevance | path

Searched refs:warnings (Results 1 – 25 of 30) sorted by relevance

12

/tools/metalava/src/test/java/com/android/tools/metalava/
DApiLintTest.kt29 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 …]
DCompatibilityCheckTest.kt29 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 …]
DStubsTest.kt37 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 …]
DSystemServiceCheckTest.kt25 warnings = "", // OK in SystemService OK, loaded from signature file()
62 warnings = "", // OK in SystemService OK, loaded from source()
99warnings = "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()
189warnings = "src/test/pkg/MyTest2.java:5: lint: Permission 'foo.bar.PERMISSION2' is not defined by … in Check SystemService -- missing one permission with allOf()
223warnings = "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()
DAndroidApiChecksTest.kt25 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()
DKotlinInteropChecksTest.kt26 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()
DExtractAnnotationsTest.kt80warnings = "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()
158warnings = "src/test/pkg/LongDefTest.kt:12: error: Typedef class references hidden field field Lon… in Check Kotlin and referencing hidden constants from typedef()
236warnings = "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()
444warnings = "src/test/pkg/IntDefTest.java:36: warning: Returning unexpected constant UNRELATED; is … in Check warning about unexpected returns from typedef method()
DApiFileTest.kt1578 warnings = """ in Check all modifiers()
1634 warnings = """ in Warn about findViewById()
2079warnings = "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()
3284warnings = "src/android/test/mock/MockContentProvider.java:6: warning: Public class android.test.m… in Skip incorrect inherit()
3450 warnings = """ in References Deprecated()
DUnhideApisTest.kt37 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()
DDocAnalyzerTest.kt137warnings = "src/test/pkg/Foo.java:2: warning: Replaced Andriod with Android in the documentation f… in Fix typo replacement()
214warnings = "src/test/pkg/PermissionTest.java:31: lint: Unrecognized permission `carier priviliges`… in Document Permissions()
427warnings = "src/test/pkg/RangeTest.java:5: lint: Found more than one threading annotation on metho… in Warn about multiple threading annotations()
453warnings = "src/android/widget/Toolbar2.java:14: error: Documentation should not specify @apiSince… in Merge Multiple sections()
711warnings = "src/test/pkg/RangeTest.java:4: lint: Cannot find permission field for \"MyPermission\"… in Warn about missing field()
DShowAnnotationTest.kt13warnings = "src/test/pkg/Foo.java:17: error: @SystemApi APIs must also be marked @hide: method tes… in Basic showAnnotation test()
71warnings = "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()
DBaselineTest.kt62 warnings = """ in <lambda>()
176 warnings = "", in <lambda>()
DArtifactTaggerTest.kt84 warnings = """ in Tag API()
DSdkFileWriterTest.kt27 warnings = """ in Test generating broadcast actions()
DSymlinkTest.kt41warnings = "TESTROOT/src/test/pkg/sub1/sub2/sub3: info: Ignoring symlink during package.html disco… in <lambda>()
DCoreApiTest.kt269 warnings = """ in Complain if annotating a member and the surrounding class is not included()
DAnnotationsMergerTest.kt255warnings = "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/
DJavadocTest.kt29 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/
DNullabilityAnnotationsValidator.kt75 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/
Dacts_import_unit_test.py23 import warnings
25 with warnings.catch_warnings():
26 warnings.filterwarnings('ignore', category=PendingDeprecationWarning)
/tools/tradefederation/core/
DAndroid.bp120 // Turn off various doclava warnings when generating
121 // the docs. These are the same warnings that are
/tools/metalava/
DAPI-LINT.md41 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/
Dgtest_output4.txt185 (expecting 2 warnings)
192 (expecting 2 warnings)
206 (expecting 2 warnings)
209 (expecting 2 warnings)
/tools/repohooks/tools/
Dpylintrc61 # 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/
Dhelp_verify.txt23 -Werr Treat warnings as errors

12