Searched refs:sourceFile (Results 1 – 4 of 4) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | StubWriter.kt | 81 private fun startFile(sourceFile: File) { in startFile() 85 sourceList.append(sourceFile.path.replace('\\', '/')) in startFile() 105 val sourceFile = File(getPackageDir(pkg), "overview.html") in writeDocOverview() constant 107 PrintWriter(BufferedWriter(FileWriter(sourceFile))) in writeDocOverview() 109 reporter.report(Errors.IO_ERROR, sourceFile, "Cannot open file for write.") in writeDocOverview() 124 val sourceFile = File(getPackageDir(pkg), "package-info.java") in writePackageInfo() constant 126 PrintWriter(BufferedWriter(FileWriter(sourceFile))) in writePackageInfo() 128 reporter.report(Errors.IO_ERROR, sourceFile, "Cannot open file for write.") in writePackageInfo() 131 startFile(sourceFile) in writePackageInfo() 184 val sourceFile = getClassFile(cls) in visitClass() constant [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | DriverTest.kt | 1091 val sourceFile = mergeBaseline ?: baseline in <lambda>() constant 1092 … assertEquals(stripComments(sourceFile, stripLineComments = false).trimIndent(), actualText) in <lambda>() 1266 val sourceFile = sourceFiles[i] in <lambda>() constant 1267 targetPath = if (sourceFile.targetPath.endsWith(DOT_KT)) { in <lambda>() 1269 … sourceFile.targetPath.substring(0, sourceFile.targetPath.length - 3) + DOT_JAVA in <lambda>() 1271 sourceFile.targetPath in <lambda>()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PushFilePreparerTest.java | 277 File sourceFile = FileUtil.createTempFile(fileName, null, hostTestCasesDir); in testResolveRelativeFilePath_withDeviceBuildInfo() local 279 fileName = sourceFile.getName(); in testResolveRelativeFilePath_withDeviceBuildInfo() 286 sourceFile.getAbsolutePath(), in testResolveRelativeFilePath_withDeviceBuildInfo()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | FileUtil.java | 566 public static String readStringFromFile(File sourceFile) throws IOException { in readStringFromFile() argument 570 is = new FileInputStream(sourceFile); in readStringFromFile()
|