Home
last modified time | relevance | path

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

1234567

/frameworks/base/services/core/java/com/android/server/integrity/engine/
DRuleEvaluator.java56 .collect(Collectors.toList()); in evaluateRules()
62 .collect(Collectors.toList()); in evaluateRules()
72 .collect(Collectors.toList()); in evaluateRules()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
DBubbleVolatileRepositoryTest.kt73 assertEquals(user0bubbles, repository.getEntities(user0.identifier).toList()) in testAddBubbles()
74 assertEquals(user11bubbles, repository.getEntities(user11.identifier).toList()) in testAddBubbles()
105 assertEquals(listOf(bubble1, bubble2), repository.getEntities(user0.identifier).toList()) in testRemoveBubbles()
113 assertEquals(listOf(bubble11), repository.getEntities(user11.identifier).toList()) in testRemoveBubbles()
125 assertEquals(listOf(bubble2, bubble3), repository.getEntities(user0.identifier).toList()) in testAddAndRemoveBubblesWhenExceedingCapacity()
135 assertEquals(listOf(bubble3, bubble1), repository.getEntities(user0.identifier).toList()) in testAddAndRemoveBubblesWhenExceedingCapacity()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTracker.java24 import static java.util.stream.Collectors.toList;
169 .collect(toList())); in conditionallyUpdateConfig()
178 .collect(toList())); in cacheNewScanResults()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DSystemPartitionParseTest.kt51 ?.toList() in <lambda>()
60 it.listFiles()?.toList().orEmpty() in <lambda>()
/frameworks/base/media/java/android/media/
DAudioPort.java134 .collect(Collectors.toList())); in AudioPort()
136 .collect(Collectors.toList())); in AudioPort()
138 .collect(Collectors.toList())); in AudioPort()
DRouteDiscoveryPreference.java179 .collect(Collectors.toList()); in Builder()
222 .collect(Collectors.toList()); in setPreferredFeatures()
/frameworks/base/services/java/com/android/server/
DSystemConfigService.java18 import static java.util.stream.Collectors.toList;
60 .collect(toList())));
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/
DAppEnumerationInternalTests.java69 assertThat(infos.stream().map(info -> info.packageName).collect(Collectors.toList())) in querySyncProviders_canSeeForceQueryable()
81 assertThat(infos.stream().map(info -> info.packageName).collect(Collectors.toList())) in querySyncProviders_cannotSeeSyncProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/demomode/
DDemoModeController.kt132 copy = receivers.toList() in <lambda>()
146 copy = receivers.toList() in <lambda>()
186 copy = receivers.toList() in <lambda>()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderDiffTest.java25 import static java.util.stream.Collectors.toList;
298 .map(t -> Arrays.stream(t.usageTimesMillis).boxed().collect(toList())) in cpuUsages()
299 .collect(toList()); in cpuUsages()
307 .collect(toList()); in threadNames()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DEncryptedFullRestoreTaskTest.java24 import static java.util.stream.Collectors.toList;
127 return Bytes.toArray(Bytes.asList(input).stream().map(b -> b + 1).collect(toList())); in fakeDecrypt()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DAppsFilterTest.java1051 assertThat(toList(systemFilter.get(SYSTEM_USER)), in testWhoCanSee()
1058 assertThat(toList(seesNothingFilter.get(SYSTEM_USER)), in testWhoCanSee()
1061 assertThat(toList(seesNothingFilter.get(SECONDARY_USER)), in testWhoCanSee()
1067 assertThat(toList(hasProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
1073 assertThat(toList(queriesProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
1085 assertThat(toList(queriesProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
1122 assertThat(toList(systemFilter.get(SYSTEM_USER)), in testOnChangeReport()
1128 assertThat(toList(seesNothingFilter.get(SYSTEM_USER)), in testOnChangeReport()
1130 assertThat(toList(seesNothingFilter.get(SECONDARY_USER)), in testOnChangeReport()
1136 assertThat(toList(hasProviderFilter.get(SYSTEM_USER)), in testOnChangeReport()
[all …]
/frameworks/opt/localepicker/tests/src/com/android/localepicker/
DSuggestedLocaleAdapterTest.java126 .collect(Collectors.toList()); in getItemTypeList()
138 .collect(Collectors.toList()); in getLocaleTagList()
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DTunnelModeChildSessionParamsUtils.java187 return PersistableBundleUtils.toList( in getTsFromPersistableBundle()
203 PersistableBundleUtils.toList( in fromPersistableBundle()
222 PersistableBundleUtils.toList(configReqListBundle, ConfigRequest::new); in fromPersistableBundle()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DResourceIconTest.kt30 val resIds = (1..1000).toList()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DPhysicsAnimatorTestUtils.kt36 import kotlin.collections.toList in <lambda>()
263 additionalUpdateMatchers.toList()) in <lambda>()
324 it.addAll(additionalTargetValues.toList()) in <lambda>()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DAncestorCollector.kt37 val old = _ancestors.put(name, Ancestors(superName, interfaces?.toList())) in visit()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubbleXmlHelper.kt112 bubbles.put(uid.toInt(), userBubbles.toList()) in readXml()
128 bubbles.put(UserHandle.USER_SYSTEM, userBubbles.toList()) in readXml()
/frameworks/base/tools/sdkparcelables/tests/com/android/sdkparcelables/
DParcelableDetectorTest.kt72 return Pair(name, Ancestors(superName, interfaces.toList())) in testAncestors()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DProtoLogGroupReader.kt34 return (valuesMethod.invoke(null) as Array<IProtoLogGroup>).toList() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarLocationPublisher.kt68 listenerList = listeners.toList() in <lambda>()
/frameworks/base/core/java/android/view/autofill/
DHelper.java85 public static <T> ArrayList<T> toList(@Nullable Set<T> set) { in toList() method in Helper
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyChipBuilder.kt29 .toList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTrackerImpl.kt191 callbacks.toList() in notifySubscribers()
210 callbacks.toList() in dump()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DCapabilityRequest.java215 .collect(Collectors.toList()); in getCapabilitiesFromCache()
226 .collect(Collectors.toList()); in getRequestingFromNetworkUris()

1234567