/tools/treble/hacksaw/workspace/ |
D | copier.go | 129 func (f FileCopier) GetDestPath(codebaseDir, sourcePath, workspaceDir string) (string, error) { 130 if !strings.HasPrefix(sourcePath+"/", codebaseDir+"/") { 131 return "", fmt.Errorf("%s is not contained in %s", sourcePath, codebaseDir) 133 relPath, err := filepath.Rel(codebaseDir, sourcePath) 143 func (f FileCopier) CopyNode(sourceInfo os.FileInfo, codebaseDir, sourcePath, workspaceDir string) … 144 destPath, err := f.GetDestPath(codebaseDir, sourcePath, workspaceDir) 150 return f.CopySymlink(sourcePath, destPath) 154 return f.CopyFile(sourceInfo, sourcePath, destPath) 158 func (f FileCopier) CopySymlink(sourcePath string, destPath string) error { 165 target, err := os.Readlink(sourcePath) [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 47 return sourcePath.filter { it.path.isNotBlank() }.map { it.absoluteFile } in <lambda>() 60 val sourceRoots = extractRoots(reporter, sources, sourcePath.toMutableList()) in extractRoots() 70 sourcePath: List<File>, in empty() 73 val sources = gatherSources(reporter, sourcePath, fileTester) in empty() 74 return SourceSet(sources, sourcePath) in empty() 119 sourcePath: List<File>, in gatherSources() 123 for (file in sourcePath) { in gatherSources()
|
/tools/metalava/metalava-reporter/src/main/java/com/android/tools/metalava/reporter/ |
D | Baseline.kt | 64 val sourcePath: List<File>, in <lambda>() constant in com.android.tools.metalava.reporter.Baseline.Config 137 for (sourcePath in config.sourcePath) { in <lambda>() method 138 if (path.startsWith(sourcePath.path)) { in <lambda>() 139 return path.substring(sourcePath.path.length).replace('\\', '/').removePrefix("/") in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | MainCommand.kt | 220 val sourcePath = sourceOptions.sourcePath in <lambda>() constant 221 if (sourcePath.isNotEmpty() && sourcePath[0].path.isNotBlank()) { in <lambda>() 231 var base = sourcePath[0] in <lambda>()
|
D | Driver.kt | 203 } else if (sources.isNotEmpty() || options.sourcePath.isNotEmpty()) { in processFlags() 610 SourceSet.createFromSourcePath(options.reporter, options.sourcePath) in loadFromSources() 612 SourceSet(options.sources, options.sourcePath) in loadFromSources()
|
D | AnnotationsMerger.kt | 136 SourceSet(options.sources, options.sourcePath).extractRoots(reporter).sourcePath in <lambda>()
|
D | Options.kt | 310 val sourcePath: List<File> by sourceOptions::sourcePath constant
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/ |
D | CommonBaselineOptions.kt | 58 sourcePath = sourceOptions.sourcePath, in <lambda>()
|
D | SourceOptions.kt | 71 internal val sourcePath by constant in com.android.tools.metalava.cli.common.SourceOptions
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiSourceParser.kt | 114 val rootDir = sourceSet.sourcePath.firstOrNull() ?: File("").canonicalFile in parseAbsoluteSources() 125 configureUastEnvironment(config, sourceSet.sourcePath, classpath, rootDir) in parseAbsoluteSources() 334 val sortedSourceRoots = sourceSet.sourcePath.sortedBy { -it.name.length } in gatherPackageJavadoc()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineSourceParser.kt | 49 val rootDir = sourceSet.sourcePath.firstOrNull() ?: File("").canonicalFile in <lambda>()
|
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiSourceParserTest.kt | 142 val roots = sourceSet.extractRoots(reporter).sourcePath in <lambda>()
|
/tools/asuite/atest/coverage/com/android/jacocolcov/ |
D | JacocoToLcovConverter.java | 106 for (String sourcePath : sourcePaths) { in main() 107 converter.indexSourcePath(Paths.get(sourcePath)); in main()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | DriverTest.kt | 597 var sourcePath = sourcePathDir.path in <lambda>() variable 602 sourcePath = sourcePath + File.pathSeparator + sourcePath + "2" in <lambda>() 609 sourcePath = in <lambda>() 1036 sourcePath, in <lambda>()
|