Home
last modified time | relevance | path

Searched refs:comparator (Results 1 – 15 of 15) sorted by relevance

/cts/tools/signature-tools/test/signature/comparator/util/
DAbstractComparatorTest.java17 package signature.comparator.util;
33 private IApiComparator comparator; field in AbstractComparatorTest
37 comparator = new ApiComparator(); in setupComparator()
41 return comparator.compare(from, to); in compare()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageItemInfo_DisplayNameComparatorTest.java35 DisplayNameComparator comparator = new DisplayNameComparator(pm); in testDisplayNameComparator() local
44 assertTrue(comparator.compare(pkgItemInfo, cmpInfo) < 0); in testDisplayNameComparator()
45 assertTrue(comparator.compare(pkgItemInfo, pkgItemInfo) == 0); in testDisplayNameComparator()
46 assertTrue(comparator.compare(cmpInfo, pkgItemInfo) > 0); in testDisplayNameComparator()
/cts/tools/signature-tools/test/signature/comparator/
DAnnotationCompareTest.java17 package signature.comparator;
24 import signature.comparator.util.AbstractComparatorTest;
DPackageCompareTest.java17 package signature.comparator;
25 import signature.comparator.util.AbstractComparatorTest;
DAllDocletTests.java17 package signature.comparator;
DAllDexTests.java17 package signature.comparator;
DClassCompareTest.java17 package signature.comparator;
26 import signature.comparator.util.AbstractComparatorTest;
DMethodCompareTests.java17 package signature.comparator;
27 import signature.comparator.util.AbstractComparatorTest;
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DXmlReport.java54 CoverageComparator comparator = new CoverageComparator(); in printXmlReport() local
56 Collections.sort(packages, comparator); in printXmlReport()
73 Collections.sort(classes, comparator); in printXmlReport()
DTextReport.java34 CoverageComparator comparator = new CoverageComparator(); in printTextReport() local
36 Collections.sort(packages, comparator); in printTextReport()
52 Collections.sort(classes, comparator); in printTextReport()
/cts/tools/signature-tools/
DREADME.txt13 #Comparator : Put two signature models into the comparator and you get a delta model
30 | compare : the comparator code
/cts/tools/signature-tools/src/signature/compare/
DMain.java141 IApiComparator comparator = new ApiComparator(); in main() local
147 IApiDelta delta = comparator.compare(fromApi, toApi); in main()
DApiComparator.java1618 Set<T> to, SigComparator<T, S> comparator) {
1630 equals = comparator.considerEqualElement(fromType, toElement);
1632 S compare = comparator.createChangedDelta(fromType,
1644 S delta = comparator.createAddRemoveDelta(fromType, null);
1652 S delta = comparator.createAddRemoveDelta(null, type);
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java1061 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1064 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
1078 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local
1084 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1094 Collections.sort(sortedSizes, comparator); in getSortedSizesForFormat()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex42165 public abstract java.util.Comparator comparator()
42200 public java.util.Comparator comparator()
42224 public abstract java.util.Comparator comparator()
42258 public java.util.Comparator comparator()
42438 private final java.util.Comparator comparator
42893 public java.util.Comparator comparator()
42933 public java.util.Comparator comparator()
43313 public java.util.Comparator comparator()
43346 public java.util.Comparator comparator()
46915 private java.util.Comparator comparator
[all …]