Home
last modified time | relevance | path

Searched refs:old (Results 1 – 19 of 19) sorted by relevance

/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt72 private fun compareItemNullability(old: Item, new: Item) { in compareItemNullability()
73 val oldMethod = containingMethod(old) in compareItemNullability()
90 compareTypeNullability(old.type(), new.type(), new) in compareItemNullability()
93 private fun compareTypeNullability(old: TypeItem?, new: TypeItem?, context: Item) { in compareTypeNullability()
94 old ?: return in compareTypeNullability()
99 val oldNullability = old.modifiers.nullability() in compareTypeNullability()
147 override fun compare(old: Item, new: Item) { in compare()
148 val oldModifiers = old.modifiers in compare()
166 if (!old.isCompatibilitySuppressed() && new.isCompatibilitySuppressed()) { in compare()
169 old, in compare()
[all …]
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt51 open fun compare(old: Item, new: Item) {} in <lambda>()
55 open fun removed(old: Item, from: Item?) {} in <lambda>()
57 open fun compare(old: PackageItem, new: PackageItem) {} in <lambda>()
59 open fun compare(old: ClassItem, new: ClassItem) {} in <lambda>()
61 open fun compare(old: ConstructorItem, new: ConstructorItem) {} in <lambda>()
63 open fun compare(old: MethodItem, new: MethodItem) {} in <lambda>()
65 open fun compare(old: FieldItem, new: FieldItem) {} in <lambda>()
67 open fun compare(old: PropertyItem, new: PropertyItem) {} in <lambda>()
69 open fun compare(old: ParameterItem, new: ParameterItem) {} in <lambda>()
85 open fun removed(old: PackageItem, from: Item?) {} in <lambda>()
[all …]
DNullnessMigration.kt39 override fun compare(old: Item, new: Item) { in compare()
40 if (hasNullnessInformation(new) && !hasNullnessInformation(old)) { in compare()
49 override fun compare(old: MethodItem, new: MethodItem) { in compare()
53 val oldType = old.returnType() in compare()
58 override fun compare(old: FieldItem, new: FieldItem) { in compare()
62 val oldType = old.type() in compare()
67 override fun compare(old: ParameterItem, new: ParameterItem) { in compare()
71 val oldType = old.type() in compare()
87 private fun checkType(old: TypeItem, new: TypeItem) { in checkType()
DConvertJarsToSignatureFiles.kt131 override fun compare(old: Item, new: Item) { in <lambda>()
132 if (old.originallyDeprecated && old !is PackageItem) { in <lambda>()
133 new.deprecateIfRequired("previous signature file for $old") in <lambda>()
DAnnotationsMerger.kt274 override fun compare(old: Item, new: Item) { in <lambda>()
276 for (annotation in old.modifiers.annotations()) { in <lambda>()
279 old.type()?.let { mergeTypeAnnotations(it, new) } in <lambda>()
282 override fun removed(old: Item, from: Item?) { in <lambda>()
284 if (old.modifiers.annotations().isEmpty()) { in <lambda>()
285 old.type()?.let { typeItem -> in <lambda>()
293 old, in <lambda>()
294 "qualifier annotations were given for $old but no matching item was found" in <lambda>()
DDriver.kt454 override fun compare(old: ClassItem, new: ClassItem) { in subtractApi()
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_rotate.txt3 This takes the provided keys and creates a SigningCertificateLineage entry linking the old to the
25 specified, an old and a new.
27 --old-signer The signing information for the signer from which to be rotated. This will
34 be the last key in the SigningCertificate object, signed by the old-signer.
82 order of old-signer then new-signer and, within each
105 order of old-signer then new-signer and, within each
153 permit the app data from the old signing certificate to
206 $ apksigner rotate --out /path/to/new/file --old-signer --ks release.jks \
211 --old-signer --ks release2.jks --new-signer --ks release3.jks
214 $ apksigner rotate --out /path/to/new/file --old-signer --ks release.jks \
Dhelp_lineage.txt76 order of old-signer then new-signer and, within each
99 order of old-signer then new-signer and, within each
147 permit the app data from the old signing certificate to
/tools/repohooks/rh/
Dterminal_unittest.py123 old = sys.stdin
128 sys.stdin = old
/tools/asuite/atest/bazel/runner/src/main/protobuf/
Dinvocation_policy.proto110 // Matching old flag values: append = false, overridable = true.
112 // Append a new value for a repeatable flag, leave old values and allow
114 // Matching old flag values: append = true, overridable = false.
118 // Matching old flag values: append = false, overridable = false.
/tools/metalava/
DREADME.md426 open fun compare(old: Item, new: Item) {}
430 open fun compare(old: PackageItem, new: PackageItem) { }
431 open fun compare(old: ClassItem, new: ClassItem) { }
432 open fun compare(old: MethodItem, new: MethodItem) { }
433 open fun compare(old: FieldItem, new: FieldItem) { }
434 open fun compare(old: ParameterItem, new: ParameterItem) { }
453 overrides the `compare(old: Item, new: Item)` method, and checks whether the old
DFORMAT.md226 The old format was completely missing annotation type methods:
355 An example of this is StringBuilder#setLength. According to the old signature
393 The old signature file format used "deprecated" as if it was a modifier. In the
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dapollo_qa.proto4 old message/field/enum & start using new one. If deprecated message
7 sending it, make sure QA has switched to new message/enum/field, remove old
/tools/netsim/rust/
DCMakeLists.txt3 # Delete any old Cargo.lock files
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DModulePusherTest.java531 String old = String.format("package:%s versionCode:%s\n", pack, "1"); in setVersionCodesOnDevice() local
536 apexSb1.append(old); in setVersionCodesOnDevice()
539 apkSb1.append(old); in setVersionCodesOnDevice()
/tools/netsim/proto/netsim/
Dfrontend.proto59 // When turned on the old capture contents are replaced.
/tools/external_updater/
DREADME.md20 relative paths. If you want the old behavior back, leave a comment on
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto275 // (equivalent to the old "--one_java_file" option) and Proto2 (where
361 // Set true to use the old proto1 MessageSet wire format for extensions.
/tools/dexter/testdata/expected/
Dmedium.compact_cfg7634 .local_ex v5, "old", java.lang.Object, "TV;"
7823 .local v3, "old", java.lang.Object
8000 .local_ex v0, "old", java.lang.Object, "TV;"
103178 37| const-string/jumbo v19, "Flushing old alerts from shared prefs table"
103269 163| const-string/jumbo v20, " days old)"
103331 263| const-string/jumbo v20, " days old)"
137142 37| const-string/jumbo v2, " old state: "
162085 39| const-string/jumbo v10, " old state: "