Searched refs:comparator (Results 1 – 7 of 7) 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 | 145 BiPredicate<AccessibilityEvent, T> comparator) { in PropertyMatcher() argument 149 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 | 2398 Comparator<Size> comparator = new SizeComparator(); in MaxStreamSizes() local 2408 comparator.compare(maxPriv30fpsSize, s) < 0) { in MaxStreamSizes() 2425 comparator.compare(maxYuv30fpsSize, s) < 0) { in MaxStreamSizes() 2444 comparator.compare(maxY830fpsSize, s) < 0) { in MaxStreamSizes() 2461 comparator.compare(maxJpeg30fpsSize, s) < 0) { in MaxStreamSizes()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1830 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local 1833 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes() 1858 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local 1864 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat() 1874 Collections.sort(sortedSizes, comparator); in getSortedSizesForFormat()
|