Searched refs:targetFile (Results 1 – 7 of 7) sorted by relevance
138 protected void copyResourceTo(String name, File targetFile) throws IOException { in copyResourceTo() argument139 File directory = targetFile.getParentFile(); in copyResourceTo()142 FileOutputStream fos = new FileOutputStream(targetFile); in copyResourceTo()157 protected void copyResourceTo(String name, File targetFile, Map<String, String> replacements) in copyResourceTo() argument160 copyResourceTo(name, targetFile); in copyResourceTo()185 FileUtils.writeStringToFile(targetFile, out.toString()); in copyResourceTo()
94 private ScopedException singleFileErrorTest(String resource, String targetFile, in singleFileErrorTest() argument98 copyResourceTo(resource, targetFile); in singleFileErrorTest()108 String extract = extract(targetFile, loc); in singleFileErrorTest()113 assertEquals(new File(testFolder, targetFile).getCanonicalFile(), in singleFileErrorTest()
398 final File targetFile = new File(targetDir, targetName); in copyFile() local400 Slog.d(TAG, "Copying " + sourceFile + " to " + targetFile); in copyFile()401 if (!FileUtils.copyFile(sourceFile, targetFile)) { in copyFile()402 throw new IOException("Failed to copy " + sourceFile + " to " + targetFile); in copyFile()412 Os.chmod(targetFile.getAbsolutePath(), 0640); in copyFile()415 Os.chmod(targetFile.getAbsolutePath(), 0644); in copyFile()
210 File targetFile = new File(targetDir, layoutFile.getName()); in addFromFile() local213 appender = new FileWriter(targetFile, true); in addFromFile()
717 final File targetFile = new File(mResolvedStageDir, targetName); in validateInstallLocked() local718 if (!addedFile.equals(targetFile)) { in validateInstallLocked()719 addedFile.renameTo(targetFile); in validateInstallLocked()724 mResolvedBaseFile = targetFile; in validateInstallLocked()727 mResolvedStagedFiles.add(targetFile); in validateInstallLocked()
415 final File targetFile = new File(targetDir, sourceFile.getName()); in moveFiles() local416 Log.d(TAG, "Migrating " + sourceFile + " to " + targetFile); in moveFiles()418 FileUtils.copyFileOrThrow(sourceFile, targetFile); in moveFiles()419 FileUtils.copyPermissions(sourceFile, targetFile); in moveFiles()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...