Searched refs:fileToDelete (Results 1 – 2 of 2) sorted by relevance
72 public boolean deleteQuietly(File fileToDelete) { in deleteQuietly() argument73 if (fileToDelete == null || fileToDelete.exists() == false) { in deleteQuietly()77 return doDelete(fileToDelete); in deleteQuietly()93 public void delete(File fileToDelete) throws IOException { in delete() argument94 if (fileToDelete.exists() && doDelete(fileToDelete) == false) { in delete()95 throw new IOException("Deletion failed: " + fileToDelete); in delete()115 protected boolean doDelete(File fileToDelete) throws IOException { in doDelete() argument116 return fileToDelete.delete(); in doDelete()150 protected boolean doDelete(File fileToDelete) throws IOException { in doDelete() argument151 FileUtils.forceDelete(fileToDelete); in doDelete()
73 File fileToDelete = new File(mData.getFilePath()); in delete() local74 boolean deletionSucceeded = fileToDelete.delete(); in delete()75 deleteIfEmptyCameraSubDir(fileToDelete.getParentFile()); in delete()