/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | SortDocumentUiTest.java | 103 bots.sort.sortBy( in testSortByName_Descending_listMode() 113 bots.sort.sortBy( in testSortBySize_Ascending_listMode() 123 bots.sort.sortBy( in testSortBySize_Descending_listMode() 133 bots.sort.sortBy( in testSortByModified_Ascending_listMode() 143 bots.sort.sortBy( in testSortByModified_Descending_listMode() 153 bots.sort.sortBy( in testSortByType_Ascending_listMode() 163 bots.sort.sortBy( in testSortByType_Descending_listMode() 173 bots.sort.sortBy( in testSortByName_Descending_gridMode() 183 bots.sort.sortBy( in testSortBySize_Ascending_gridMode() 193 bots.sort.sortBy( in testSortBySize_Descending_gridMode() [all …]
|
D | FilesActivityUiTest.java | 135 bots.sort.assertHeaderHide(); in testRootChange_UpdatesSortHeader() 138 bots.sort.assertHeaderShow(); in testRootChange_UpdatesSortHeader() 141 bots.sort.assertHeaderHide(); in testRootChange_UpdatesSortHeader()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 284 int sort = param.mSort; in makeImageList() local 305 l.add(new ImageList(cr, STORAGE_URI, sort, bucketId)); in makeImageList() 308 l.add(new VideoList(cr, VIDEO_STORAGE_URI, sort, bucketId)); in makeImageList() 314 Images.Media.INTERNAL_CONTENT_URI, sort, bucketId)); in makeImageList() 335 l.toArray(new IImageList[l.size()]), sort); in makeImageList() 341 int sort) { in makeImageList() argument 346 sort, null); in makeImageList() 351 return makeImageList(cr, DataLocation.ALL, INCLUDE_IMAGES, sort, in makeImageList() 401 int inclusion, int sort, String bucketId) { in getImageListParam() argument 405 param.mSort = sort; in getImageListParam() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanDetailCache.java | 124 Collections.sort(list, new Comparator() { in trim() 149 ArrayList<ScanDetail> list = sort(); in getMostRecentScanResult() 161 private ArrayList<ScanDetail> sort() { in sort() method in ScanDetailCache 164 Collections.sort(list, new Comparator() { in sort() 192 ArrayList<ScanDetail> list = sort(); in toString()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTestUtil.java | 107 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() 255 Arrays.sort(expected, Comparator.comparing(x -> x.experimentId)); in assertExperimentProbeCountsEqual() 256 Arrays.sort(actual, Comparator.comparing(x -> x.experimentId)); in assertExperimentProbeCountsEqual()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/ |
D | ColumnInfo.java | 151 Collections.sort(constraintList); in isEqual() 152 Collections.sort(expectedConstraintList); in isEqual() 153 Collections.sort(checkConstraintList); in isEqual() 154 Collections.sort(expectedCheckConstraintList); in isEqual()
|
D | IndexInfo.java | 118 Collections.sort(columnListCheck); in isEqual() 119 Collections.sort(expectedColumnList); in isEqual()
|
D | ForeignKeyInfo.java | 144 Collections.sort(flagList); in isEqual() 145 Collections.sort(expectedFlags); in isEqual()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | CollectionUtils.java | 58 Collections.sort(result, comparator); in union() 73 Collections.sort(result, comparator); in subtract() 87 Collections.sort(contains, comparator); in containsAny()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | DbState.java | 319 mSourceList.sort( in sortAll() 323 mSourceDestinationList.sort( in sortAll() 328 mTriggerList.sort(Comparator.comparing(Trigger::getTriggerTime)); in sortAll() 330 mEventReportList.sort( in sortAll() 334 mAttrRateLimitList.sort( in sortAll() 338 mAggregateEncryptionKeyList.sort( in sortAll() 341 mAggregateReportList.sort( in sortAll() 345 mDebugReportList.sort(Comparator.comparing(DebugReport::getId)); in sortAll() 347 mAsyncRegistrationList.sort(Comparator.comparing(AsyncRegistration::getRequestTime)); in sortAll() 349 mKeyValueDataList.sort(Comparator.comparing(KeyValueData::getKey)); in sortAll()
|
/packages/providers/MediaProvider/jni/ |
D | RedactionInfo.cpp | 47 std::sort(ranges.begin(), ranges.end()); in mergeOverlappingRedactionRanges() 70 std::sort(ranges.begin(), ranges.end()); in removeZeroSizeRedactionRanges() 100 std::sort(redaction_ranges_.begin(), redaction_ranges_.end()); in processRedactionRanges()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | UidRangeUtils.java | 141 Collections.sort(uidsNew); in convertListToUidRange() 171 Arrays.sort(uidsNew); in convertArrayToUidRange() 200 Collections.sort(uidRanges, UidRangeUtils::compare); in sortRangesByStartUid()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | CityModel.kt | 101 Collections.sort(selected, NameComparator()) 146 Collections.sort(unselected, citySortComparator) 160 Collections.sort(selectedCities, UtcOffsetComparator())
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingSystemsFragment.java | 49 Collections.sort(contentRatingSystems, ContentRatingSystem.DISPLAY_NAME_COMPARATOR); in getDescription() 80 Collections.sort(contentRatingSystems, ContentRatingSystem.DISPLAY_NAME_COMPARATOR); in getItemList() 100 Collections.sort(countries); in getItemList()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | GridMigrationTest.kt | 118 val sort = compareBy<GridSizeMigrationUtil.DbEntry>({ it.cellX }, { it.cellY }) in compare() constant 122 val entriesDst = dst.readEntries().sortedWith(sort).map(mapF) in compare() 123 val entriesTarget = target.readEntries().sortedWith(sort).map(mapF) in compare()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemList.java | 109 public void sort(Comparator<FilmstripItem> comparator) { in sort() method in FilmstripItemList 110 Collections.sort(mList, comparator); in sort()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | VideoList.java | 76 public VideoList(ContentResolver resolver, Uri uri, int sort, in VideoList() argument 78 super(resolver, uri, sort, bucketId); in VideoList()
|
D | ImageList.java | 62 int sort, String bucketId) { in ImageList() argument 63 super(resolver, imageUri, sort, bucketId); in ImageList()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ |
D | ShortcutToChooserTargetConverter.java | 69 Collections.sort(scoreList); in convertToChooserTarget() 107 Collections.sort(chooserTargetList, byScore); in convertToChooserTarget()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | ButtonChooser.java | 85 Collections.sort(potentialButtons, config.getSlotComparator()); in placeButtonsInSlots() 102 Collections.sort(conflicts, config.getConflictComparator()); in placeConflictsInOpenSlots()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | Bots.java | 42 public final SortBot sort; field in Bots 57 sort = new SortBot(device, context, TIMEOUT, main); in Bots()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/aggregation/ |
D | SessionDurationAggregationData.java | 73 mExcludeStarts.sort(Comparator.naturalOrder()); in populateSpecificAggregationData() 74 mExcludeEnds.sort(Comparator.naturalOrder()); in populateSpecificAggregationData()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapMessageListing.java | 163 public void sort() { in sort() method in BluetoothMapMessageListing 164 Collections.sort(mList); in sort()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardLayoutPickerController.java | 64 Arrays.sort(mKeyboardLayouts); in initialize() 139 Arrays.sort(enabledKeyboardLayouts); in updateCheckedState()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | DevSdkIgnoreRunner.kt | 173 override fun sort(sorter: Sorter?) { in sort() method in com.android.testutils.DevSdkIgnoreRunner 174 baseRunner?.sort(sorter) in sort()
|