/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | CompatibilityCheckTest.kt | 28 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 …]
|
D | ApiFileTest.kt | 64 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() 370 check( in Kotlin Reified Methods() 410 check( in Kotlin Reified Methods 2() 443 check( in Suspend functions() 469 check( in Var properties with private setters() [all …]
|
D | ApiLintTest.kt | 26 check( in Test names() 167 check( in Test names against previous API() 216 check( in Test constants() 255 check( in No enums() 278 check( in Test callbacks() 347 check( in Test listeners() 412 check( in Test actions() 441 check( in Test extras() 469 check( in Test equals and hashCode() 533 check( in Test Parcelable() [all …]
|
D | ApiFromTextTest.kt | 38 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 …]
|
D | DocAnalyzerTest.kt | 18 check( in Basic documentation generation test() 78 check( in Fix first sentence handling() 125 check( in Fix typo replacement() 160 check( in Document Permissions() 269 check( in Conditional Permission() 317 check( in Document ranges() 374 check( in Merging in documentation snippets from annotation memberDoc and classDoc() 421 check( in Warn about multiple threading annotations() 466 check( in Merge Multiple sections() 547 check( in Typedefs() [all …]
|
D | JDiffXmlTest.kt | 25 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 …]
|
D | CompatibilityCheckBaselineTest.kt | 23 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 …]
|
D | NullnessMigrationTest.kt | 25 check( in Test Kotlin-style null signatures() 63 check( in Method which is now marked null should be marked as recently migrated null() 114 check( in Parameter which is now marked null should be marked as recently migrated null() 162 fun `Comprehensive check of migration`() { in Comprehensive check of migration() 163 check( in Comprehensive check of migration() 233 fun `Comprehensive check of migration, Kotlin-style output`() { in Comprehensive check of migration, Kotlin-style output() 234 check( in Comprehensive check of migration, Kotlin-style output() 286 check( in Convert libcore nullness annotations to support() 337 check( in Check type use annotations() 393 check( in Check androidx package annotation() [all …]
|
D | AnnotationsMergerTest.kt | 30 check( in Signature files contain annotations() 78 check( in Merged class and method annotations with no arguments() 138 check( in Merge signature files() 183 check( in Merge qualifier annotations from Java stub files() 225 check( in Merge qualifier annotations from Java stub files onto stubs that are not in the API signature file() 302 check( in Merge type use qualifier annotations from Java stub files() 340 check( in Merge qualifier annotations from Java stub files making sure they apply to public members of hidden superclasses() 388 check( in Merge inclusion annotations from Java stub files() 447 check( in Merge inclusion annotations from Java stub files using --show-single-annotation() 491 check( in Merge inclusion annotations on api in java namespace() [all …]
|
D | SystemServiceCheckTest.kt | 24 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()
|
D | ConvertTest.kt | 25 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()
|
D | ExtractAnnotationsTest.kt | 76 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() 440 check( in Check warning about unexpected returns from typedef method() 517 check( in No typedef signatures in api files() 553 check( in Inlining typedef signatures in api files() 589 check( in Referencing typedef signatures in api files()
|
D | KeepFileTest.kt | 24 check( in Generate Keep file() 87 check( in Primitive types() 118 check( in Primitive array types() 147 check( in Object Array parameters() 174 check( in Arrays with Inner class() 205 check( in Conflicting Class Names in parameters() 261 check( in Multi dimensional arrays() 303 check( in Methods with arrays as the return type()
|
D | ShowAnnotationTest.kt | 11 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() 260 check( in No UnhiddenSystemApi warning for --show-single-annotations() 655 check( in Check @PublishedApi handling() 694 check(
|
D | ReporterTest.kt | 24 check( in Errors are sent to stderr() 50 check( in Test suppression annotations() 91 check( in Test suppressing infos() 111 check( in Test repeat errors with 1 error() 137 check( in Test repeat errors with 5 errors() 175 check( in Test repeat errors with 6 errors()
|
D | ApiLintBaselineTest.kt | 27 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() 129 check( in Test api-lint error message() 158 check( in Test no api-lint error message()
|
D | NullabilityAnnotationsValidatorTest.kt | 25 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()
|
D | AndroidApiChecksTest.kt | 24 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()
|
D | KotlinInteropChecksTest.kt | 24 check( in Hard Kotlin keywords() 56 check( in Sam-compatible parameters should be last() 115 check( in Companion object methods should be marked with JvmStatic() 159 check( in Methods with default parameters should specify JvmOverloads() 190 check( in Methods which throw exceptions should document them()
|
D | OptionsTest.kt | 509 check( in Test issue severity options() 529 check( in Test multiple issue severity options() 539 check( in Test issue severity options with inheriting issues() 548 check( in Test issue severity options with case insensitive names() 557 check( in Test issue severity options with non-existing issue() 574 check( in Test for --strict-input-files-exempt()
|
D | Java9LanguageFeaturesTest.kt | 28 check( in Private Interface Method() 58 check( in Kotlin language level() 98 check( in Basic class signature extraction() 194 check( in Using JDK APIs()
|
/tools/metalava/src/test/java/com/android/tools/metalava/stub/ |
D | StubsTest.kt | 68 check( in <lambda>() 148 check( in <lambda>() 1861 check( in <lambda>() 1895 check( in <lambda>() 1930 check( in <lambda>() 1978 check( in <lambda>() 2059 check( in <lambda>() 2110 check( in <lambda>() 2598 check( in <lambda>() 3452 check( in <lambda>() [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | TypeItemTest.kt | 57 fun check(typeName: String, expected: String = typeName) { in testToLambdaFormat() method 62 check("androidx.pkg.Foo") in testToLambdaFormat() 63 check("kotlin.jvm.functions<<>") in testToLambdaFormat() 65 check("kotlin.jvm.functions.Function0<kotlin.Unit>", "() -> kotlin.Unit") in testToLambdaFormat() 66 check("kotlin.jvm.functions.Function1<pkg.Foo, pkg.Bar>", "(pkg.Foo) -> pkg.Bar") in testToLambdaFormat() 67 check( in testToLambdaFormat() 71 check("kotlin.jvm.functions<<>") in testToLambdaFormat()
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/ |
D | WlanWmmTest.py | 302 for check in stream['validation']: 303 operator_str = check['operator'] 304 rel_tolerance = check.get('rel_tolerance', 0) 305 abs_tolerance = check.get('abs_tolerance', 0) 306 max_bw_rel_tolerance = check.get('max_bw_rel_tolerance', 0) 307 expected_bw_percentage = check.get('bandwidth_percentage', 310 if 'bandwidth' in check: 311 comp_bw = check['bandwidth'] 320 elif 'phase' in check and 'stream' in check: 321 comp_phase_id = check['phase'] [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | DefaultModifierList.kt | 293 check(PRIVATE == VisibilityLevel.PRIVATE.ordinal) in <lambda>() 294 check(INTERNAL == VisibilityLevel.INTERNAL.ordinal) in <lambda>() 295 check(PACKAGE_PRIVATE == VisibilityLevel.PACKAGE_PRIVATE.ordinal) in <lambda>() 296 check(PROTECTED == VisibilityLevel.PROTECTED.ordinal) in <lambda>() 297 check(PUBLIC == VisibilityLevel.PUBLIC.ordinal) in <lambda>() 304 check(VISIBILITY_MASK == expectedMask) in <lambda>()
|