Searched refs:comparator (Results 1 - 12 of 12) sorted by relevance

/cts/tools/signature-tools/test/signature/comparator/util/
H A DAbstractComparatorTest.java17 package signature.comparator.util;
33 private IApiComparator comparator; field in class:AbstractComparatorTest
37 comparator = new ApiComparator();
41 return comparator.compare(from, to);
/cts/tools/signature-tools/test/signature/comparator/
H A DAnnotationCompareTest.java17 package signature.comparator;
24 import signature.comparator.util.AbstractComparatorTest;
H A DAllDocletTests.java17 package signature.comparator;
H A DAllDexTests.java17 package signature.comparator;
H A DPackageCompareTest.java17 package signature.comparator;
25 import signature.comparator.util.AbstractComparatorTest;
H A DClassCompareTest.java17 package signature.comparator;
26 import signature.comparator.util.AbstractComparatorTest;
H A DMethodCompareTests.java17 package signature.comparator;
27 import signature.comparator.util.AbstractComparatorTest;
/cts/tests/tests/content/src/android/content/pm/cts/
H A DPackageItemInfo_DisplayNameComparatorTest.java55 DisplayNameComparator comparator = new DisplayNameComparator(pm);
64 assertTrue(comparator.compare(pkgItemInfo, cmpInfo) < 0);
65 assertTrue(comparator.compare(pkgItemInfo, pkgItemInfo) == 0);
66 assertTrue(comparator.compare(cmpInfo, pkgItemInfo) > 0);
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
H A DXmlReport.java54 CoverageComparator comparator = new CoverageComparator();
56 Collections.sort(packages, comparator);
68 Collections.sort(classes, comparator);
H A DTextReport.java33 CoverageComparator comparator = new CoverageComparator();
35 Collections.sort(packages, comparator);
52 Collections.sort(classes, comparator);
/cts/tools/signature-tools/src/signature/compare/
H A DMain.java141 IApiComparator comparator = new ApiComparator();
147 IApiDelta delta = comparator.compare(fromApi, toApi);
H A 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);
1617 compareSets(Set<T> from, Set<T> to, SigComparator<T, S> comparator) argument

Completed in 245 milliseconds