/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/s2/ |
D | S2LevelRangeTest.java | 127 assertEquals(0, S2LevelRange.COMPARATOR.compare(lowRange, lowRange)); in startCellIdComparator() 128 assertEquals(-1, S2LevelRange.COMPARATOR.compare(lowRange, midRange)); in startCellIdComparator() 129 assertEquals(-1, S2LevelRange.COMPARATOR.compare(lowRange, highRange)); in startCellIdComparator() 130 assertEquals(1, S2LevelRange.COMPARATOR.compare(midRange, lowRange)); in startCellIdComparator() 131 assertEquals(0, S2LevelRange.COMPARATOR.compare(midRange, midRange)); in startCellIdComparator() 132 assertEquals(-1, S2LevelRange.COMPARATOR.compare(midRange, highRange)); in startCellIdComparator() 133 assertEquals(1, S2LevelRange.COMPARATOR.compare(highRange, lowRange)); in startCellIdComparator() 134 assertEquals(1, S2LevelRange.COMPARATOR.compare(highRange, midRange)); in startCellIdComparator() 135 assertEquals(0, S2LevelRange.COMPARATOR.compare(highRange, highRange)); in startCellIdComparator()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/ |
D | WidgetsDiffReporterTest.java | 62 private static final WidgetListBaseRowEntryComparator COMPARATOR = field in WidgetsDiffReporterTest 115 mWidgetsDiffReporter.process(currentList, currentList, COMPARATOR); in listNotChanged_shouldNotInvokeAnyCallbacks() 134 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersOnly_emptyListToNonEmpty_shouldInvokeNotifyDataSetChanged() 151 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersOnly_nonEmptyToEmptyList_shouldInvokeNotifyDataSetChanged() 168 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersOnly_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks() 191 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersContentsMix_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks() 215 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersContentsMix_userInteractWithHeader_shouldInvokeCorrectCallbacks() 236 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersContentsMix_headerWidgetsModified_shouldInvokeCorrectCallbacks() 260 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersContentsMix_contentMaxSpanSizeModified_shouldInvokeCorrectCallbacks()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreferenceTest.java | 66 private static final Comparator<BluetoothDevicePreference> COMPARATOR = field in BluetoothDevicePreferenceTest 244 Collections.sort(mPreferenceList, COMPARATOR); in compareTo_sortTypeFIFO() 269 Collections.sort(mPreferenceList, COMPARATOR); in compareTo_sortTypeDefault()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | BluetoothDevicesSlice.java | 75 private static final Comparator<CachedBluetoothDevice> COMPARATOR = Comparator.naturalOrder(); field in BluetoothDevicesSlice 191 .sorted(COMPARATOR).collect(Collectors.toList()); in getPairedBluetoothDevices()
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/s2/ |
D | S2LevelRange.java | 35 public static Comparator<? super S2LevelRange> COMPARATOR = (o1, o2) -> { field in S2LevelRange
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 227 private static final Comparator<AidlVersion> COMPARATOR = field in NetworkStackService.NetworkStackConnector.AidlVersion 261 return COMPARATOR.compare(this, o); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryChartPreferenceController.java | 373 Collections.sort(appEntries, BatteryDiffEntry.COMPARATOR); in addAllPreferences() 374 Collections.sort(mSystemEntries, BatteryDiffEntry.COMPARATOR); in addAllPreferences()
|
D | BatteryDiffEntry.java | 46 public static final Comparator<BatteryDiffEntry> COMPARATOR = field in BatteryDiffEntry
|
D | BatteryAppListPreferenceController.java | 390 results.sort(BatteryEntry.COMPARATOR); in getCoalescedUsageList()
|
D | BatteryEntry.java | 157 public static final Comparator<BatteryEntry> COMPARATOR = field in BatteryEntry
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryDiffEntryTest.java | 109 Collections.sort(entryList, BatteryDiffEntry.COMPARATOR); in testComparator_sortCollectionsInDescOrder()
|