/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | CompatibilityCheck.kt | 84 override fun compare(old: Item, new: Item) { in compare() 86 val newModifiers = new.modifiers in compare() 90 new, in compare() 98 new, in compare() 107 val newNullnessAnnotation = findNullnessAnnotation(new) in compare() 109 val implicitNullness = AnnotationItem.getImplicitNullness(new) in compare() 121 Errors.INVALID_NULL_CONVERSION, new, in compare() 126 val newNullable = isNullable(new) in compare() 135 new, in compare() 142 new, in compare() [all …]
|
D | ComparisonVisitor.kt | 55 open fun compare(old: Item, new: Item) {} in <lambda>() 56 open fun added(new: Item) {} in <lambda>() 59 open fun compare(old: PackageItem, new: PackageItem) {} in <lambda>() 60 open fun compare(old: ClassItem, new: ClassItem) {} in <lambda>() 61 open fun compare(old: ConstructorItem, new: ConstructorItem) {} in <lambda>() 62 open fun compare(old: MethodItem, new: MethodItem) {} in <lambda>() 63 open fun compare(old: FieldItem, new: FieldItem) {} in <lambda>() 64 open fun compare(old: PropertyItem, new: PropertyItem) {} in <lambda>() 65 open fun compare(old: ParameterItem, new: ParameterItem) {} in <lambda>() 67 open fun added(new: PackageItem) {} in <lambda>() [all …]
|
D | NullnessMigration.kt | 40 override fun compare(old: Item, new: Item) { in compare() 41 if (hasNullnessInformation(new) && !hasNullnessInformation(old)) { in compare() 42 markRecent(new) in compare() 50 override fun compare(old: MethodItem, new: MethodItem) { in compare() 53 val newType = new.returnType() ?: return in compare() 59 override fun compare(old: FieldItem, new: FieldItem) { in compare() 62 val newType = new.type() in compare() 68 override fun compare(old: ParameterItem, new: ParameterItem) { in compare() 71 val newType = new.type() in compare() 86 private fun checkType(old: TypeItem, new: TypeItem) { in checkType() [all …]
|
D | ConvertJarsToSignatureFiles.kt | 81 private fun unmarkRecent(new: Item) { in <lambda>() 82 val annotation = NullnessMigration.findNullnessAnnotation(new) ?: return in <lambda>() 86 val modifiers = new.mutableModifiers() in <lambda>() 90 … modifiers.addAnnotation(new.codebase.createAnnotation("@$annotationClass", new, mapName = false)) in <lambda>() 103 override fun compare(old: MethodItem, new: MethodItem) { in <lambda>() 104 new.removed = true in <lambda>() 108 override fun compare(old: FieldItem, new: FieldItem) { in <lambda>() 109 new.removed = true in <lambda>() 125 override fun compare(old: Item, new: Item) { in <lambda>() 126 if (old.deprecated && !new.deprecated && old !is PackageItem) { in <lambda>() [all …]
|
D | AnnotationsMerger.kt | 250 override fun compare(old: Item, new: Item) { in mergeQualifierAnnotationsFromCodebase() 251 val newModifiers = new.modifiers in mergeQualifierAnnotationsFromCodebase() 253 mergeAnnotation(annotation, newModifiers, new) in mergeQualifierAnnotationsFromCodebase() 256 mergeTypeAnnotations(it, new) in mergeQualifierAnnotationsFromCodebase() 263 new: Item in mergeQualifierAnnotationsFromCodebase() 280 new.mutableModifiers().addAnnotation( in mergeQualifierAnnotationsFromCodebase() 281 new.codebase.createAnnotation( in mergeQualifierAnnotationsFromCodebase() 283 new, in mergeQualifierAnnotationsFromCodebase() 292 new: Item in mergeQualifierAnnotationsFromCodebase() 298 val codebase = new.codebase as PsiBasedCodebase in mergeQualifierAnnotationsFromCodebase() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | TextCodebase.kt | 351 override fun added(new: PackageItem) { in computeDelta() 352 delta.addPackage(new as TextPackageItem) in computeDelta() 355 override fun added(new: ClassItem) { in computeDelta() 356 val pkg = getOrAddPackage(new.containingPackage().qualifiedName()) in computeDelta() 357 pkg.addClass(new as TextClassItem) in computeDelta() 360 override fun added(new: ConstructorItem) { in computeDelta() 361 val cls = getOrAddClass(new.containingClass()) in computeDelta() 362 cls.addConstructor(new as TextConstructorItem) in computeDelta() 365 override fun added(new: MethodItem) { in computeDelta() 366 val cls = getOrAddClass(new.containingClass()) in computeDelta() [all …]
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_rotate.txt | 4 new, for use in a key rotation scenario using APK Signature Scheme v3. 25 specified, an old and a new. 28 be used to sign a new entry in the SigningCertificateLineage allowing the 29 addition of the new-signer. If an input SigningCertificateLineage object was 33 --new-signer The signing information for the signer to which you want to rotate. This will 43 by a newer signing certificate. By default, the new signer will have all 44 capabilities, but the capability options can be specified for the new signer 75 order of old-signer then new-signer and, within each 98 order of old-signer then new-signer and, within each 147 propogate to the new version. Typically this flag should [all …]
|
D | help_lineage.txt | 5 has been migrated to the new signing certificate. 30 --signer Indicates the start of a new signing certificate to be modified. 42 by a newer signing certificate. By default, the new signer will have all 43 capabilities, but the capability options can be specified for the new signer 72 order of old-signer then new-signer and, within each 95 order of old-signer then new-signer and, within each 144 propogate to the new version. Typically this flag should 151 new signing certificate. This is useful in situations 158 by an app signed with the new signing certificate. 172 authenticator module using the new signing certificate. [all …]
|
/tools/dexter/testdata/expected/ |
D | hello_nodebug.asm | 36 7| new-instance v3, java.lang.StringBuilder 66 4| new-instance v3, java.lang.StringBuilder 97 6| new-array v4, v4, java.lang.Object[] 106 24| new-array v4, v4, java.lang.Object[] 109 30| new-instance v2, Base 121 49| new-array v4, v4, java.lang.Object[] 124 55| new-instance v2, Derived 138 0| new-instance v5, java.lang.Throwable 164 34| new-array v7, v7, java.lang.Object[]
|
D | exit_hooks.asm | 43 0| new-instance v1, Target 54 14| new-array v3, v3, java.lang.Object[] 70 37| new-array v3, v3, java.lang.Object[] 86 60| new-array v3, v3, java.lang.Object[] 104 87| new-array v3, v3, java.lang.Object[] 230 10| new-array v4, v4, java.lang.Object[] 264 10| new-array v4, v4, java.lang.Object[] 276 22| new-array v4, v4, java.lang.Object[] 308 6| new-array v4, v4, java.lang.Object[] 339 6| new-array v3, v3, java.lang.Object[] [all …]
|
D | hello.asm | 61 7| new-instance v3, java.lang.StringBuilder 104 4| new-instance v3, java.lang.StringBuilder 147 6| new-array v4, v4, java.lang.Object[] 158 24| new-array v4, v4, java.lang.Object[] 162 30| new-instance v2, Base 177 49| new-array v4, v4, java.lang.Object[] 181 55| new-instance v2, Derived 201 0| new-instance v5, java.lang.Throwable 231 34| new-array v7, v7, java.lang.Object[] 265 7| new-array v4, v4, java.lang.Object[]
|
D | hello_nodebug.wrap_invoke | 36 7| new-instance v3, java.lang.StringBuilder 66 4| new-instance v3, java.lang.StringBuilder 97 6| new-array v4, v4, java.lang.Object[] 106 24| new-array v4, v4, java.lang.Object[] 109 30| new-instance v2, Base 121 49| new-array v4, v4, java.lang.Object[] 124 55| new-instance v2, Derived 138 0| new-instance v5, java.lang.Throwable 164 34| new-array v7, v7, java.lang.Object[]
|
D | hello_nodebug.rewrite | 36 7| new-instance v3, java.lang.StringBuilder 66 4| new-instance v3, java.lang.StringBuilder 97 6| new-array v4, v4, java.lang.Object[] 106 24| new-array v4, v4, java.lang.Object[] 109 30| new-instance v2, Base 121 49| new-array v4, v4, java.lang.Object[] 124 55| new-instance v2, Derived 138 0| new-instance v5, java.lang.Throwable 164 34| new-array v7, v7, java.lang.Object[]
|
D | try_catch.asm | 65 11| new-instance v1, A 73 20| new-instance v1, B 114 11| new-array v5, v5, java.lang.Object[] 131 25| new-array v5, v5, java.lang.Object[] 149 39| new-array v5, v5, java.lang.Object[] 158 50| new-array v5, v5, java.lang.Object[] 171 64| new-array v5, v5, java.lang.Object[]
|
D | hello_nodebug.compact_cfg | 43 7| new-instance v3, java.lang.StringBuilder 77 4| new-instance v3, java.lang.StringBuilder 112 6| new-array v4, v4, java.lang.Object[] 121 24| new-array v4, v4, java.lang.Object[] 124 30| new-instance v2, Base 136 49| new-array v4, v4, java.lang.Object[] 139 55| new-instance v2, Derived 155 0| new-instance v5, java.lang.Throwable 185 34| new-array v7, v7, java.lang.Object[]
|
D | hello.wrap_invoke | 61 7| new-instance v3, java.lang.StringBuilder 104 4| new-instance v3, java.lang.StringBuilder 147 6| new-array v4, v4, java.lang.Object[] 158 24| new-array v4, v4, java.lang.Object[] 162 30| new-instance v2, Base 177 49| new-array v4, v4, java.lang.Object[] 181 55| new-instance v2, Derived 201 0| new-instance v5, java.lang.Throwable 231 34| new-array v7, v7, java.lang.Object[] 265 7| new-array v4, v4, java.lang.Object[]
|
D | hello.rewrite | 61 7| new-instance v3, java.lang.StringBuilder 104 4| new-instance v3, java.lang.StringBuilder 147 6| new-array v4, v4, java.lang.Object[] 158 24| new-array v4, v4, java.lang.Object[] 162 30| new-instance v2, Base 177 49| new-array v4, v4, java.lang.Object[] 181 55| new-instance v2, Derived 201 0| new-instance v5, java.lang.Throwable 231 34| new-array v7, v7, java.lang.Object[] 265 7| new-array v4, v4, java.lang.Object[]
|
D | try_catch.exit_hook | 70 15| new-instance v1, A 78 24| new-instance v1, B 120 11| new-array v5, v5, java.lang.Object[] 138 28| new-array v5, v5, java.lang.Object[] 156 43| new-array v5, v5, java.lang.Object[] 165 54| new-array v5, v5, java.lang.Object[] 178 69| new-array v5, v5, java.lang.Object[]
|
D | try_catch.rewrite | 65 11| new-instance v1, A 73 20| new-instance v1, B 115 11| new-array v5, v5, java.lang.Object[] 132 25| new-array v5, v5, java.lang.Object[] 150 40| new-array v5, v5, java.lang.Object[] 159 51| new-array v5, v5, java.lang.Object[] 172 66| new-array v5, v5, java.lang.Object[]
|
D | exit_hooks.rewrite | 43 0| new-instance v1, Target 54 14| new-array v3, v3, java.lang.Object[] 70 37| new-array v3, v3, java.lang.Object[] 86 60| new-array v3, v3, java.lang.Object[] 104 87| new-array v3, v3, java.lang.Object[] 232 10| new-array v4, v4, java.lang.Object[] 266 10| new-array v4, v4, java.lang.Object[] 278 22| new-array v4, v4, java.lang.Object[] 310 6| new-array v4, v4, java.lang.Object[] 341 6| new-array v3, v3, java.lang.Object[] [all …]
|
D | hello_nodebug.scratch_regs | 54 25| new-instance v9, java.lang.StringBuilder 93 22| new-instance v9, java.lang.StringBuilder 130 15| new-array v11, v11, java.lang.Object[] 139 33| new-array v11, v11, java.lang.Object[] 142 39| new-instance v9, Base 154 58| new-array v11, v11, java.lang.Object[] 157 64| new-instance v9, Derived 171 0| new-instance v5, java.lang.Throwable 197 34| new-array v7, v7, java.lang.Object[]
|
D | try_catch.compact_cfg | 80 11| new-instance v1, A 90 20| new-instance v1, B 141 11| new-array v5, v5, java.lang.Object[] 164 25| new-array v5, v5, java.lang.Object[] 188 39| new-array v5, v5, java.lang.Object[] 199 50| new-array v5, v5, java.lang.Object[] 214 64| new-array v5, v5, java.lang.Object[]
|
D | try_catch.scratch_regs | 77 20| new-instance v10, A 85 29| new-instance v10, B 129 20| new-array v12, v12, java.lang.Object[] 146 34| new-array v12, v12, java.lang.Object[] 164 49| new-array v12, v12, java.lang.Object[] 173 60| new-array v12, v12, java.lang.Object[] 186 75| new-array v12, v12, java.lang.Object[]
|
D | hello.compact_cfg | 68 7| new-instance v3, java.lang.StringBuilder 115 4| new-instance v3, java.lang.StringBuilder 162 6| new-array v4, v4, java.lang.Object[] 173 24| new-array v4, v4, java.lang.Object[] 177 30| new-instance v2, Base 192 49| new-array v4, v4, java.lang.Object[] 196 55| new-instance v2, Derived 218 0| new-instance v5, java.lang.Throwable 252 34| new-array v7, v7, java.lang.Object[] 290 7| new-array v4, v4, java.lang.Object[]
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | ConvertTest.kt | 93 fun `Test convert new with compat mode and api strip`() { in Test convert new with compat mode and api strip() 230 fun `Test convert new without compat mode and no strip`() { in Test convert new without compat mode and no strip() 380 fun `Test convert nothing new`() { in Test convert nothing new() 518 fun `Test convert new to v2 without compat mode and no strip`() { in Test convert new to v2 without compat mode and no strip() 587 fun `Test convert new to v1 signatures with compat mode and no strip`() { in Test convert new to v1 signatures with compat mode and no strip()
|