Home
last modified time | relevance | path

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

123

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRoleListSortFunction.java48 List<RoleItem> sorted = new ArrayList<>(input); in apply() local
49 sorted.sort(mComparator); in apply()
50 return sorted; in apply()
DRoleSortFunction.java58 List<Pair<ApplicationInfo, Boolean>> sorted = new ArrayList<>(input); in apply() local
59 sorted.sort(mComparator); in apply()
60 return sorted; in apply()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMultiRootDocumentsLoader.java241 final Cursor sorted; in loadInBackgroundLocked() local
243 sorted = mState.sortModel.sortCursor(merged, mFileTypeMap); in loadInBackgroundLocked()
246 sorted = mState.sortModel.sortCursor(notMovableMasked, mFileTypeMap); in loadInBackgroundLocked()
253 sorted.setExtras(extras); in loadInBackgroundLocked()
255 result.setCursor(sorted); in loadInBackgroundLocked()
/packages/services/Car/tools/ioanalyze/
Danalyzer.py180 def sorted(self, f): member in SystemActivity
181 return sorted(self.uids.values(), key=f, reverse=True)
188 A = list(sorted(A, key=lambda i: i[1], reverse=True))
250 writemost = filter(lambda ua: ua.totalWrittenBytes > 0, system.sorted(lambda ua: ua.totalWrittenByt…
/packages/modules/SdkExtensions/gen_sdk/
Dgen_sdk.py95 for version in sorted(database.versions, key=lambda v: v.version):
114 for prev_version in sorted(database.versions, key=lambda v: v.version):
/packages/services/Car/service/src/com/android/car/stats/
DCarStatsService.java144 .sorted(Comparator.comparingInt(VmsClientLogger::getUid)) in dumpVmsStats()
184 .sorted(VMS_CLIENT_STATS_ORDER) in dumpVmsClientStats()
/packages/services/Telecomm/src/com/android/server/telecom/
DCarModeTracker.java229 .sorted(mCarModeApps.comparator()) in getCarModeApps()
237 .sorted(mCarModeApps.comparator()) in getCarModePriorityString()
/packages/apps/Car/libs/car-ui-lib/tests/apitest/
Dauto-generate-resources.py87 resources = sorted(resources, key=lambda x: x.type + x.name)
108 resources = sorted(resources, key=lambda x: x.type + x.name)
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java503 final List<AidlVersion> sorted = new ArrayList<>(versions); in sortVersions() local
504 Collections.sort(sorted); in sortVersions()
505 return sorted; in sortVersions()
/packages/modules/common/tools/
Dgen_sdkinfo.py6 if not len(argv) == 4 or sorted([argv[0], argv[2]]) != ['-o', '-v']:
/packages/apps/Settings/src/com/android/settings/development/featureflags/
DFeatureFlagsPreferenceController.java56 featureMap.keySet().stream().sorted().forEach(feature -> in displayPreference()
/packages/apps/Launcher3/src/com/android/launcher3/widget/model/
DWidgetsListBaseEntry.java49 items.stream().sorted(new WidgetItemComparator()).collect(Collectors.toList()); in WidgetsListBaseEntry()
/packages/services/Car/car_product/sepolicy/test/
Dexperimentalcarservice_app.te8 # Keep alphabetically sorted.
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicensesPreferenceController.java51 .sorted(Comparator.comparing(o -> o.getName().toString())) in displayPreference()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationKeyData.java73 .map(Person::getKey).sorted().toArray(String[]::new); in extractPersonKeyOnly()
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetsTableUtils.java69 List<WidgetItem> sortedWidgetItems = widgetItems.stream().sorted(WIDGET_SHORTCUT_COMPARATOR) in groupWidgetItemsIntoTable()
/packages/apps/Car/tests/tools/rro/
Dgenerate-overlayable.py59 resources = sorted(resources, key=lambda x: x.type + x.name)
/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py181 return sorted(Type.typesMap.values())
520 return sorted(list(set(op.type for op in self.operands)))
675 targets = model.GetEquivalentOperands(sorted(self.targetOperands.keys()))
901 for i in sorted(self.drop, reverse=True):
1126 for i in sorted(ActivationConverter.actMap.keys())]
1278 FileNames.specFiles = sorted([os.path.abspath(os.path.join(spec, f))
Dexample_generator.py83 for k in sorted(var.keys())
/packages/apps/Settings/src/com/android/settings/network/helper/
DSubscriptionGrouping.java98 return annoList.stream().sorted(annoSelector).findFirst().orElse(null); in selectBestFromList()
/packages/modules/NeuralNetworks/tools/
Dparse_benchmark.py62 for name in sorted(data):
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/systemfeatures/
DSystemFeaturesFragment.java82 .sorted(Comparator.<FeatureInfo, String>comparing(fi -> fi.name) in refresh()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/
DConversationListLiveData.java127 .sorted(sConversationComparator) in onSharedPreferenceChanged()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourcesProvider.java130 .sorted(Comparator.comparing( in getList()
/packages/services/Car/car_product/sepolicy/private/
Dcarservice_app.te19 # Keep alphabetically sorted.

123