Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 72) sorted by relevance

123

/tools/metalava/src/test/java/com/android/tools/metalava/
DCompatibilityCheckTest.kt28 check( in Change between class and interface()
64 check( in Interfaces should not be dropped()
100 check( in Ensure warnings for removed APIs()
132 check( in Flag invalid nullness changes()
179 check( in Kotlin Nullness()
228 check( in Java Parameter Name Change()
264 check( in Kotlin Parameter Name Change()
295 check( in Kotlin Coroutines()
321 check( in Add flag new methods but not overrides from platform()
354 check( in Remove operator()
[all …]
DApiFileTest.kt63 check( in Basic class signature extraction()
86 check( in Parameter Names in Java()
118 check( in Default Values Names in Java()
154 check( in Default Values and Names in Kotlin()
226 check( in Default Values in Kotlin for expressions()
300 check( in Basic Kotlin class()
396 check( in Kotlin Reified Methods()
438 check( in Kotlin Reified Methods 2()
473 check( in Suspend functions()
497 check( in Kotlin Generics()
[all …]
DApiLintTest.kt26 check( in Test names()
122 check( in Test names against previous API()
171 check( in Test constants()
202 check( in No enums()
224 check( in Test callbacks()
278 check( in Test listeners()
338 check( in Test actions()
366 check( in Test extras()
393 check( in Test equals and hashCode()
449 check( in Test Parcelable()
[all …]
DApiFromTextTest.kt38 check( in Loading a signature file and writing the API back out()
57 check( in Handle lambdas as default values()
92 check( in Handle enum constants as default values()
126 check( in Handle complex expressions as default values()
147 check( in Annotation signatures requiring more complicated token matching()
166 check( in Multiple extends()
176 check( in Native and strictfp keywords()
200 check( in Type use annotations()
240 check( in Vararg modifier()
249 check( in Infer fully qualified names from shorter names()
[all …]
DDocAnalyzerTest.kt18 check( in Basic documentation generation test()
77 check( in Fix first sentence handling()
121 check( in Fix typo replacement()
154 check( in Document Permissions()
262 check( in Conditional Permission()
309 check( in Document ranges()
364 check( in Merging in documentation snippets from annotation memberDoc and classDoc()
409 check( in Warn about multiple threading annotations()
452 check( in Merge Multiple sections()
531 check( in Typedefs()
[all …]
DJDiffXmlTest.kt25 check( in Loading a signature file and writing the API back out()
116 check( in Abstract interfaces()
193 check( in Test generics, superclasses and interfaces()
391 check( in Test enums()
495 check( in Test enums compat mode()
591 check( in Throws Lists()
660 check( in Generics in interfaces()
696 check( in Type Parameter Mapping()
747 check( in Half float short from signature file()
798 check( in Half float short from source()
[all …]
DNullnessMigrationTest.kt25 check( in Test Kotlin-style null signatures()
63 check( in Method which is now marked null should be marked as recently migrated null()
112 check( in Parameter which is now marked null should be marked as recently migrated null()
158 fun `Comprehensive check of migration`() { in Comprehensive check of migration()
159 check( in Comprehensive check of migration()
227 fun `Comprehensive check of migration, Kotlin-style output`() { in Comprehensive check of migration, Kotlin-style output()
228 check( in Comprehensive check of migration, Kotlin-style output()
280 check( in Convert libcore nullness annotations to support()
331 check( in Check type use annotations()
387 check( in Check androidx package annotation()
[all …]
DSystemServiceCheckTest.kt24 check( in SystemService OK, loaded from signature file()
61 check( in SystemService OK, loaded from source()
98 check( in Check SystemService -- no permission annotation()
123 check( in Check SystemService -- can miss a permission with anyOf()
157 check( in Check SystemService such that at least one permission must be defined with anyOf()
188 check( in Check SystemService -- missing one permission with allOf()
222 check( in Check SystemService -- must be system permission, not normal()
263 check( in Check SystemService -- missing manifest permissions()
294 check( in Invalid manifest()
326 check( in Warning suppressed via annotation()
DExtractAnnotationsTest.kt76 check( in Check java typedef extraction and warning about non-source retention of typedefs()
110 check( in Check Kotlin and referencing hidden constants from typedef()
188 check( in Check including only class retention annotations other than typedefs()
266 check( in Extract permission annotations()
335 check( in Include merged annotations in exported source annotations()
389 check( in Only including class retention annotations in stubs()
442 check( in Check warning about unexpected returns from typedef method()
518 check( in No typedef signatures in api files()
554 check( in Inlining typedef signatures in api files()
590 check( in Referencing typedef signatures in api files()
DConvertTest.kt25 check( in Test conversion flag()
94 check( in Test convert new with compat mode and api strip()
231 check( in Test convert new without compat mode and no strip()
381 check( in Test convert nothing new()
437 check( in Test doclava compat()
519 check( in Test convert new to v2 without compat mode and no strip()
590 check( in Test convert new to v1 signatures with compat mode and no strip()
657 check( in Test convert v2 to v1()
719 check( in Test convert v1 to v2()
DStubsTest.kt48 check( in <lambda>()
129 check( in <lambda>()
1865 check( in <lambda>()
1915 check( in <lambda>()
2407 check( in <lambda>()
3272 check( in <lambda>()
3309 check( in <lambda>()
3350 check( in <lambda>()
3388 check( in <lambda>()
3453 check( in <lambda>()
[all …]
DAnnotationsMergerTest.kt30 check( in Signature files contain annotations()
78 check( in Merged class and method annotations with no arguments()
138 check( in Merge signature files()
178 check( in Merge qualifier annotations from Java stub files()
216 check( in Merge type use qualifier annotations from Java stub files()
254 check( in Merge inclusion annotations from Java stub files()
313 check( in Merge inclusion annotations from Java stub files using --show-single-annotation()
DNullabilityAnnotationsValidatorTest.kt25 check( in Empty report when all expected annotations present()
71 check( in Missing parameter annotation()
113 check( in Missing return type annotations()
154 check( in Error from annotation on primitive()
197 check( in Error from NullFromTypeParam not on type param()
239 check( in Using class list()
DAndroidApiChecksTest.kt24 check( in Flag TODO documentation()
67 check( in Document Permissions()
127 check( in Document Intent Actions()
178 check( in Check Warnings for missing nullness annotations()
224 check( in Check IntDef Warnings()
DKotlinInteropChecksTest.kt24 check( in Hard Kotlin keywords()
51 check( in Sam-compatible parameters should be last()
90 check( in Companion object methods should be marked with JvmStatic()
126 check( in Methods with default parameters should specify JvmOverloads()
153 check( in Methods which throw exceptions should document them()
DShowAnnotationTest.kt10 check( in Basic showAnnotation test()
67 check( in Basic showAnnotation with showUnannotated test()
132 check( in Check @TestApi handling()
191 check( in Include interface-inherited fields in stubs()
259 check( in No UnhiddenSystemApi warning for --show-single-annotations()
DAnnotationStatisticsTest.kt26 check( in Test emitting annotation statistics()
60 check( in Static final initialized fields are not nullable()
87 check( in Test counting annotation usages of missing APIs()
DUnhideApisTest.kt26 check( in Report hidden API access rather than opening up access()
107 check( in Do not warn about package private access when generating package private stubs()
184 check( in Including private interfaces from types()
DCoreApiTest.kt29 check( in Hidden with hide annotation()
123 check( in Hidden with package javadoc and hiding default constructor explicitly()
217 check( in Complain if annotating a member and the surrounding class is not included()
DBaselineTest.kt26 check( in <lambda>()
162 check( in <lambda>()
242 check( in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java313 boolean check(Relation relation, Noun noun) { in check() method in BugreportCollector
314 return check(relation, noun, null); in check()
317 boolean check(Relation relation, Noun noun, TestDescription test) { in check() method in BugreportCollector
439 check(Relation.AFTER, Noun.TESTCASE, test); in testEnded()
448 check(Relation.AFTER, Noun.FAILED_TESTCASE, test); in testFailed()
457 check(Relation.AFTER, Noun.FAILED_TESTCASE, test); in testAssumptionFailure()
466 check(Relation.AFTER, Noun.TESTRUN); in testRunEnded()
476 check(Relation.AFTER, Noun.FAILED_TESTRUN); in testRunFailed()
486 check(Relation.AT_START_OF, Noun.TESTRUN); in testRunStarted()
504 check(Relation.AT_START_OF, Noun.TESTCASE, test); in testStarted()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DPythonUnitTestRunner.java170 boolean check = false; in checkPythonVersion()
173 check = true; in checkPythonVersion()
176 check = true; in checkPythonVersion()
179 check = true; in checkPythonVersion()
184 if (check == false) { in checkPythonVersion()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt374 for (check in options.compatibilityChecks) { in processFlags() method
375 checkCompatibility(codebase, check) in processFlags()
575 check: CheckRequest in checkCompatibility()
577 val signatureFile = check.file in checkCompatibility()
594 val releaseType = check.releaseType in checkCompatibility()
595 val apiType = check.apiType in checkCompatibility()
606 if (check.codebase != null) { in checkCompatibility()
608 file = check.codebase, in checkCompatibility()
814 KotlinInteropChecks().check(codebase) in loadFromSources()
818 AndroidApiChecks().check(codebase) in loadFromSources()
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/
DTextTypeItemTest.kt66 fun `check erasure`() { in check erasure()
106 fun `check erasure from object`() { in check erasure from object()
137 fun `check erasure from enums`() { in check erasure from enums()
/tools/external_updater/
Dexternal_updater.py102 updater.check()
151 def check(args): function
236 check_parser.set_defaults(func=check)

123