Home
last modified time | relevance | path

Searched refs:comparator (Results 1 – 25 of 25) sorted by relevance

/frameworks/compile/mclinker/include/mcld/ADT/
DHashEntry.tcc23 static KeyCompare comparator; in compare() local
24 return comparator(m_Key, pKey); in compare()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java59 TestGrouping(Comparator<Class<? extends TestCase>> comparator, ClassLoader classLoader) { in TestGrouping() argument
60 testCaseClasses = new TreeSet<Class<? extends TestCase>>(comparator); in TestGrouping()
94 return this.testCaseClasses.comparator().equals(other.testCaseClasses.comparator()); in equals()
/frameworks/base/core/java/android/widget/
DArrayAdapter.java345 public void sort(@NonNull Comparator<? super T> comparator) { in sort() argument
348 Collections.sort(mOriginalValues, comparator); in sort()
350 Collections.sort(mObjects, comparator); in sort()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dmox.py1069 for comparator in self._comparators:
1070 if not comparator.equals(rhs):
1102 for comparator in self._comparators:
1103 if comparator.equals(rhs):
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java840 public ArrayList<AppEntry> rebuild(AppFilter filter, Comparator<AppEntry> comparator) { in rebuild() argument
841 return rebuild(filter, comparator, true); in rebuild()
844 public ArrayList<AppEntry> rebuild(AppFilter filter, Comparator<AppEntry> comparator, in rebuild() argument
852 mRebuildComparator = comparator; in rebuild()
868 Comparator<AppEntry> comparator; in handleRebuildList() local
875 comparator = mRebuildComparator; in handleRebuildList()
904 if (comparator != null) { in handleRebuildList()
919 if (comparator != null) { in handleRebuildList()
923 Collections.sort(filteredApps, comparator); in handleRebuildList()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp389 auto comparator = [](const char* str1, const char* str2) -> bool { in compile() local
392 std::set<const char*, decltype(comparator)> inputSet(comparator); in compile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationHeaderUtil.java261 ViewComparator comparator, in HeaderProcessor() argument
266 mComparator = comparator; in HeaderProcessor()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java215 protected void addChild(E child, Comparator<E> comparator) { in addChild() argument
223 if (comparator != null) { in addChild()
226 if (comparator.compare(child, mChildren.get(i)) < 0) { in addChild()
DDisplayContent.java2407 Comparator<DisplayChildWindowContainer> comparator) { in addChild() argument
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dmessage_differencer.cc206 void MessageDifferencer::set_field_comparator(FieldComparator* comparator) { in set_field_comparator() argument
207 GOOGLE_CHECK(comparator) << "Field comparator can't be NULL."; in set_field_comparator()
208 field_comparator_ = comparator; in set_field_comparator()
1446 FieldComparator* comparator = field_comparator_ != NULL ? in GetFieldComparisonResult() local
1448 return comparator->Compare(message1, message2, field, in GetFieldComparisonResult()
Dmessage_differencer.h495 void set_field_comparator(FieldComparator* comparator);
/frameworks/base/core/java/android/net/
DNetworkUtils.java403 final TreeSet<IpPrefix> dst = new TreeSet<>(src.comparator()); in deduplicatePrefixSet()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1104 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1107 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
1121 Comparator<Size> comparator = new SizeComparator(); in getSortedSizesForFormat() local
1127 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1137 Collections.sort(sortedSizes, comparator); in getSortedSizesForFormat()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java103 mEventQueue.comparator()); in recalculatePeriods()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java894 WifiConfigurationUtil.WifiConfigurationComparator comparator = in testPnoListComparator() local
911 Collections.sort(networks, comparator); in testPnoListComparator()
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java1217 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local
1220 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dtext_format.cc1706 MapEntryMessageComparator comparator(field->message_type()); in PrintField() local
1708 comparator); in PrintField()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java2450 final Comparator<FilterStats> comparator = new Comparator<FilterStats>() { in dumpImpl() local
2470 ? Arrays.binarySearch(topFilters, 0, len, fs, comparator) : 0; in dumpImpl()
2523 Collections.sort(tmpFilters, comparator); in dumpImpl()
2725 final Comparator<FilterStats> comparator = new Comparator<FilterStats>() { in dumpProto() local
2745 ? Arrays.binarySearch(topFilters, 0, len, fs, comparator) : 0; in dumpProto()
2788 Collections.sort(tmpFilters, comparator); in dumpProto()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java1925 final Comparator<Configuration> comparator = new Comparator<Configuration>() {
1934 Collections.sort(configs, comparator);
DActivityManagerService.java11716 Comparator<Pair<ProcessRecord, Integer>> comparator in sortProcessOomList() local
11734 Collections.sort(list, comparator); in sortProcessOomList()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java785 static <T> void addOrderedItem(ArrayList<T> array, T newItem, Comparator<T> comparator) { in addOrderedItem() argument
786 int where = Collections.binarySearch(array, newItem, comparator); in addOrderedItem()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt48611 method public java.util.Comparator<? super E> comparator();
48840 method public abstract java.util.Comparator<? super K> comparator();
48849 method public abstract java.util.Comparator<? super E> comparator();
48939 method public java.util.Comparator<? super K> comparator();
48971 method public java.util.Comparator<? super E> comparator();
49240 method public java.util.Comparator<? super K> comparator();
49276 method public java.util.Comparator<? super E> comparator();
49665 method public java.util.Comparator<? super E> comparator();
/frameworks/base/api/
Dcurrent.txt70319 method public java.util.Comparator<? super E> comparator();
70547 method @Nullable public java.util.Comparator<? super K> comparator();
70556 method public java.util.Comparator<? super E> comparator();
70790 method @Nullable public java.util.Comparator<? super K> comparator();
70822 method public java.util.Comparator<? super E> comparator();
71230 method public java.util.Comparator<? super K> comparator();
71263 method public java.util.Comparator<? super E> comparator();
71692 method public java.util.Comparator<? super E> comparator();
/frameworks/base/config/
Dboot-image-profile.txt29330 HSPLjava/util/TreeMap$AscendingSubMap;->comparator()Ljava/util/Comparator;
29371 HSPLjava/util/TreeMap;->comparator()Ljava/util/Comparator;
29405 HSPLjava/util/TreeSet;->comparator()Ljava/util/Comparator;
43639 HSPLjava/util/PriorityQueue;->comparator()Ljava/util/Comparator;
43667 HSPLjava/util/TreeMap$KeySet;->comparator()Ljava/util/Comparator;
Dhiddenapi-greylist-max-o.txt115858 Ljava/util/concurrent/ConcurrentSkipListMap$CSLMSpliterator;->comparator:Ljava/util/Comparator;
115985 Ljava/util/concurrent/ConcurrentSkipListMap;->comparator:Ljava/util/Comparator;
116823 Ljava/util/concurrent/PriorityBlockingQueue;->comparator:Ljava/util/Comparator;
118329 Ljava/util/PriorityQueue;->comparator:Ljava/util/Comparator;
119505 Ljava/util/TreeMap;->comparator:Ljava/util/Comparator;