Home
last modified time | relevance | path

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

12

/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.java167 public int compareTo(Long other) { in compareTo() method in TimeVal
168 return mValue.compareTo(other); in compareTo()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DSourcePositionInfo.kt26 override fun compareTo(other: SourcePositionInfo): Int { in compareTo() method in com.android.tools.metalava.doclava1.SourcePositionInfo
27 val r = file.compareTo(other.file) in compareTo()
/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/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestDescription.java143 public int compareTo(TestDescription o) { in compareTo() method in TestDescription
144 return toString().compareTo(o.toString()); in compareTo()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
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()
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()
/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/metalava/src/main/java/com/android/tools/metalava/model/
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>()
/tools/tradefederation/core/common_util/com/android/tradefed/config/
DOptionUpdateRule.java116 return compCurrent.compareTo(update); in compare()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java510 if (value.compareTo(BigInteger.valueOf(Integer.MIN_VALUE)) < 0 in integerToInt()
511 || value.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) > 0) { in integerToInt()
520 if (value.compareTo(BigInteger.valueOf(Long.MIN_VALUE)) < 0 in integerToLong()
521 || value.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0) { in integerToLong()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionUpdateRule.java129 return compCurrent.compareTo(update); in compare()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java309 public int compareTo(SortShardObj obj) { in compareTo() method in StrictShardHelper.SortShardObj
310 return obj.mAggTime.compareTo(mAggTime); in compareTo()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DChainedDataSourceTest.java119 buffer.compareTo(buffer2) == 0); in assertByteBufferEquals()
/tools/tradefederation/core/test_framework/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/contrib/src/com/android/media/tests/
DAudioLoopbackTestHelper.java267 return o1.mLatencyMs.compareTo(o2.mLatencyMs);
275 return o1.mLatencyConfidence.compareTo(o2.mLatencyConfidence);
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFlashingResourcesParser.java241 if (newest == null || element.compareTo(newest) > 0) { in getNewest()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DConditionPriorityBlockingQueueTest.java320 return o1.compareTo(o2); in compare()
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java313 return f1.getAbsolutePath().compareTo(f2.getAbsolutePath()); in sortFilesByAbsolutePath()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java569 int res = module1NameStripped.compareTo(module2NameStripped); in sortModules()
574 return module1Abi.compareTo(module2Abi); in sortModules()
DSuiteResultReporter.java263 return rate1.compareTo(rate2); in printTopSlowModules()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java380 if (currentString.compareTo(previousString) <= 0) { in isInAlphabeticalOrder()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DStoredEntry.java72 return name1.compareTo(name2);
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java267 public int compareTo(ModuleDefinition moduleDef) { in compareTo() method in ModuleDefinition
268 return getId().compareTo(moduleDef.getId()); in compareTo()

12