Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageItemInfo_DisplayNameComparatorTest.java37 DisplayNameComparator comparator = new DisplayNameComparator(pm); in testDisplayNameComparator() local
46 assertTrue(comparator.compare(pkgItemInfo, cmpInfo) < 0); in testDisplayNameComparator()
47 assertTrue(comparator.compare(pkgItemInfo, pkgItemInfo) == 0); in testDisplayNameComparator()
48 assertTrue(comparator.compare(cmpInfo, pkgItemInfo) > 0); in testDisplayNameComparator()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTextReport.java34 CoverageComparator comparator = new CoverageComparator(); in printTextReport() local
36 Collections.sort(packages, comparator); in printTextReport()
52 Collections.sort(classes, comparator); in printTextReport()
DXmlReport.java57 CoverageComparator comparator = new CoverageComparator(); in printXmlReport() local
59 Collections.sort(packages, comparator); in printXmlReport()
76 Collections.sort(classes, comparator); in printXmlReport()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java125 BiPredicate<AccessibilityEvent, T> comparator) { in PropertyMatcher() argument
129 mComparator = comparator; in PropertyMatcher()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java857 private IsSortedBy(Function<T, ? extends Comparable> comparator, boolean ascending) {
858 mProperty = comparator;
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1285 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1288 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
1302 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local
1308 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1318 Collections.sort(sortedSizes, comparator); in getSortedSizesForFormat()