Searched refs:comparator (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfo_DisplayNameComparatorTest.java | 37 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/ |
D | TextReport.java | 34 CoverageComparator comparator = new CoverageComparator(); in printTextReport() local 36 Collections.sort(packages, comparator); in printTextReport() 52 Collections.sort(classes, comparator); in printTextReport()
|
D | XmlReport.java | 57 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/ |
D | AccessibilityEventFilterUtils.java | 139 BiPredicate<AccessibilityEvent, T> comparator) { in PropertyMatcher() argument 143 mComparator = comparator; in PropertyMatcher()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsAnimationTestBase.java | 163 BiPredicate<V, V> comparator) { in assertListElements() argument 167 assertTrue(comparator.test(current, next)); in assertListElements()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RobustnessTest.java | 2393 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/ |
D | AccessibilityWindowQueryTest.java | 962 private IsSortedBy(Function<T, ? extends Comparable> comparator, boolean ascending) { 963 mProperty = comparator;
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1792 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()
|