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.java132 BiPredicate<AccessibilityEvent, T> comparator) { in PropertyMatcher() argument
136 mComparator = comparator; in PropertyMatcher()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsAnimationTestBase.java162 BiPredicate<V, V> comparator) { in assertListElements() argument
166 assertTrue(comparator.test(current, next)); in assertListElements()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java2246 Comparator<Size> comparator = new SizeComparator(); in MaxStreamSizes() local
2256 comparator.compare(maxPriv30fpsSize, s) < 0) { in MaxStreamSizes()
2273 comparator.compare(maxYuv30fpsSize, s) < 0) { in MaxStreamSizes()
2292 comparator.compare(maxY830fpsSize, s) < 0) { in MaxStreamSizes()
2309 comparator.compare(maxJpeg30fpsSize, s) < 0) { in MaxStreamSizes()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java936 private IsSortedBy(Function<T, ? extends Comparable> comparator, boolean ascending) {
937 mProperty = comparator;
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1512 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1515 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
1529 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local
1535 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1545 Collections.sort(sortedSizes, comparator); in getSortedSizesForFormat()