Home
last modified time | relevance | path

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

12345

/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/
DMedAvgFilter.java156 List<Sample> sorted = sortSamples(mWindow); in compute() local
164 return averageSamples(sorted); in compute()
173 return averageSamples(sorted.subList(throwAway, count - throwAway)); in compute()
183 ArrayList<Sample> sorted = new ArrayList<>(list); in sortSamples() local
184 Collections.sort(sorted); in sortSamples()
185 return sorted; in sortSamples()
/packages/modules/HealthFitness/testapps/toolbox/tests/src/com/android/healthconnect/testapps/toolbox/
DPermissionIntegrationTest.kt13 Truth.assertThat(Constants.HEALTH_PERMISSIONS.sorted()) in toolboxAppShouldRequestAllHealthPermissions()
14 .isEqualTo(HealthConnectManager.getHealthPermissions(context).sorted()) in toolboxAppShouldRequestAllHealthPermissions()
24 Truth.assertThat(allPermissions.sorted()) in toolboxAppShouldRequestAllMedicalPermissions()
25 .isEqualTo(HealthConnectManager.getHealthPermissions(context).sorted()) in toolboxAppShouldRequestAllMedicalPermissions()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRoleListSortFunction.java48 List<RoleItem> sorted = new ArrayList<>(p1); in invoke() local
49 sorted.sort(mComparator); in invoke()
50 return sorted; in invoke()
DRoleSortFunction.java57 List<Pair<ApplicationInfo, Boolean>> sorted = new ArrayList<>(p1); in invoke() local
58 sorted.sort(mComparator); in invoke()
59 return sorted; in invoke()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/
DColumnInfo.java182 List<Integer> constraintList1 = mConstraints.stream().sorted().toList(); in checkColumnDiff()
183 List<Integer> constraintList2 = expectedColumn.mConstraints.stream().sorted().toList(); in checkColumnDiff()
192 List<String> checkConstraintList1 = mCheckConstraints.stream().sorted().toList(); in checkColumnDiff()
194 expectedColumn.mCheckConstraints.stream().sorted().toList(); in checkColumnDiff()
DForeignKeyInfo.java175 List<Integer> actualForeignKeyFlags = mForeignKeyFlags.stream().sorted().toList(); in checkForeignKeyDiff()
177 expectedForeignkeyInfo.mForeignKeyFlags.stream().sorted().toList(); in checkForeignKeyDiff()
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/
DMiscAsserts.kt73 assertEquals(actual.sorted(), expected.sorted(), in assertContainsExactly()
78 assertEquals(actual.sorted(), expected.sorted(), in assertContainsStringsExactly()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgSaProposal.java234 .sorted( in getDhGroups()
251 .sorted( in getIntegrityAlgos()
268 .sorted( in getEncryptionAlgos()
297 .sorted( in getAeadAlgos()
/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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/
DQueryDocumentProvidersUseCase.kt54 .sorted { provider1, provider2 -> in <lambda>()
70 .sorted { root1, root2 -> root1.summary.compareTo(root2.summary) } in <lambda>()
/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/Virtualization/microdroid_manager/src/
Dverify.rs22 use itertools::sorted;
82 sorted(glob(EXTRA_APK_PATH_PATTERN)?.collect::<Result<Vec<_>, _>>()?).collect::<Vec<_>>(); in verify_payload()
84 sorted(glob(EXTRA_IDSIG_PATH_PATTERN)?.collect::<Result<Vec<_>, _>>()?).collect::<Vec<_>>(); in verify_payload()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DSelectionInteractor.kt69 val sorted = selections.sortedBy { it.order } in updateChooserRequest() constant
70 val intent = targetIntentModifier.intentFromSelection(sorted) in updateChooserRequest()
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetsTableUtils.java78 List<WidgetItem> sortedWidgetItems = widgetItems.stream().sorted(WIDGET_SHORTCUT_COMPARATOR) in groupWidgetItemsUsingRowPxWithReordering()
83 return rows.stream().sorted(WIDGETS_TABLE_ROW_SIZE_COMPARATOR).toList(); in groupWidgetItemsUsingRowPxWithReordering()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessPreference.kt56 recentAccessApp.dataTypesWritten.sorted().joinToString(separator) { in <lambda>()
62 recentAccessApp.dataTypesRead.sorted().joinToString(separator) { in <lambda>()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/evict/
DFifoSignalEvictorTest.java83 .sorted(Comparator.comparing(DBProtectedSignal::getCreationTime)) in testFifoEvict_signalEvicted()
86 .sorted(Comparator.comparing(DBProtectedSignal::getCreationTime)) in testFifoEvict_signalEvicted()
/packages/modules/SdkExtensions/gen_sdk/
Dgen_sdk.py96 for version in sorted(database.versions, key=lambda v: v.version):
139 for prev_version in sorted(database.versions, key=lambda v: v.version):
/packages/services/Car/tools/cpu_perf/
Dperfetto_cpu_analysis.py83 for c in sorted(self.perCoreLoads):
112 for c in sorted(self.perCoreLoads):
157 for c in sorted(coreLoads):
/packages/modules/common/tools/
Dgen_sdkinfo.py6 if not len(argv) == 4 or sorted([argv[0], argv[2]]) != ['-o', '-v']:
/packages/modules/ExtServices/java/src/android/ext/services/storage/
DCacheQuotaServiceImpl.java87 .sorted(sCacheQuotaRequestComparator) in onComputeCacheQuotaHints()
121 .sorted(sCacheQuotaRequestComparator) in onComputeCacheQuotaHints()
/packages/services/Telecomm/src/com/android/server/telecom/
DCarModeTracker.java231 .sorted(mCarModeApps.comparator()) in getCarModeApps()
239 .sorted(mCarModeApps.comparator()) in getCarModePriorityString()
/packages/modules/common/build/
Dmainline_modules_sdks_test.py234 sorted(self.list_files_in_dir(self.tmp_dist_dir)))
263 ], sorted(self.list_files_in_dir(r_snaphot_dir)))
299 ], sorted(self.list_files_in_dir(self.tmp_dist_dir)))
325 sorted(self.list_files_in_dir(self.tmp_dist_dir)))
/packages/apps/Launcher3/src/com/android/launcher3/widget/model/
DWidgetsListBaseEntry.java44 items.stream().sorted(new WidgetItemComparator()).collect(Collectors.toList()); in WidgetsListBaseEntry()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DOverviewTask.java155 getCurrentTasksCenterXList().stream().sorted().toList(); in dismiss()
167 getCurrentTasksCenterXList().stream().sorted().toList(); in dismiss()
/packages/apps/Settings/src/com/android/settings/development/featureflags/
DFeatureFlagsPreferenceController.java56 featureMap.keySet().stream().sorted().forEach(feature -> in displayPreference()

12345