Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 38) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt56 open fun compare(old: Item, new: Item) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
60 open fun compare(old: PackageItem, new: PackageItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
61 open fun compare(old: ClassItem, new: ClassItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
62 open fun compare(old: ConstructorItem, new: ConstructorItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
63 open fun compare(old: MethodItem, new: MethodItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
64 open fun compare(old: FieldItem, new: FieldItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
65 open fun compare(old: PropertyItem, new: PropertyItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
66 open fun compare(old: ParameterItem, new: ParameterItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
90 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare() method in com.android.tools.metalava.CodebaseComparator
101 compare(visitor, oldTree, newTree, null, null, filter) in compare()
[all …]
DNullnessMigration.kt40 override fun compare(old: Item, new: Item) { in compare() method in com.android.tools.metalava.NullnessMigration
50 override fun compare(old: MethodItem, new: MethodItem) { in compare() method in com.android.tools.metalava.NullnessMigration
59 override fun compare(old: FieldItem, new: FieldItem) { in compare() method in com.android.tools.metalava.NullnessMigration
68 override fun compare(old: ParameterItem, new: ParameterItem) { in compare() method in com.android.tools.metalava.NullnessMigration
DConvertJarsToSignatureFiles.kt103 override fun compare(old: MethodItem, new: MethodItem) { in <lambda>() method
108 override fun compare(old: FieldItem, new: FieldItem) { in <lambda>() method
113 CodebaseComparator().compare(visitor, oldCodebase, jarCodebase, null) in <lambda>()
125 override fun compare(old: Item, new: Item) { in <lambda>() method
132 CodebaseComparator().compare(visitor, oldCodebase, jarCodebase, null) in <lambda>()
DCompatibilityCheck.kt156 override fun compare(old: Item, new: Item) { in compare() method in com.android.tools.metalava.CompatibilityCheck
178 override fun compare(old: ParameterItem, new: ParameterItem) { in compare() method in com.android.tools.metalava.CompatibilityCheck
221 override fun compare(old: ClassItem, new: ClassItem) { in compare() method in com.android.tools.metalava.CompatibilityCheck
353 override fun compare(old: MethodItem, new: MethodItem) { in compare() method in com.android.tools.metalava.CompatibilityCheck
602 override fun compare(old: FieldItem, new: FieldItem) { in compare() method in com.android.tools.metalava.CompatibilityCheck
914 … CodebaseComparator().compare(checker, previousFullCodebase, currentFullCodebase, filter) in checkCompatibility()
DAnnotationsDiffer.kt79 override fun compare(old: Item, new: Item) { in <lambda>() method
107 CodebaseComparator().compare(visitor, superset, codebase, filter) in <lambda>()
DAnnotationsMerger.kt250 override fun compare(old: Item, new: Item) { in mergeQualifierAnnotationsFromCodebase() method
310 CodebaseComparator().compare( in mergeQualifierAnnotationsFromCodebase()
321 override fun compare(old: Item, new: Item) { in mergeInclusionAnnotationsFromCodebase() method
341 CodebaseComparator().compare(visitor, externalCodebase, codebase) in mergeInclusionAnnotationsFromCodebase()
DDriver.kt463 CodebaseComparator().compare(object : ComparisonVisitor() { in subtractApi()
464 override fun compare(old: ClassItem, new: ClassItem) { in subtractApi() method
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java116 int res = Integer.compare(packageInfos.size(), other.packageInfos.size()); in compareTo()
122 res = Integer.compare(signatureDigests.size(), other.signatureDigests.size()); in compareTo()
126 res = cmp.compare(signatureDigests.get(i), other.signatureDigests.get(i)); in compareTo()
172 public int compare(byte[] a, byte[] b) { in compare() method in AttestationApplicationId.ByteArrayComparator
173 int res = Integer.compare(a.length, b.length); in compare()
176 res = Byte.compare(a[i], b[i]); in compare()
DAttestationPackageInfo.java73 res = Integer.compare(version, other.version); in compareTo()
/tools/carrier_settings/python/
Dupdate_carrier_data.py34 import compare
52 a = compare.NormalizeRepeatedFields(copy.deepcopy(a))
53 b = compare.NormalizeRepeatedFields(copy.deepcopy(b))
57 return compare.Proto2Equals(a, b)
70 aa = compare.NormalizeRepeatedFields(copy.deepcopy(a))
71 bb = compare.NormalizeRepeatedFields(copy.deepcopy(b))
76 if compare.Proto2Equals(aa, bb):
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DLoopSummary.java178 Double.compare(that.jankRate, jankRate) == 0 && in equals()
181 Double.compare(that.avgFrameTime, avgFrameTime) == 0 && in equals()
185 Double.compare(that.targetPercentile, targetPercentile) == 0; in equals()
/tools/metalava/
DREADME.md404 open fun compare(old: Item, new: Item) {}
408 open fun compare(old: PackageItem, new: PackageItem) { }
409 open fun compare(old: ClassItem, new: ClassItem) { }
410 open fun compare(old: MethodItem, new: MethodItem) { }
411 open fun compare(old: FieldItem, new: FieldItem) { }
412 open fun compare(old: ParameterItem, new: ParameterItem) { }
431 overrides the `compare(old: Item, new: Item)` method, and checks whether the old
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt280 CodebaseComparator().compare(visitor, this, other, filter) in compareWith()
343 CodebaseComparator().compare(object : ComparisonVisitor() { in computeDelta()
/tools/dexter/dexter/
DAndroid.bp24 "-Wno-sign-compare",
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DDigestAlgorithm.java49 public int compare(DigestAlgorithm a1, DigestAlgorithm a2) { in compare() method in DigestAlgorithm.StrengthComparator
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFsDirectoryEntry.java41 public int compare(FsDirectoryEntry e1, FsDirectoryEntry e2) {
/tools/dexter/slicer/
DAndroid.bp30 "-Wno-sign-compare",
/tools/repohooks/rh/
Dshell_unittest.py42 diff = '\n'.join(list(self.differ.compare([test_output], [result])))
/tools/carrier_settings/
DAndroid.bp39 "python/compare.py",
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV2SourceStampVerifier.java153 public int compare(Pair<Integer, byte[]> pair1, Pair<Integer, byte[]> pair2) { in getApkDigests()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt251 ClassItem.fullNameComparator.compare(cls1, cls2) in <lambda>()
DCodebase.kt104 CodebaseComparator().compare(visitor, other, this, filter) in <lambda>()
DMethodItem.kt269 comparator.compare(o1, o2) in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DCentralDirectoryRecord.java292 public int compare(CentralDirectoryRecord r1, CentralDirectoryRecord r2) { in compare() method in CentralDirectoryRecord.ByLocalFileHeaderOffsetComparator
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtilsLite.java213 (sig1, sig2) -> Integer.compare(sig1.algorithm.getId(), sig2.algorithm.getId())); in getSignaturesToVerify()

12