Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/compile/mclinker/include/mcld/ADT/
Dilist_sort.h22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { in sort() function
54 sort(xs, mid, is_less_than); in sort()
55 sort(ys, size - mid, is_less_than); in sort()
77 void sort(llvm::iplist<T, Alloc>& list,
79 detail::sort(list, list.size(), is_less_than);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DMediaDeviceTest.java151 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_carKit_nonCarKitBluetooth_carKitFirst()
162 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_carKit_info_carKitFirst()
173 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_carKit_phone_phoneFirst()
186 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_carKitIsDisConnected_nonCarKitBluetooth_nonCarKitBluetoothFirst()
197 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_lastSelected_others_lastSelectedFirst()
213 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_connectionRecord_sortByRecord()
232 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_sortByRecord_connectedDeviceFirst()
243 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_info_bluetooth_infoFirst()
253 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_bluetooth_phone_phoneFirst()
263 Collections.sort(mMediaDevices, COMPARATOR); in compareTo_twoInfo_sortByAlphabet()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTestUtil.java107 Arrays.sort(expected, Comparator.comparingInt(x -> x.failureReason)); in assertLinkProbeFailureReasonCountsEqual()
108 Arrays.sort(actual, Comparator.comparingInt(x -> x.failureReason)); in assertLinkProbeFailureReasonCountsEqual()
158 Arrays.sort(expected, Comparator.comparingInt(x -> x.deviceMobilityState)); in assertDeviceMobilityStatePnoScanStatsEqual()
159 Arrays.sort(actual, Comparator.comparingInt(x -> x.deviceMobilityState)); in assertDeviceMobilityStatePnoScanStatsEqual()
253 Arrays.sort(expected, Comparator.comparing(x -> x.experimentId)); in assertExperimentProbeCountsEqual()
254 Arrays.sort(actual, Comparator.comparing(x -> x.experimentId)); in assertExperimentProbeCountsEqual()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetailCache.java122 Collections.sort(list, new Comparator() { in trim()
144 private ArrayList<ScanDetail> sort() { in sort() method in ScanDetailCache
147 Collections.sort(list, new Comparator() { in sort()
175 ArrayList<ScanDetail> list = sort(); in toString()
/frameworks/base/data/sounds/
Dgenerate-all-audio.sh46 sort -u |
54 sort -u |
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java224 mHelper.sort(notificationList); in testSortShouldRespectCritical()
251 mHelper.sort(notificationList); in testFindAfterRankingWithASplitGroup()
263 mHelper.sort(notificationList); in testSortShouldNotThrowWithPlainNotifications()
271 mHelper.sort(notificationList); in testSortShouldNotThrowOneSorted()
278 mHelper.sort(notificationList); in testSortShouldNotThrowOneNotification()
285 mHelper.sort(notificationList); in testSortShouldNotThrowOneSortKey()
291 mHelper.sort(notificationList); in testSortShouldNotThrowOnEmptyList()
323 mHelper.sort(notificationList); in testGroupNotifications_highestIsProxy()
DGlobalSortKeyComparatorTest.java80 Collections.sort(actual, new GlobalSortKeyComparator()); in testComparator()
110 Collections.sort(actual, new GlobalSortKeyComparator()); in testNoCrash_leftNull()
140 Collections.sort(actual, new GlobalSortKeyComparator()); in testNoCrash_rightNull()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTest.java125 Collections.sort(sources); in testEmergencyNumberSpecificService()
129 Collections.sort(sourcesToVerify); in testEmergencyNumberSpecificService()
175 Collections.sort(categories); in testEmergencyNumberMultipleServices()
180 Collections.sort(categoriesToVerify); in testEmergencyNumberMultipleServices()
194 Collections.sort(sources); in testEmergencyNumberMultipleServices()
199 Collections.sort(sourcesToVerify); in testEmergencyNumberMultipleServices()
475 Collections.sort(outputNumberList);
594 Collections.sort(outputNumberList);
/frameworks/rs/perf-test-scripts/
Dget-freq59 frequencies=( `printf "%s\n" "${frequencies[@]}" | sort -n` )
86 frequencies=( `printf "%s\n" "${frequencies[@]}" | sort -n` )
/frameworks/compile/mclinker/include/mcld/LD/
DRelocData.h91 void sort(Comparator pComparator) { in sort() function
92 mcld::sort(m_Relocations, pComparator); in sort()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java97 public void sort(ArrayList<NotificationRecord> notificationList) { in sort() method in RankingHelper
105 Collections.sort(notificationList, mPreliminaryComparator); in sort()
155 Collections.sort(notificationList, mFinalComparator); in sort()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListGetCheckItemIdsTest.java49 Arrays.sort(sortedCheckItemsIds); in assertChecked()
53 Arrays.sort(sortedExpectedIds); in assertChecked()
/frameworks/base/core/java/android/os/health/
DHealthKeys.java207 Arrays.sort(mArray); in getArray()
212 Arrays.sort(result); in getArray()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DDashboardCategory.java104 Collections.sort(mTiles, Tile.TILE_COMPARATOR); in sortTiles()
112 Collections.sort(mTiles, (tile1, tile2) -> { in sortTiles()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java94 Collections.sort(mSupportedPreviewFpsRange, mFpsComparator); in buildPreviewFpsRange()
104 Collections.sort(mSupportedPreviewSizes, mSizeComparator); in buildPreviewSizes()
114 Collections.sort(mSupportedVideoSizes, mSizeComparator); in buildVideoSizes()
124 Collections.sort(mSupportedPhotoSizes, mSizeComparator); in buildPictureSizes()
/frameworks/base/config/
Dgenerate-preloaded-classes.sh39 LC_ALL=C sort "$input" "${extra_classes_files[@]}" | uniq | grep -f "$blacklist" -v -F -x | grep -v…
/frameworks/base/core/java/android/view/
DFocusFinder.java283 Collections.sort(clusters, mUserSpecifiedClusterComparator); in findNextKeyboardNavigationCluster()
308 Collections.sort(focusables, mUserSpecifiedFocusComparator); in findNextFocusInRelativeDirection()
819 public void sort(View[] views, int start, int end, ViewGroup root, boolean isRtl) { in sort() method in FocusFinder.FocusSorter
839 Arrays.sort(views, start, count, mTopsComparator); in sort()
849 Arrays.sort(views, rowStart, sweepIdx, mSidesComparator); in sort()
860 Arrays.sort(views, rowStart, sweepIdx, mSidesComparator); in sort()
874 public static void sort(View[] views, int start, int end, ViewGroup root, boolean isRtl) { in sort() method in FocusFinder
875 getInstance().mFocusSorter.sort(views, start, end, root, isRtl); in sort()
/frameworks/base/tools/hiddenapi/
Dsort_api.sh18 A=( $(LC_COLLATE=C sort -f <<< "${A[*]}") )
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java109 String[] selectionArgs, String sort) { in query() argument
129 null, null, sort); in query()
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py62 self.words.sort()
63 self.letters.sort()
/frameworks/av/media/libmedia/include/media/
DStringArray.h49 void sort(int (*compare)(const void*, const void*));
/frameworks/base/cmds/statsd/src/external/
Dpuller_util.cpp32 using std::sort;
107 sort(data.begin(), data.end(), in mapAndMergeIsolatedUidsToHostUid()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubCallMethodAdapter.java79 int sort = mReturnType != null ? mReturnType.getSort() : Type.VOID; in generateInvoke() local
80 switch(sort) { in generateInvoke()
99 switch(sort) { in generateInvoke()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceClientPermissionsTest.java198 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation()
234 a1.sort(Comparator.comparing(SliceAuthority::getAuthority)); in assertEquivalent()
235 a2.sort(Comparator.comparing(SliceAuthority::getAuthority)); in assertEquivalent()
/frameworks/base/cmds/uiautomator/
DAndroid.bp4 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-api.txt",

12345678910>>...15