/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/ |
D | BaseModelTest.kt | 193 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/ |
D | SourceSet.kt | 38 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/ |
D | ChainedDataSource.java | 32 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/ |
D | PsiSourceParserTest.kt | 57 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/ |
D | build.gradle.kts | 51 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/ |
D | PsiSourceParser.kt | 116 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/ |
D | Driver.kt | 173 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()
|
D | AnnotationsMerger.kt | 136 SourceSet(options.sources, options.sourcePath).extractRoots(reporter).sourcePath in <lambda>()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineSourceParser.kt | 53 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/ |
D | TestInfo.java | 70 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/ |
D | BaseTextCodebaseTest.kt | 30 fun runSignatureTest(vararg sources: TestFile, test: CodebaseContext<Codebase>.() -> Unit) { in runSignatureTest() 31 runCodebaseTest(inputSet(*sources), test = test) in runSignatureTest()
|
D | ApiFileTest.kt | 309 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/ |
D | KotlinTestUtils.kt | 41 fun findKotlinStdlibPaths(sources: Array<String>): List<File> { in findKotlinStdlibPaths() 43 return if (sources.asSequence().any { it.endsWith(DOT_KT) }) { in findKotlinStdlibPaths()
|
/tools/carrier_settings/ |
D | Android.bp | 25 ":telephonyprovider-proto-sources", 59 ":telephonyprovider-proto-sources",
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 159 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/ |
D | DriverTest.kt | 625 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()
|
D | MainCommandTest.kt | 383 command.optionGroup.sources.map { normalize(it) } in Test for @file()
|
/tools/asuite/aidegen/project/ |
D | project_splitter_unittest.py | 139 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/ |
D | build.gradle | 20 classifier = 'sources'
|
/tools/platform-compat/java/android/compat/annotation/ |
D | Android.bp | 36 // Don't forget to depend on exported_plugins, if using sources directly
|
/tools/metalava/ |
D | USAGE.md | 12 - Kotlin sources as inputs
|
D | README.md | 104 * 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/ |
D | TestMappingSuiteRunner.java | 368 IConfiguration config, List<IRemoteTest> tests, Set<String> sources) { in addTestSourcesToConfig() argument 371 Integer.toString(test.hashCode()), new ArrayList<>(sources) in addTestSourcesToConfig()
|
/tools/test/openhst/ |
D | stress_test.proto | 40 // MONOTONIC sources are from the device's boot time.
|
/tools/netsim/cmake/ |
D | netsim_dependencies.cmake | 126 # it can add it to their sources list, and it will be there.
|