Home
last modified time | relevance | path

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

12345

/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/services/java/com/android/server/
DSystemConfigService.java18 import static java.util.stream.Collectors.toList;
56 .collect(toList())));
/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/opt/localepicker/tests/src/com/android/localepicker/
DSuggestedLocaleAdapterTest.java126 .collect(Collectors.toList()); in getItemTypeList()
138 .collect(Collectors.toList()); in getLocaleTagList()
/frameworks/base/media/java/android/media/
DRouteDiscoveryPreference.java176 .collect(Collectors.toList()); in Builder()
219 .collect(Collectors.toList()); in setPreferredFeatures()
DMediaRouter2.java252 Collectors.toList())).build(); in updateDiscoveryPreferenceIfNeededLocked()
536 .collect(Collectors.toList()); in syncRoutesOnHandler()
789 .collect(Collectors.toList()); in filterRoutes()
1354 .map(MediaRoute2Info::getId).collect(Collectors.toList()); in toString()
1356 .map(MediaRoute2Info::getId).collect(Collectors.toList()); in toString()
1358 .map(MediaRoute2Info::getId).collect(Collectors.toList()); in toString()
1393 .collect(Collectors.toList()); in getRoutesWithIds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DResourceIconTest.kt30 val resIds = (1..1000).toList()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DTlvBufferUtilsTest.java107 List<byte[]> parsedList = new TlvBufferUtils.TlvIterable(0, 1, tlvData).toList(); in testTlvListOperations()
125 List<byte[]> parsedList = new TlvBufferUtils.TlvIterable(0, 1, validTlv01).toList(); in testTlvParseToList()
140 List<byte[]> data = new TlvBufferUtils.TlvIterable(0, 1, invalidTlv01).toList(); in testTlvParseToListError()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DAncestorCollector.kt37 val old = _ancestors.put(name, Ancestors(superName, interfaces?.toList())) in visit()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DSystemPartitionParseTest.kt42 .toList() in <lambda>()
/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/core/java/android/view/autofill/
DHelper.java85 public static <T> ArrayList<T> toList(@Nullable Set<T> set) { in toList() method in Helper
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardNetworkDetailsTracker.java26 import static java.util.stream.Collectors.toList;
211 .collect(toList())); in cacheNewScanResults()
DBaseWifiTracker.java21 import static java.util.stream.Collectors.toList;
112 .collect(toList()));
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DAppsFilterTest.java809 assertThat(toList(systemFilter.get(SYSTEM_USER)), in testWhoCanSee()
814 assertThat(toList(seesNothingFilter.get(SYSTEM_USER)), in testWhoCanSee()
816 assertThat(toList(seesNothingFilter.get(SECONDARY_USER)), in testWhoCanSee()
821 assertThat(toList(hasProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
826 assertThat(toList(queriesProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
835 assertThat(toList(queriesProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
839 private List<Integer> toList(int[] array) { in toList() method in AppsFilterTest
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureService.java20 import static android.view.contentcapture.ContentCaptureHelper.toList;
252 callback.setContentCaptureWhitelist(toList(packages), toList(activities)); in setContentCaptureWhitelist()
288 callback.setContentCaptureConditions(packageName, toList(conditions)); in setContentCaptureConditions()
/frameworks/base/core/java/com/android/internal/app/
DChooserTargetActionsDialogFragment.java24 import static java.util.stream.Collectors.toList;
90 }).collect(toList()); in onCreateView()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DTransportManagerTest.java39 import static java.util.stream.Collectors.toList;
613 .collect(toList())); in testGetRegisteredTransportNames()
629 .collect(toList())); in testGetRegisteredTransportComponents()
729 .collect(toList())); in assertRegisteredTransports()
733 transports.stream().map(t -> t.transportName).collect(toList())); in assertRegisteredTransports()
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureHelper.java113 public static <T> ArrayList<T> toList(@Nullable Set<T> set) { in toList() method in ContentCaptureHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/storage/
DBubbleVolatileRepository.kt51 get() = entities.toList() in <lambda>()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTransportTestUtils.java27 import static java.util.stream.Collectors.toList;
111 .collect(toList()); in setUpTransports()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DPeopleHubView.kt50 .toList() // cache it in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaPolicyBuilderTest.java39 import static java.util.stream.Collectors.toList;
119 actualOrder = actualOrder.stream().filter(zSets::containsKey).collect(toList()); in testBuilder()

12345