Searched refs:destFile (Results 1 – 5 of 5) sorted by relevance
109 public static boolean copyToFile(InputStream inputStream, File destFile) { in copyToFile() argument111 if (destFile.exists()) { in copyToFile()112 destFile.delete(); in copyToFile()114 FileOutputStream out = new FileOutputStream(destFile); in copyToFile()
23 SourceBuildStep(File destFile) { in SourceBuildStep() argument24 super(destFile); in SourceBuildStep()
58 File destFile = new File(destPath); in build() local59 if (!destFile.exists() && !destFile.mkdirs()) in build()
148 public static void copyToFileOrThrow(InputStream inputStream, File destFile) in copyToFileOrThrow() argument150 if (destFile.exists()) { in copyToFileOrThrow()151 destFile.delete(); in copyToFileOrThrow()153 destFile.getParentFile().mkdirs(); in copyToFileOrThrow()154 FileOutputStream out = new FileOutputStream(destFile); in copyToFileOrThrow()172 public Uri createAndAddImage(File destFile, InputStream image) throws IOException, in createAndAddImage() argument174 copyToFileOrThrow(image, destFile); in createAndAddImage()176 boolean success = scanner.scan(getContext(), destFile.toString(), "image/jpeg"); in createAndAddImage()