/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/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/kv/ |
D | DecryptedChunkKvOutputTest.java | 147 Comparator<KeyValuePairProto.KeyValuePair> comparator) { in isInOrder() argument 153 Collections.sort(sortedList, comparator); in isInOrder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsFavoritingActivity.kt | 89 private lateinit var comparator: Comparator<StructureContainer> in <lambda>() variable 126 comparator = compareBy(collator) { it.structureName } in <lambda>() 154 }.sortedWith(comparator) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ShadeListBuilder.java | 207 for (NotifComparator comparator : comparators) { in setComparators() 208 mNotifComparators.add(comparator); in setComparators() 209 comparator.setInvalidationListener(this::onNotifComparatorInvalidated); in setComparators() 263 private void onNotifComparatorInvalidated(NotifComparator comparator) { in onNotifComparatorInvalidated() argument 266 mLogger.logNotifComparatorInvalidated(comparator.getName(), mPipelineState.getState()); in onNotifComparatorInvalidated()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | ShadeListBuilderTest.java | 767 NotifComparator comparator = spy(new HypeComparator(PACKAGE_4)); in testListenersAndPluggablesAreFiredInOrder() local 773 mListBuilder.setComparators(Collections.singletonList(comparator)); in testListenersAndPluggablesAreFiredInOrder() 796 comparator, in testListenersAndPluggablesAreFiredInOrder() 810 inOrder.verify(comparator, atLeastOnce()) in testListenersAndPluggablesAreFiredInOrder() 1093 NotifComparator comparator = new HypeComparator(PACKAGE_5); in testOutOfOrderComparatorInvalidationThrows() local 1095 (list) -> comparator.invalidateList(); in testOutOfOrderComparatorInvalidationThrows() 1096 mListBuilder.setComparators(Collections.singletonList(comparator)); in testOutOfOrderComparatorInvalidationThrows()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 855 public ArrayList<AppEntry> rebuild(AppFilter filter, Comparator<AppEntry> comparator) { in rebuild() argument 856 return rebuild(filter, comparator, true); in rebuild() 859 public ArrayList<AppEntry> rebuild(AppFilter filter, Comparator<AppEntry> comparator, in rebuild() argument 867 mRebuildComparator = comparator; in rebuild() 883 Comparator<AppEntry> comparator; in handleRebuildList() local 894 comparator = mRebuildComparator; in handleRebuildList() 923 if (comparator != null) { in handleRebuildList() 938 if (comparator != null) { in handleRebuildList() 942 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 | 268 ViewComparator comparator, in HeaderProcessor() argument 273 mComparator = comparator; in HeaderProcessor()
|
/frameworks/base/core/java/android/net/ |
D | NetworkUtils.java | 395 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 | 874 WifiConfigurationUtil.WifiConfigurationComparator comparator = in testPnoListComparator() local 891 Collections.sort(networks, comparator); in testPnoListComparator()
|
D | WifiConnectivityManagerTest.java | 134 Comparator<WifiConfiguration> comparator = in setUp() local 136 when(mWifiConfigManager.getScanListComparator()).thenReturn(comparator); in setUp()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 1339 Comparator<Size> comparator = new SizeComparator(); in getAscendingOrderSizes() local 1342 Collections.sort(sortedSizes, comparator); in getAscendingOrderSizes()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContainer.java | 484 protected void addChild(E child, Comparator<E> comparator) { in addChild() argument 492 if (comparator != null) { in addChild() 495 if (comparator.compare(child, mChildren.get(i)) < 0) { in addChild()
|
D | DisplayContent.java | 2567 Comparator<DisplayChildWindowContainer> comparator) { in addChild() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 2472 final Comparator<FilterStats> comparator = new Comparator<FilterStats>() { in dumpImpl() local 2492 ? Arrays.binarySearch(topFilters, 0, len, fs, comparator) : 0; in dumpImpl() 2545 Collections.sort(tmpFilters, comparator); in dumpImpl() 2746 final Comparator<FilterStats> comparator = new Comparator<FilterStats>() { in dumpProto() local 2766 ? Arrays.binarySearch(topFilters, 0, len, fs, comparator) : 0; in dumpProto() 2809 Collections.sort(tmpFilters, comparator); in dumpProto()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | doclava.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/ccil/
org/ ... |
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 796 static <T> void addOrderedItem(ArrayList<T> array, T newItem, Comparator<T> comparator) { 797 int where = Collections.binarySearch(array, newItem, comparator);
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2042 final Comparator<Configuration> comparator = new Comparator<Configuration>() { 2051 Collections.sort(configs, comparator);
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |