Home
last modified time | relevance | path

Searched refs:sources (Results 1 – 25 of 28) sorted by relevance

12

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBaseModelTest.kt193 vararg sources: TestFile, in <lambda>()
198 sources = testFilesToInputSets(sources), in <lambda>()
211 vararg sources: InputSet, in <lambda>()
216 sources = sources, in <lambda>()
229 vararg sources: InputSet, in <lambda>()
234 sources, in <lambda>()
250 vararg sources: TestFile, in <lambda>()
255 sources = testFilesToInputSets(sources), in <lambda>()
269 vararg sources: InputSet, in <lambda>()
274 sources = sources, in <lambda>()
[all …]
/tools/metalava/metalava-model-source/src/main/java/com/android/tools/metalava/model/source/
DSourceSet.kt38 class SourceSet(val sources: List<File>, val sourcePath: List<File>) { constant in com.android.tools.metalava.model.source.SourceSet
42 return sources.map { it.absoluteFile } in <lambda>()
60 val sourceRoots = extractRoots(reporter, sources, sourcePath.toMutableList()) in extractRoots()
61 return SourceSet(sources, sourceRoots) in extractRoots()
73 val sources = gatherSources(reporter, sourcePath, fileTester) in empty() constant
74 return SourceSet(sources, sourcePath) in empty()
122 val sources = mutableListOf<File>() in gatherSources() constant
128 addSourceFiles(reporter, sources, file.absoluteFile, fileTester) in gatherSources()
130 return sources.sortedWith(compareBy { it.name }) in gatherSources()
135 sources: List<File>, in extractRoots()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DChainedDataSource.java32 public ChainedDataSource(DataSource... sources) { in ChainedDataSource() argument
33 mSources = sources; in ChainedDataSource()
34 mTotalSize = Arrays.stream(sources).mapToLong(src -> src.size()).sum(); in ChainedDataSource()
114 ArrayList<DataSource> sources = new ArrayList<>(); in slice() local
115 sources.add(beginSource.slice( in slice()
123 sources.add(mSources[i]); in slice()
126 sources.add(mSources[endIndex].slice(0, endLocalOffset + 1)); in slice()
127 return new ChainedDataSource(sources.toArray(new DataSource[0])); in slice()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiSourceParserTest.kt57 vararg sources: TestFile, in <lambda>()
68 sources.toList(), in <lambda>()
78 sources: List<TestFile>, in <lambda>()
87 createSourceSet(sources, directory), in <lambda>()
95 sources: List<TestFile>, in <lambda>()
99 sources.map { it.createFile(sourceDirectory) }, in <lambda>()
/tools/metalava/integration/
Dbuild.gradle.kts51 val sources: Configuration by configurations.creating { in <lambda>() constant
71 extendsFrom(sources) in Configuration()
106 abstract var sources: File variable
125 sources.absolutePath, in doThings()
162 sources.incoming.artifactView { }.files.elements.map { jars -> in <lambda>()
173 sources = copyInputSources.get().destinationDir in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiSourceParser.kt116 if (commonSourceSet.sources.isNotEmpty()) { in parseAbsoluteSources()
119 sourceSet.sources, in parseAbsoluteSources()
120 commonSourceSet.sources, in parseAbsoluteSources()
137 val kotlinFiles = sourceSet.sources.filter { it.path.endsWith(SdkConstants.DOT_KT) } in parseAbsoluteSources()
140 val units = Extractor.createUnitsForFiles(environment.ideaProject, sourceSet.sources) in parseAbsoluteSources()
225 fun describeSources(sources: List<File>) = buildString { in configureUastEnvironmentForKMP()
226 for (source in sources) { in configureUastEnvironmentForKMP()
335 for (file in sourceSet.sources) { in gatherPackageJavadoc()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt173 val sources = options.sources in processFlags() constant
175 if (sources.isNotEmpty() && sources[0].path.endsWith(DOT_TXT)) { in processFlags()
177 sources in processFlags()
187 SignatureFile.fromFiles(sources), in processFlags()
201 } else if (sources.size == 1 && sources[0].path.endsWith(DOT_JAR)) { in processFlags()
202 actionContext.loadFromJarFile(sources[0]) in processFlags()
203 } else if (sources.isNotEmpty() || options.sourcePath.isNotEmpty()) { in processFlags()
604 if (options.sources.isEmpty()) { in loadFromSources()
612 SourceSet(options.sources, options.sourcePath) in loadFromSources()
DAnnotationsMerger.kt136 SourceSet(options.sources, options.sourcePath).extractRoots(reporter).sourcePath in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineSourceParser.kt53 identifyHiddenPackages(sourceSet.sources) in <lambda>()
55 val sourceFiles = getSourceFiles(sourceSet.sources) in <lambda>()
62 private fun getSourceFiles(sources: List<File>): List<SourceFile> { in <lambda>()
63 return sources in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestInfo.java70 public void addSources(Set<String> sources) { in addSources() argument
71 mSources.addAll(sources); in addSources()
321 String sources = in toString() local
326 string.append("\n\t").append(sources); in toString()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DBaseTextCodebaseTest.kt30 fun runSignatureTest(vararg sources: TestFile, test: CodebaseContext<Codebase>.() -> Unit) { in runSignatureTest()
31 runCodebaseTest(inputSet(*sources), test = test) in runSignatureTest()
DApiFileTest.kt309 private fun checkPackageStructureCreatedCorrectly(vararg sources: TestFile) { in <lambda>()
310 runSignatureTest(*sources) { in <lambda>()
/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/
DKotlinTestUtils.kt41 fun findKotlinStdlibPaths(sources: Array<String>): List<File> { in findKotlinStdlibPaths()
43 return if (sources.asSequence().any { it.endsWith(DOT_KT) }) { in findKotlinStdlibPaths()
/tools/carrier_settings/
DAndroid.bp25 ":telephonyprovider-proto-sources",
59 ":telephonyprovider-proto-sources",
/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/
DTestMappingTest.java159 Set<String> sources = new HashSet<String>(); in testparseTestMapping() local
163 sources.addAll(test.getSources()); in testparseTestMapping()
167 assertTrue(sources.contains(rootDirName)); in testparseTestMapping()
925 Set<String> sources = mTestMapping.getTestMappingSources(zipFile); in testGetTestMappingSources() local
926 assertEquals(3, sources.size()); in testGetTestMappingSources()
927 assertTrue(sources.contains("src1/TEST_MAPPING")); in testGetTestMappingSources()
928 assertTrue(sources.contains("src1/sub_dir1/TEST_MAPPING")); in testGetTestMappingSources()
929 assertTrue(sources.contains("src2/TEST_MAPPING")); in testGetTestMappingSources()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt625 val sources = signatureSources.toMutableList() in <lambda>() constant
626 signatureSource?.let { sources.add(it) } in <lambda>()
630 sources.forEach { file -> in <lambda>()
1260 .sources in <lambda>()
1278 .sources in <lambda>()
1443 fun findKotlinStdlibPathArgs(sources: Array<String>): Array<String> { in findKotlinStdlibPathArgs()
1444 val kotlinPaths = findKotlinStdlibPaths(sources) in findKotlinStdlibPathArgs()
DMainCommandTest.kt383 command.optionGroup.sources.map { normalize(it) } in Test for @file()
/tools/asuite/aidegen/project/
Dproject_splitter_unittest.py139 sources = self.split_projs._all_srcs
142 self.assertEqual(sources['source_folder_path'], expected_srcs)
144 self.assertEqual(sources['test_folder_path'], expected_tests)
/tools/apkzlib/
Dbuild.gradle20 classifier = 'sources'
/tools/platform-compat/java/android/compat/annotation/
DAndroid.bp36 // Don't forget to depend on exported_plugins, if using sources directly
/tools/metalava/
DUSAGE.md12 - Kotlin sources as inputs
DREADME.md104 * Ability to merge in data (annotations etc) from external sources, such as
169 in from external sources, but also inferring whether nullness annotations have
178 stub sources that include documentation.
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunner.java368 IConfiguration config, List<IRemoteTest> tests, Set<String> sources) { in addTestSourcesToConfig() argument
371 Integer.toString(test.hashCode()), new ArrayList<>(sources) in addTestSourcesToConfig()
/tools/test/openhst/
Dstress_test.proto40 // MONOTONIC sources are from the device's boot time.
/tools/netsim/cmake/
Dnetsim_dependencies.cmake126 # it can add it to their sources list, and it will be there.

12