/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/ |
D | MedAvgFilter.java | 156 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/ |
D | PermissionIntegrationTest.kt | 13 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/ |
D | RoleListSortFunction.java | 48 List<RoleItem> sorted = new ArrayList<>(p1); in invoke() local 49 sorted.sort(mComparator); in invoke() 50 return sorted; in invoke()
|
D | RoleSortFunction.java | 57 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/ |
D | ColumnInfo.java | 182 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()
|
D | ForeignKeyInfo.java | 175 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/ |
D | MiscAsserts.kt | 73 assertEquals(actual.sorted(), expected.sorted(), in assertContainsExactly() 78 assertEquals(actual.sorted(), expected.sorted(), in assertContainsStringsExactly()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSaProposal.java | 234 .sorted( in getDhGroups() 251 .sorted( in getIntegrityAlgos() 268 .sorted( in getEncryptionAlgos() 297 .sorted( in getAeadAlgos()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | MultiRootDocumentsLoader.java | 241 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/ |
D | QueryDocumentProvidersUseCase.kt | 54 .sorted { provider1, provider2 -> in <lambda>() 70 .sorted { root1, root2 -> root1.summary.compareTo(root2.summary) } in <lambda>()
|
/packages/services/Car/tools/ioanalyze/ |
D | analyzer.py | 180 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/ |
D | verify.rs | 22 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/ |
D | SelectionInteractor.kt | 69 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/ |
D | WidgetsTableUtils.java | 78 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/ |
D | RecentAccessPreference.kt | 56 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/ |
D | FifoSignalEvictorTest.java | 83 .sorted(Comparator.comparing(DBProtectedSignal::getCreationTime)) in testFifoEvict_signalEvicted() 86 .sorted(Comparator.comparing(DBProtectedSignal::getCreationTime)) in testFifoEvict_signalEvicted()
|
/packages/modules/SdkExtensions/gen_sdk/ |
D | gen_sdk.py | 96 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/ |
D | perfetto_cpu_analysis.py | 83 for c in sorted(self.perCoreLoads): 112 for c in sorted(self.perCoreLoads): 157 for c in sorted(coreLoads):
|
/packages/modules/common/tools/ |
D | gen_sdkinfo.py | 6 if not len(argv) == 4 or sorted([argv[0], argv[2]]) != ['-o', '-v']:
|
/packages/modules/ExtServices/java/src/android/ext/services/storage/ |
D | CacheQuotaServiceImpl.java | 87 .sorted(sCacheQuotaRequestComparator) in onComputeCacheQuotaHints() 121 .sorted(sCacheQuotaRequestComparator) in onComputeCacheQuotaHints()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CarModeTracker.java | 231 .sorted(mCarModeApps.comparator()) in getCarModeApps() 239 .sorted(mCarModeApps.comparator()) in getCarModePriorityString()
|
/packages/modules/common/build/ |
D | mainline_modules_sdks_test.py | 234 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/ |
D | WidgetsListBaseEntry.java | 44 items.stream().sorted(new WidgetItemComparator()).collect(Collectors.toList()); in WidgetsListBaseEntry()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | OverviewTask.java | 155 getCurrentTasksCenterXList().stream().sorted().toList(); in dismiss() 167 getCurrentTasksCenterXList().stream().sorted().toList(); in dismiss()
|
/packages/apps/Settings/src/com/android/settings/development/featureflags/ |
D | FeatureFlagsPreferenceController.java | 56 featureMap.keySet().stream().sorted().forEach(feature -> in displayPreference()
|