/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | AbstractResolverComparatorTest.java | 48 AbstractResolverComparator comparator = getTestComparator(context); in testPinned() local 50 assertEquals("Pinned ranks over unpinned", -1, comparator.compare(r1, r2)); in testPinned() 51 assertEquals("Unpinned ranks under pinned", 1, comparator.compare(r2, r1)); in testPinned() 73 AbstractResolverComparator comparator = getTestComparator(context); in testBothPinned() local 75 assertEquals("Both pinned should rank alphabetically", -1, comparator.compare(r1, r2)); in testBothPinned()
|
/frameworks/libs/native_bridge_support/linker/ |
D | linker_translate_path.cpp | 92 auto comparator = [name](auto p) { return strcmp(name, p[0]) == 0; }; in translateSystemPathToApexPath() local 94 if (auto it = std::find_if(std::begin(kPathTranslation), std::end(kPathTranslation), comparator); in translateSystemPathToApexPath() 102 std::find_if(std::begin(kPathTranslationQ), std::end(kPathTranslationQ), comparator); in translateSystemPathToApexPath() 111 std::find_if(std::begin(kPathTranslationN), std::end(kPathTranslationN), comparator); in translateSystemPathToApexPath()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | HashEntry.tcc | 23 static KeyCompare comparator; in compare() local 24 return comparator(m_Key, pKey); in compare()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestGrouping.java | 59 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/ |
D | ArrayAdapter.java | 342 public void sort(@NonNull Comparator<? super T> comparator) { in sort() argument 345 Collections.sort(mOriginalValues, comparator); in sort() 347 Collections.sort(mObjects, comparator); in sort()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 840 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/ |
D | rsCpuScriptGroup2.cpp | 389 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/ |
D | NotificationHeaderUtil.java | 261 ViewComparator comparator, in HeaderProcessor() argument 266 mComparator = comparator; in HeaderProcessor()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContainer.java | 217 protected void addChild(E child, Comparator<E> comparator) { in addChild() argument 225 if (comparator != null) { in addChild() 228 if (comparator.compare(child, mChildren.get(i)) < 0) { in addChild()
|
D | DisplayContent.java | 2414 Comparator<DisplayChildWindowContainer> comparator) { in addChild() argument
|
/frameworks/base/core/java/android/net/ |
D | NetworkUtils.java | 394 final TreeSet<IpPrefix> dst = new TreeSet<>(src.comparator()); in deduplicatePrefixSet()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1104 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/ |
D | SipWakeupTimer.java | 103 mEventQueue.comparator()); in recalculatePeriods()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 889 WifiConfigurationUtil.WifiConfigurationComparator comparator = in testPnoListComparator() local 906 Collections.sort(networks, comparator); in testPnoListComparator()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 1217 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local 1220 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 2447 final Comparator<FilterStats> comparator = new Comparator<FilterStats>() { in dumpImpl() local 2467 ? Arrays.binarySearch(topFilters, 0, len, fs, comparator) : 0; in dumpImpl() 2520 Collections.sort(tmpFilters, comparator); in dumpImpl() 2722 final Comparator<FilterStats> comparator = new Comparator<FilterStats>() { in dumpProto() local 2742 ? Arrays.binarySearch(topFilters, 0, len, fs, comparator) : 0; in dumpProto() 2785 Collections.sort(tmpFilters, comparator); in dumpProto()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 1989 final Comparator<Configuration> comparator = new Comparator<Configuration>() { 1998 Collections.sort(configs, comparator);
|
D | ActivityManagerService.java | 11767 Comparator<Pair<ProcessRecord, Integer>> comparator in sortProcessOomList() local 11785 Collections.sort(list, comparator); in sortProcessOomList()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 785 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/ |
D | android-22.txt | 48611 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/non-updatable-api/ |
D | current.txt | 71714 method public java.util.Comparator<? super E> comparator(); 71954 method @Nullable public java.util.Comparator<? super K> comparator(); 71963 method public java.util.Comparator<? super E> comparator(); 72197 method @Nullable public java.util.Comparator<? super K> comparator(); 72229 method public java.util.Comparator<? super E> comparator(); 72637 method public java.util.Comparator<? super K> comparator(); 72670 method public java.util.Comparator<? super E> comparator(); 73122 method public java.util.Comparator<? super E> comparator();
|
/frameworks/base/api/ |
D | current.txt | 71858 method public java.util.Comparator<? super E> comparator(); 72098 method @Nullable public java.util.Comparator<? super K> comparator(); 72107 method public java.util.Comparator<? super E> comparator(); 72341 method @Nullable public java.util.Comparator<? super K> comparator(); 72373 method public java.util.Comparator<? super E> comparator(); 72781 method public java.util.Comparator<? super K> comparator(); 72814 method public java.util.Comparator<? super E> comparator(); 73266 method public java.util.Comparator<? super E> comparator();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 29329 HSPLjava/util/TreeMap$AscendingSubMap;->comparator()Ljava/util/Comparator; 29370 HSPLjava/util/TreeMap;->comparator()Ljava/util/Comparator; 29404 HSPLjava/util/TreeSet;->comparator()Ljava/util/Comparator; 43638 HSPLjava/util/PriorityQueue;->comparator()Ljava/util/Comparator; 43666 HSPLjava/util/TreeMap$KeySet;->comparator()Ljava/util/Comparator;
|
D | hiddenapi-greylist-max-o.txt | 108580 Ljava/util/concurrent/ConcurrentSkipListMap$CSLMSpliterator;->comparator:Ljava/util/Comparator; 108681 Ljava/util/concurrent/ConcurrentSkipListMap;->comparator:Ljava/util/Comparator; 109452 Ljava/util/concurrent/PriorityBlockingQueue;->comparator:Ljava/util/Comparator; 110783 Ljava/util/PriorityQueue;->comparator:Ljava/util/Comparator; 111823 Ljava/util/TreeMap;->comparator:Ljava/util/Comparator;
|