Home
last modified time | relevance | path

Searched refs:compareTo (Results 1 – 25 of 40) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt306 item1.qualifiedName().compareTo((item2 as PackageItem).qualifiedName()) in compare()
309 item1.qualifiedName().compareTo((item2 as ClassItem).qualifiedName()) in compare()
312 var delta = item1.name().compareTo((item2 as MethodItem).name()) in compare()
325 delta = type1.compareTo(type2) in compare()
334 delta = simpleType1.compareTo(simpleType2) in compare()
340 delta = t1.compareTo(t2) in compare()
355 item1.name().compareTo((item2 as FieldItem).name()) in compare()
358 item1.parameterIndex.compareTo((item2 as ParameterItem).parameterIndex) in compare()
361 … (item1.qualifiedName() ?: "").compareTo((item2 as AnnotationItem).qualifiedName() ?: "") in compare()
364 item1.name().compareTo((item2 as PropertyItem).name()) in compare()
[all …]
DAnnotationStatistics.kt186 o1.toString().compareTo(o2.toString()) in <lambda>()
223 o1.toString().compareTo(o2.toString()) in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/util/
DListInstrumentationParser.java93 public int compareTo(InstrumentationTarget o) { in compareTo() method in ListInstrumentationParser.InstrumentationTarget
95 return this.packageName.compareTo(o.packageName); in compareTo()
97 return this.runnerName.compareTo(o.runnerName); in compareTo()
99 return this.targetName.compareTo(o.targetName); in compareTo()
DTimeVal.java164 public int compareTo(Long other) { in compareTo() method in TimeVal
165 return mValue.compareTo(other); in compareTo()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java87 assertEquals(0, mRootDir.compareTo(branchDir.getParentFile())); in testGetFileDir()
93 assertTrue(generatedDir.compareTo(newgeneratedDir) != 0); in testGetFileDir()
96 assertEquals(0, tagDir.compareTo(newTagDir)); in testGetFileDir()
119 assertEquals(0, mRootDir.compareTo(buildDir.getParentFile())); in testGetFileDir_nobranch()
DFileSystemLogSaverTest.java101 assertEquals(0, mReportDir.compareTo(branchDir.getParentFile())); in testGetFileDir()
110 assertTrue(generatedDir.compareTo(newGeneratedDir) != 0); in testGetFileDir()
113 assertEquals(0, tagDir.compareTo(newTagDir)); in testGetFileDir()
138 assertEquals(0, mReportDir.compareTo(buildDir.getParentFile())); in testGetFileDir_nobranch()
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestOption.java40 public int compareTo(TestOption option) { in compareTo() method in TestOption
41 return (mName.compareTo(option.getName())); in compareTo()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DSourcePositionInfo.java58 public int compareTo(@NotNull Object o) { in compareTo() method in SourcePositionInfo
60 int r = this.file.compareTo(that.file); in compareTo()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt370 val delta = o1.fullName().compareTo(o2.fullName()) in <lambda>()
372 o1.qualifiedName().compareTo(o2.qualifiedName()) in <lambda>()
379 a.simpleName().compareTo(b.simpleName()) in <lambda>()
382 …val fullNameComparator: Comparator<ClassItem> = Comparator { a, b -> a.fullName().compareTo(b.full… in <lambda>()
385 a.qualifiedName().compareTo(b.qualifiedName()) in <lambda>()
DMethodItem.kt250 .compareTo(p2[i].type().toTypeString(), ignoreCase = true) in <lambda>()
256 return p1n.compareTo(p2n) in <lambda>()
259 return name1.compareTo(name2) in <lambda>()
DPropertyItem.kt65 …omparator: java.util.Comparator<PropertyItem> = Comparator { a, b -> a.name().compareTo(b.name()) } in <lambda>()
DPackageItem.kt113 …val comparator: Comparator<PackageItem> = Comparator { a, b -> a.qualifiedName().compareTo(b.quali… in <lambda>()
DTypeItem.kt258 type1.toTypeString().compareTo(type2.toTypeString()) in <lambda>()
DFieldItem.kt147 …val comparator: java.util.Comparator<FieldItem> = Comparator { a, b -> a.name().compareTo(b.name()… in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiElement.java232 public int compareTo(@NotNull ApiElement other) { in compareTo() method in ApiElement
233 return mName.compareTo(other.mName); in compareTo()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java301 public int compareTo(SortShardObj obj) { in compareTo() method in StrictShardHelper.SortShardObj
302 return obj.mAggTime.compareTo(mAggTime); in compareTo()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFsDirectoryEntry.java44 return e1.getName().compareTo(e2.getName());
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DGTestResultParser.java631 if (testResult.mTestClass.compareTo(parsedResults.mTestClassName) != 0) { in doTestEnded()
638 if (testResult.mTestName.compareTo(parsedResults.mTestName) != 0) { in doTestEnded()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionUpdateRule.java116 return compCurrent.compareTo(update); in compare()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionUpdateRule.java129 return compCurrent.compareTo(update); in compare()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTestHelper.java267 return o1.mLatencyMs.compareTo(o2.mLatencyMs);
275 return o1.mLatencyConfidence.compareTo(o2.mLatencyConfidence);
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DChainedDataSourceTest.java119 buffer.compareTo(buffer2) == 0); in assertByteBufferEquals()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFlashingResourcesParser.java239 if (newest == null || element.compareTo(newest) > 0) { in getNewest()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java246 public int compareTo(ModuleDefinition moduleDef) { in compareTo() method in ModuleDefinition
247 return getId().compareTo(moduleDef.getId()); in compareTo()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DConditionPriorityBlockingQueueTest.java320 return o1.compareTo(o2); in compare()

12