Home
last modified time | relevance | path

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

123

/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/config/
DConfig.kt177 restrictToPackagePrefixes.toList(), in toJson()
178 reversedRestrictToPackagePrefixes.toList(), in toJson()
179 rulesMap.toJson().rules.toList(), in toJson()
180 slRules.map { it.toJson() }.toList(), in toJson()
181 pomRewriteRules.map { it.toJson() }.toList(), in toJson()
223 ?.let { RewriteRulesMap(it.filterNotNull().map { it.toRule() }.toList()) } in toConfig()
226 ?.let { it.filterNotNull().map { it.toRule() }.toList() } in toConfig()
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/
DProGuardTypesMapper.kt63 return result.map { it.toDotNotation() }.toList() in <lambda>()
87 return results.toList() in <lambda>()
231 .toList() in <lambda>()
234 .toList() in <lambda>()
DProGuardClassFilterParser.kt65 .toList() in <lambda>()
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/
DProGuardTester.kt48 this.javaTypes = types.toList() in forGivenTypesMap()
53 this.rewriteRules = rules.toList() in forGivenRules()
65 .toSet() }.toList() in forGivenProGuardMapSet()
86 .toList()), in createConfig()
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/rule/
DRewriteRulesMap.kt32 constructor(vararg rules: RewriteRule) : this(rules.toList())
59 .toList()) in reverse()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/parser/
DSqlParserTest.kt194 assertThat((SqlParser.parse(query)).inputs.map { it.text }, `is`(expected.toList())) in assertVariables()
198 assertThat((SqlParser.parse(query)).errors, `is`(errors.toList())) in assertErrors()
202 assertThat(SqlParser.parse(query).sections, `is`(sections.toList())) in assertSections()
/frameworks/support/jetifier/jetifier/gradle-plugin/src/main/kotlin/com/android/tools/build/jetifier/plugin/gradle/
DJetifyLibsTask.kt71 return project.files(files.map { addFile(it).to }.toList()) in getGroup()
92 return project.files(filesToProcess.map { it.from }.toList()) in getInputFiles()
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/doclava/
DDoclavaTask.kt139 this.docletpath = docletpath.toList() in setDocletpath()
141 options.docletpath = docletpath.toList() in setDocletpath()
DChecksConfig.kt59 errors = (7..18).toList(),
/frameworks/support/paging/common/src/test/java/androidx/paging/
DPositionalDataSourceTest.kt94 val dataSource: PositionalDataSource<Int> = ListDataSource((0..99).toList()) in fullLoadWrappedAsContiguous()
100 assertEquals((10..19).toList(), pagedList) in fullLoadWrappedAsContiguous()
105 assertEquals((0..29).toList(), pagedList) in fullLoadWrappedAsContiguous()
111 assertEquals((0..i * 10 + 9).toList(), pagedList) in fullLoadWrappedAsContiguous()
/frameworks/base/packages/ExtServices/src/android/ext/services/storage/
DCacheQuotaServiceImpl.java84 .collect(Collectors.toList()); in onComputeCacheQuotaHints()
102 .filter(request -> request.getQuota() > 0).collect(Collectors.toList()); in onComputeCacheQuotaHints()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DTlvBufferUtilsTest.java88 List<byte[]> parsedList = new TlvBufferUtils.TlvIterable(0, 1, tlvData).toList(); in testTlvListOperations()
106 List<byte[]> parsedList = new TlvBufferUtils.TlvIterable(0, 1, validTlv01).toList(); in testTlvParseToList()
121 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/support/room/compiler/src/test/kotlin/androidx/room/writer/
DDatabaseWriterTest.kt47 .that(jfo.toList() + COMMON.USER + COMMON.LIVE_DATA + COMMON.COMPUTABLE_LIVE_DATA) in singleDb()
DDaoWriterTest.kt77 .that(jfo.toList() + COMMON.USER + COMMON.MULTI_PKEY_ENTITY + COMMON.BOOK + in <lambda>()
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
DStringPagedList.kt26 items.toList(),
/frameworks/base/tools/sdkparcelables/tests/com/android/sdkparcelables/
DParcelableDetectorTest.kt72 return Pair(name, Ancestors(superName, interfaces.toList())) in testAncestors()
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/patterns/
DGroupsReplacer.kt72 return results.toList() in <lambda>()
/frameworks/base/services/robotests/src/com/android/server/backup/
DTransportManagerTest.java39 import static java.util.stream.Collectors.toList;
567 .collect(toList())); in testGetRegisteredTransportNames()
587 .collect(toList())); in testGetRegisteredTransportComponents()
639 .collect(toList())); in assertRegisteredTransports()
643 transports.stream().map(t -> t.transportName).collect(toList())); in assertRegisteredTransports()
/frameworks/base/services/robotests/src/com/android/server/backup/testing/
DTransportTestUtils.java27 import static java.util.stream.Collectors.toList;
95 .collect(toList()); in setUpTransports()
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/proguard/
DProGuardTypesMap.kt51 return JsonData(rules.map { it.key.value to it.value.map { it.value }.toList() }.toMap()) in <lambda>()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/verifier/
DDatabaseVerifierTest.kt208 entities = entities.toList(), in <lambda>()
220 fields = fields.toList(), in <lambda>()
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/map/
DMapGenerationTest.kt140 fun testThatRules(vararg rules: RewriteRule) = Step1(rules.toList()) in testThatRules()
/frameworks/base/core/java/android/hardware/radio/
DProgramList.java215 public @NonNull List<RadioManager.ProgramInfo> toList() { in toList() method in ProgramList
217 return mPrograms.values().stream().collect(Collectors.toList()); in toList()
/frameworks/base/core/tests/benchmarks/src/android/util/
DStreamsBenchmark.java90 .collect(Collectors.toList()); in timeStreams()

123