Home
last modified time | relevance | path

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

1234

/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFileTest.kt64 check( in Basic class signature extraction()
87 check( in Parameter Names in Java()
118 check( in Default Values Names in Java()
153 check( in Default Values and Names in Kotlin()
224 check( in Default Values in Kotlin for expressions()
296 check( in Basic Kotlin class()
369 check( in Kotlin Reified Methods()
409 check( in Kotlin Reified Methods 2()
442 check( in Suspend functions()
466 check( in Var properties with private setters()
[all …]
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 …]
DApiLintTest.kt26 check( in Test names()
170 check( in Test names against previous API()
219 check( in Test constants()
261 check( in No enums()
287 check( in Test callbacks()
358 check( in Test listeners()
426 check( in Test actions()
458 check( in Test extras()
489 check( in Test equals and hashCode()
556 check( in Test Parcelable()
[all …]
DDocAnalyzerTest.kt18 check( in Basic documentation generation test()
76 check( in Fix first sentence handling()
121 check( in Fix typo replacement()
154 check( in Document Permissions()
261 check( in Conditional Permission()
307 check( in Document ranges()
362 check( in Merging in documentation snippets from annotation memberDoc and classDoc()
407 check( in Warn about multiple threading annotations()
450 check( in Merge Multiple sections()
529 check( in Typedefs()
[all …]
DApiFromTextTest.kt38 check( in Loading a signature file and writing the API back out()
57 check( in Handle lambdas as default values()
78 check( in Invoking function with multiple parameters as parameter default value()
113 check( in Handle enum constants as default values()
147 check( in Handle complex expressions as default values()
168 check( in Annotation signatures requiring more complicated token matching()
187 check( in Multiple extends()
197 check( in Native and strictfp keywords()
221 check( in Type use annotations()
261 check( in Vararg modifier()
[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()
390 check( in Test enums()
495 check( in Test enums compat mode()
590 check( in Throws Lists()
659 check( in Generics in interfaces()
695 check( in Type Parameter Mapping()
746 check( in Half float short from signature file()
797 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 …]
DCompatibilityCheckBaselineTest.kt23 fun `Test released-API check, with error message`() { in Test released-API check, with error message()
25 check( in Test released-API check, with error message()
48 fun `Test current-API check, with error message`() { in Test current-API check, with error message()
50 check( in Test current-API check, with error message()
73 fun `Test released-API check, with global baseline`() { in Test released-API check, with global baseline()
75 check( 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()
102 check( 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()
129 check( in Test released-API check, with compatibility-released baseline()
[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()
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()
781 check( in Test convert v2 to v2()
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()
438 check( in Check warning about unexpected returns from typedef method()
515 check( in No typedef signatures in api files()
551 check( in Inlining typedef signatures in api files()
587 check( in Referencing typedef signatures in api files()
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()
220 check( in Merge qualifier annotations from Java stub files onto stubs that are not in the API signature file()
293 check( in Merge type use qualifier annotations from Java stub files()
331 check( in Merge qualifier annotations from Java stub files making sure they apply to public members of hidden superclasses()
379 check( in Merge inclusion annotations from Java stub files()
438 check( in Merge inclusion annotations from Java stub files using --show-single-annotation()
DShowAnnotationTest.kt11 check( in Basic showAnnotation test()
67 check( in Basic showAnnotation with showUnannotated test()
131 check( in Check @TestApi handling()
189 check( in Include interface-inherited fields in stubs()
256 check( in No UnhiddenSystemApi warning for --show-single-annotations()
651 check( in Check @PublishedApi handling()
690 check(
DOptionsTest.kt496 check( in Test issue severity options()
516 check( in Test multiple issue severity options()
526 check( in Test issue severity options with inheriting issues()
535 check( in Test issue severity options by numeric id()
544 check( in Test issue severity options with case insensitive names()
553 check( in Test issue severity options with non-existing issue()
570 check( in Test for --strict-input-files-exempt()
DApiLintBaselineTest.kt27 check( in Test with global baseline()
51 check( in Test with api-lint specific baseline()
75 check( in Test with api-lint specific baseline with update()
101 check( in Test with non-api-lint specific baseline()
132 check( in Test api-lint error message()
165 check( in Test no api-lint error message()
DNullabilityAnnotationsValidatorTest.kt25 check( in Empty report when all expected annotations present()
74 check( in Missing parameter annotation()
118 check( in Missing return type annotations()
160 check( in Error from annotation on primitive()
206 check( in Error from NullFromTypeParam not on type param()
250 check( in Using class list()
DAndroidApiChecksTest.kt24 check( in Flag TODO documentation()
67 check( in Document Permissions()
126 check( in Document Intent Actions()
176 check( in Check Warnings for missing nullness annotations()
221 check( in Check IntDef Warnings()
DReporterTest.kt24 check( in Errors are sent to stderr()
53 check( in Test suppression annotations()
97 check( in Test repeat errors with 1 error()
124 check( in Test repeat errors with 5 errors()
163 check( in Test repeat errors with 6 errors()
DKotlinInteropChecksTest.kt24 check( in Hard Kotlin keywords()
59 check( in Sam-compatible parameters should be last()
118 check( in Companion object methods should be marked with JvmStatic()
158 check( in Methods with default parameters should specify JvmOverloads()
189 check( in Methods which throw exceptions should document them()
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt66 check( in <lambda>()
146 check( in <lambda>()
1848 check( in <lambda>()
1881 check( in <lambda>()
1915 check( in <lambda>()
1959 check( in <lambda>()
2042 check( in <lambda>()
2522 check( in <lambda>()
3374 check( in <lambda>()
3410 check( in <lambda>()
[all …]
/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/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt355 for (check in options.compatibilityChecks) { in processFlags() method
356 checkCompatibility(codebase, check) in processFlags()
554 check: CheckRequest in checkCompatibility()
556 progress("Checking API compatibility ($check): ") in checkCompatibility()
557 val signatureFile = check.file in checkCompatibility()
574 val releaseType = check.releaseType in checkCompatibility()
575 val apiType = check.apiType in checkCompatibility()
586 if (check.codebase != null) { in checkCompatibility()
588 file = check.codebase, in checkCompatibility()
815 AndroidApiChecks().check(codebase) in loadFromSources()
[all …]
/tools/repohooks/tools/
Dcheckpatch.pl33 my $check = 0;
205 'subjective!' => \$check,
206 'strict!' => \$check,
237 $check_orig = $check;
1054 foreach my $check (@tree_check) {
1055 if (! -e $root . '/' . $check) {
2107 if ($check && report("CHECK", $type, $msg)) {
2473 $check = 1;
2475 $check = $check_orig;
3515 my $check = 0;
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DDefaultModifierList.kt285 check(PRIVATE == VisibilityLevel.PRIVATE.ordinal) in <lambda>()
286 check(INTERNAL == VisibilityLevel.INTERNAL.ordinal) in <lambda>()
287 check(PACKAGE_PRIVATE == VisibilityLevel.PACKAGE_PRIVATE.ordinal) in <lambda>()
288 check(PROTECTED == VisibilityLevel.PROTECTED.ordinal) in <lambda>()
289 check(PUBLIC == VisibilityLevel.PUBLIC.ordinal) in <lambda>()
296 check(VISIBILITY_MASK == expectedMask) in <lambda>()
/tools/tradefederation/core/test_framework/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()

1234