Lines Matching refs:fromPath
1067 MtpStringBuffer fromPath; in doMoveObject() local
1074 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doMoveObject()
1100 ALOGV("Moving file from %s to %s", (const char*)fromPath, (const char*)path); in doMoveObject()
1101 if (renameTo(fromPath, path)) { in doMoveObject()
1102 PLOG(ERROR) << "rename() failed from " << fromPath << " to " << path; in doMoveObject()
1106 ALOGV("Moving across storages from %s to %s", (const char*)fromPath, (const char*)path); in doMoveObject()
1109 ret += copyRecursive(fromPath, path); in doMoveObject()
1113 deletePath(fromPath); in doMoveObject()
1116 if (copyFile(fromPath, path)) { in doMoveObject()
1119 deletePath(fromPath); in doMoveObject()
1145 MtpStringBuffer fromPath; in doCopyObject() local
1152 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doCopyObject()
1182 ALOGV("Copying file from %s to %s", (const char*)fromPath, (const char*)path); in doCopyObject()
1185 ret += copyRecursive(fromPath, path); in doCopyObject()
1190 if (copyFile(fromPath, path)) { in doCopyObject()