Lines Matching full:oldfile
791 File oldFile = new File(path);
798 boolean success = oldFile.renameTo(newFile);
818 newFile.renameTo(oldFile);
825 if (oldFile.getName().startsWith(".") && !newPath.startsWith(".")) {
835 if (oldFile.getName().toLowerCase(Locale.US).equals(".nomedia")
838 mMediaProvider.call(MediaStore.UNHIDE_CALL, oldFile.getParent(), null);