Home
last modified time | relevance | path

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

12

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DRecurrenceSetTest.java84 RecurrenceSet.fold(RRULE_LESS_THAN_75_CHARS)); in testFoldPerRFC2445()
87 RecurrenceSet.fold(RRULE_MORE_THAN_75_CHARS)); in testFoldPerRFC2445()
90 RecurrenceSet.fold(STRING_WITH_160_CHARS)); in testFoldPerRFC2445()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DAndroidUtils.kt65 val mask = flags.fold(0, { mask, (flag, _) -> mask or flag }) in PackageManager()
67 flags.fold(0, { mask2, (flag, flagValue) -> if (flagValue) mask2 or flag else mask2 }) in PackageManager()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/
DValidation.kt85 .fold( in validate()
118 .fold( in validate()
/packages/modules/NetworkStack/tests/hostlib/src/com/android/testutils/host/
DDeflakeHostTestBase.kt123 val failMessage = failuresByTest.toList().fold("") { msg, (testDescription, failures) -> in <lambda>()
150 return frequencies.fold("") { msg, (stacktrace, numFailures) -> in <lambda>()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java295 setHeader("To", MimeUtility.fold(Address.toHeader(addresses), toLength)); in setRecipients()
303 setHeader("CC", MimeUtility.fold(Address.toHeader(addresses), ccLength)); in setRecipients()
311 setHeader("BCC", MimeUtility.fold(Address.toHeader(addresses), bccLength)); in setRecipients()
347 setHeader("From", MimeUtility.fold(from.toHeader(), fromLength)); in setFrom()
369 setHeader("Reply-to", MimeUtility.fold(Address.toHeader(replyTo), replyToLength)); in setReplyTo()
DMimeUtility.java101 return fold(encoded, usedCharacters); in foldAndEncode2()
119 public static String fold(String s, int usedCharacters) { in fold() method in MimeUtility
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/widget/
DBatchPreviewLoaderTest.kt132 .fold(ArrayList<Preview>()) { acc, update -> acc.apply { addAll(update) } } in <lambda>()
161 .fold(ArrayList<Preview>()) { acc, update -> acc.apply { addAll(update) } } in <lambda>()
172 .fold(ArrayList<Preview>(uris.size)) { acc, uri -> in <lambda>()
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/
DCleanup.kt119 return cleanupBlock.fold(tryTest { tryBlock.get() }) { previousExpr, nextCleanup -> in cleanup()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/intent/
DTargetIntentModifier.kt46 selection.fold(null) { target: String?, item: Item -> in intentFromSelection()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceConfigRule.kt102 currentTestCleanupActions.fold(tryTest { }) { in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultDataTypeDescriptorSet.kt36 return dtd.innerTypes.fold(listOf(dtd)) { acc, t -> acc + collectNestedDataTypeDescriptors(t) } in <lambda>()
DDefaultChronicle.kt83 .fold(Chronicle.ConnectionTypes.EMPTY) { acc, provider -> in <lambda>()
/packages/modules/Virtualization/authfs/src/fsverity/
Dbuilder.rs132 let hashes = (1..=level).fold(second_level, |source, _| hash_all_pages(&source)); in calculate_root_hash()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkRankerTest.kt42 policies.fold(0L) { acc, e -> acc or (1L shl e) }, KEEP_CONNECTED_NONE) in <lambda>()
/packages/modules/Virtualization/libs/apkverify/tests/
Dapkverify_test.rs344 bytes_data.iter().fold(String::new(), |mut output, b| { in assert_bytes_eq_to_data_in_file()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DPreviewDataProvider.kt354 getParcelableArrayListExtra<Uri>(Intent.EXTRA_STREAM)?.fold(uris) { accumulator, uri in uris()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/
DShortcutLoader.kt233 fold(ShortcutsAppTargetsPair(ArrayList(size), ArrayList(size))) { acc, appTarget -> in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt56 private fun flags(vararg flags: Int) = flags.fold(0L) { acc, it -> acc or (1L shl it) } in acc()
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DNetworkStatsIntegrationTest.kt456 return filteredBuckets.fold(BareStats.EMPTY) { acc, it -> in <lambda>()
/packages/modules/Virtualization/pvmfw/src/
Ddevice_assignment.rs205 let size = self.tokens.iter().fold(0, |sum, token| sum + token.len() + 1); in to_cstring()
/packages/apps/TvSettings/
Dtwo-panel-baseline-profile.txt2494 PLkotlin/coroutines/AbstractCoroutineContextElement;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/…
2498 PLkotlin/coroutines/CombinedContext;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava…
2508 PLkotlin/coroutines/CoroutineContext$Element$DefaultImpls;->fold(Lkotlin/coroutines/CoroutineContex…
2518 PLkotlin/coroutines/EmptyCoroutineContext;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;…
2757 PLkotlinx/coroutines/Job$DefaultImpls;->fold(Lkotlinx/coroutines/Job;Ljava/lang/Object;Lkotlin/jvm/…
2817 PLkotlinx/coroutines/JobSupport;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lan…
2881 PLkotlinx/coroutines/UndispatchedMarker;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)L…
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2162 Landroid/icu/text/CaseMap;->fold()Landroid/icu/text/CaseMap$Fold;
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz

12