Home
last modified time | relevance | path

Searched refs:comparator (Results 1 – 8 of 8) 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.java139 BiPredicate<AccessibilityEvent, T> comparator) { in PropertyMatcher() argument
143 mComparator = comparator; in PropertyMatcher()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsAnimationTestBase.java163 BiPredicate<V, V> comparator) { in assertListElements() argument
167 assertTrue(comparator.test(current, next)); in assertListElements()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java2393 Comparator<Size> comparator = new SizeComparator(); in MaxStreamSizes() local
2403 comparator.compare(maxPriv30fpsSize, s) < 0) { in MaxStreamSizes()
2420 comparator.compare(maxYuv30fpsSize, s) < 0) { in MaxStreamSizes()
2439 comparator.compare(maxY830fpsSize, s) < 0) { in MaxStreamSizes()
2456 comparator.compare(maxJpeg30fpsSize, s) < 0) { in MaxStreamSizes()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java962 private IsSortedBy(Function<T, ? extends Comparable> comparator, boolean ascending) {
963 mProperty = comparator;
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1792 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1795 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
1809 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local
1815 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1825 Collections.sort(sortedSizes, comparator); in getSortedSizesForFormat()