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.java35 DisplayNameComparator comparator = new DisplayNameComparator(pm); in testDisplayNameComparator() local
44 assertTrue(comparator.compare(pkgItemInfo, cmpInfo) < 0); in testDisplayNameComparator()
45 assertTrue(comparator.compare(pkgItemInfo, pkgItemInfo) == 0); in testDisplayNameComparator()
46 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.java56 CoverageComparator comparator = new CoverageComparator(); in printXmlReport() local
58 Collections.sort(packages, comparator); in printXmlReport()
75 Collections.sort(classes, comparator); in printXmlReport()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1245 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1248 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
1262 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local
1268 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1278 Collections.sort(sortedSizes, comparator); in getSortedSizesForFormat()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java838 private IsSortedBy(Function<T, ? extends Comparable> comparator, boolean ascending) {
839 mProperty = comparator;
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java1419 Comparator<Size> comparator = new SizeComparator(); in MaxStreamSizes() local
1428 comparator.compare(maxPriv30fpsSize, s) < 0) { in MaxStreamSizes()
1444 comparator.compare(maxYuv30fpsSize, s) < 0) { in MaxStreamSizes()
1459 comparator.compare(maxJpeg30fpsSize, s) < 0) { in MaxStreamSizes()