Lines Matching refs:oldPath
562 Path oldPath = obj.getPath(); in renameFile() local
568 boolean success = oldPath.toFile().renameTo(newPath.toFile()); in renameFile()
570 Os.access(oldPath.toString(), OsConstants.F_OK); in renameFile()
576 if (!mManager.endRenameObject(obj, oldPath.getFileName().toString(), success)) { in renameFile()
586 String[] whereArgs = new String[]{oldPath.toString()}; in renameFile()
599 if (oldPath.getFileName().startsWith(".") && !newPath.startsWith(".")) { in renameFile()
604 if (oldPath.getFileName().toString().toLowerCase(Locale.US).equals(NO_MEDIA) in renameFile()
645 Path oldPath = oldParentObj.getPath().resolve(name); in endMoveObject() local
655 deleteFromMedia(obj, oldPath, obj.isDir()); in endMoveObject()
661 String[] whereArgs = new String[]{oldPath.toString()}; in endMoveObject()
665 parentId = findInMedia(oldParentObj, oldPath.getParent()); in endMoveObject()