Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 125) sorted by relevance

12345

/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt94 private fun compareNullability(old: Item, new: Item) { in compareNullability()
96 val newMethod = containingMethod(new) in compareNullability()
111 val newNullnessAnnotation = findNullnessAnnotation(new) in compareNullability()
113 val implicitNullness = AnnotationItem.getImplicitNullness(new) in compareNullability()
125 Issues.INVALID_NULL_CONVERSION, new, in compareNullability()
130 val newNullable = isNullable(new) in compareNullability()
139 new, in compareNullability()
146 new, in compareNullability()
156 override fun compare(old: Item, new: Item) { in compare()
158 val newModifiers = new.modifiers in compare()
[all …]
DComparisonVisitor.kt55 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 …]
DNullnessMigration.kt40 override fun compare(old: Item, new: Item) { in compare()
41 if (hasNullnessInformation(new) && !hasNullnessInformation(old)) { in compare()
42 new.markRecent() 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()
87 private fun checkType(old: TypeItem, new: TypeItem) { in checkType()
[all …]
DConvertJarsToSignatureFiles.kt81 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 …]
DAnnotationsMerger.kt250 override fun compare(old: Item, new: Item) { in <lambda>()
251 val newModifiers = new.modifiers in <lambda>()
253 mergeAnnotation(annotation, newModifiers, new) in <lambda>()
256 mergeTypeAnnotations(it, new) in <lambda>()
267 new: Item in <lambda>()
284 new.mutableModifiers().addAnnotation( in <lambda>()
285 new.codebase.createAnnotation( in <lambda>()
287 new, in <lambda>()
296 new: Item in <lambda>()
302 val codebase = new.codebase as PsiBasedCodebase in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt343 override fun added(new: PackageItem) { in computeDelta()
344 delta.addPackage(new as TextPackageItem) in computeDelta()
347 override fun added(new: ClassItem) { in computeDelta()
348 val pkg = getOrAddPackage(new.containingPackage().qualifiedName()) in computeDelta()
349 pkg.addClass(new as TextClassItem) in computeDelta()
352 override fun added(new: ConstructorItem) { in computeDelta()
353 val cls = getOrAddClass(new.containingClass()) in computeDelta()
354 cls.addConstructor(new as TextConstructorItem) in computeDelta()
357 override fun added(new: MethodItem) { in computeDelta()
358 val cls = getOrAddClass(new.containingClass()) in computeDelta()
[all …]
/tools/aadevtools/dev/resource/
Dchange_report-new_vs_old_codebase.csv9 new.png,png,0,1,new_codebase/new.png,7384,0,0,0,0,0,,0,0,0,0,0,0
10 new.txt,txt,1,1,new_codebase/new.txt,21,10,0,0,0,0,,0,0,0,0,0,0
11 new_sub_dir/sub_sub_dir/new.txt,txt,1,1,new_codebase/new_sub_dir/sub_sub_dir/new.txt,21,10,0,0,0,0,…
12 new_sub_dir/new.txt,txt,1,1,new_codebase/new_sub_dir/new.txt,21,10,0,0,0,0,,0,0,0,0,0,0
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_rotate.txt4 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
82 order of old-signer then new-signer and, within each
105 order of old-signer then new-signer and, within each
154 propogate to the new version. Typically this flag should
[all …]
Dhelp_lineage.txt5 has been migrated to the new signing certificate.
34 --signer Indicates the start of a new signing certificate to be modified.
46 by a newer signing certificate. By default, the new signer will have all
47 capabilities, but the capability options can be specified for the new signer
76 order of old-signer then new-signer and, within each
99 order of old-signer then new-signer and, within each
148 propogate to the new version. Typically this flag should
155 new signing certificate. This is useful in situations
162 by an app signed with the new signing certificate.
176 authenticator module using the new signing certificate.
[all …]
/tools/treble/hacksaw/
DREADME.md9 …are read-only bind mounts. This lets you build without cloning the full codebase to a new location!
15 * Create a new Hacksaw workspace
22 * Create a new Hacksaw workspace and edit build/make project.
26 * Create a new Hacksaw workspace and edit frameworks/base project.
30 As you can see, the time it takes to set up a new hacksaw workspace is proportional to
35 * Create a new full repo workspace [using a fresh local mirror](https://source.android.com/setup/bu…
55 $ hacksaw workspace new big-feature
72 $ hacksaw workspace new quick-fix
119 * `hacksaw workspace new`
140 The installation scripts creates a new "hacksaw" group and adds you to it. You
[all …]
/tools/dexter/testdata/expected/
Dhello_nodebug.asm36 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[]
Dexit_hooks.asm43 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 …]
Dhello.asm61 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[]
Dhello_nodebug.rewrite36 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[]
Dhello_nodebug.wrap_invoke36 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[]
Dtry_catch.asm65 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[]
Dhello_nodebug.compact_cfg43 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[]
Dhello.wrap_invoke61 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[]
Dhello.rewrite61 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[]
Dtry_catch.exit_hook70 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[]
Dtry_catch.rewrite65 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[]
Dexit_hooks.rewrite43 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 …]
Dhello_nodebug.scratch_regs54 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[]
Dtry_catch.scratch_regs77 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[]
Dtry_catch.compact_cfg80 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[]

12345