Home
last modified time | relevance | path

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

123

/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt55 open fun compare(old: Item, new: Item) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
59 open fun compare(old: PackageItem, new: PackageItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
60 open fun compare(old: ClassItem, new: ClassItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
61 open fun compare(old: ConstructorItem, new: ConstructorItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
62 open fun compare(old: MethodItem, new: MethodItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
63 open fun compare(old: FieldItem, new: FieldItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
64 open fun compare(old: PropertyItem, new: PropertyItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
65 open fun compare(old: ParameterItem, new: ParameterItem) {} in <lambda>() method in com.android.tools.metalava.ComparisonVisitor
89 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare() method in com.android.tools.metalava.CodebaseComparator
100 compare(visitor, oldTree, newTree, null, null) in compare()
[all …]
DCompatibilityCheck.kt85 override fun compare(old: Item, new: Item) { in compare() method in com.android.tools.metalava.CompatibilityCheck
153 override fun compare(old: ParameterItem, new: ParameterItem) { in compare() method in com.android.tools.metalava.CompatibilityCheck
196 override fun compare(old: ClassItem, new: ClassItem) { in compare() method in com.android.tools.metalava.CompatibilityCheck
320 override fun compare(old: MethodItem, new: MethodItem) { in compare() method in com.android.tools.metalava.CompatibilityCheck
562 override fun compare(old: FieldItem, new: FieldItem) { in compare() method in com.android.tools.metalava.CompatibilityCheck
878 CodebaseComparator().compare(checker, previous, codebase, filter) in checkCompatibility()
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>()
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
DAnnotationsMerger.kt249 override fun compare(old: Item, new: Item) { in mergeQualifierAnnotationsFromCodebase() method
305 CodebaseComparator().compare( in mergeQualifierAnnotationsFromCodebase()
316 override fun compare(old: Item, new: Item) { in mergeInclusionAnnotationsFromCodebase() method
336 CodebaseComparator().compare(visitor, externalCodebase, codebase) in mergeInclusionAnnotationsFromCodebase()
DAnnotationsDiffer.kt82 override fun compare(old: Item, new: Item) { in <lambda>() method
110 CodebaseComparator().compare(visitor, superset, codebase, filter) in <lambda>()
DDriver.kt448 CodebaseComparator().compare(object : ComparisonVisitor() { in subtractApi()
449 override fun compare(old: ClassItem, new: ClassItem) { in subtractApi() method
/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/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTestHelper.java266 public int compare(ResultData o1, ResultData o2) {
274 public int compare(ResultData o1, ResultData o2) {
282 public int compare(ResultData o1, ResultData o2) {
283 return Integer.compare(o1.mIteration, o2.mIteration);
/tools/tradefederation/core/common_util/com/android/tradefed/config/
DOptionUpdateRule.java51 return current == null || compare(optionName, current, update) < 0; in shouldUpdate()
60 return current == null || compare(optionName, current, update) > 0; in shouldUpdate()
103 private static int compare(String optionName, Object current, Object update) in compare() method in OptionUpdateRule
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionUpdateRule.java54 if (compare(optionName, current, update) < 0) { in update()
70 if (compare(optionName, current, update) > 0) { in update()
116 private static int compare(String optionName, Object current, Object update) in compare() method in OptionUpdateRule
/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/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java424 public int compare(ExecutableCommand c1, ExecutableCommand c2) { in compare() method in CommandScheduler.ExecutableCommandComparator
425 return mTrackerComparator.compare(c1.getCommandTracker(), c2.getCommandTracker()); in compare()
437 public int compare(CommandTracker c1, CommandTracker c2) { in compare() method in CommandScheduler.CommandTrackerTimeComparator
456 public int compare(CommandTracker c1, CommandTracker c2) { in compare() method in CommandScheduler.CommandTrackerIdComparator
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java222 public int compare(TestRunResult o1, TestRunResult o2) { in printModuleTestTime()
260 public int compare(TestRunResult o1, TestRunResult o2) { in printTopSlowModules()
/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.bp20 "-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.bp26 "-Wno-sign-compare",
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileIdleMonitor.java90 return mFiles.stream().map(File::lastModified).max(Long::compare).orElse(0L); in getTimestamp()
DConditionPriorityBlockingQueue.java247 return mComparator.compare(object, minObject); in compareObjects()
/tools/repohooks/rh/
Dshell_unittest.py45 diff = '\n'.join(list(self.differ.compare([test_output], [result])))
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt246 ClassItem.fullNameComparator.compare(cls1, cls2) 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/tradefederation/core/tests/src/com/android/tradefed/util/
DConditionPriorityBlockingQueueTest.java319 public int compare(Integer o1, Integer o2) { in compare() method in ConditionPriorityBlockingQueueTest.IntCompare

123