Searched refs:dstFilePath (Results 1 – 4 of 4) sorted by relevance
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_object_test/src/ |
| D | medialibrary_object_test.cpp | 129 string dstFilePath = ""; variable 130 int32_t ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath); 133 dstFilePath = "/storage/cloud/files"; 134 ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath); 136 dstFilePath = "RenameFileObj.test/media"; 144 ret = MediaLibraryObjectUtils::RenameFileObj(cmd, srcFilePath, dstFilePath); 152 string dstFilePath = ""; variable 153 int32_t ret = MediaLibraryObjectUtils::RenameDirObj(cmd, srcFilePath, dstFilePath); 157 ret = MediaLibraryObjectUtils::RenameDirObj(cmd, srcFilePath, dstFilePath); 160 dstFilePath = "/storage/cloud/files"; [all …]
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
| D | medialibrary_file_operations.cpp | 164 string dstFilePath = ROOT_MEDIA_DIR + dstReFilePath + dstFileName; in ModifyFileOperation() local 166 if (srcPath.compare(dstFilePath) == 0) { in ModifyFileOperation() 169 return MediaLibraryObjectUtils::RenameFileObj(cmd, srcPath, dstFilePath); in ModifyFileOperation()
|
| D | medialibrary_object_utils.cpp | 631 const string &srcFilePath, const string &dstFilePath) in RenameFileObj() argument 633 if (srcFilePath.empty() || dstFilePath.empty()) { in RenameFileObj() 637 if (srcFilePath.compare(dstFilePath) == 0) { in RenameFileObj() 641 auto errCode = CheckDirExtension(dstFilePath); in RenameFileObj() 647 string dstAlbumPath = MediaFileUtils::GetParentPath(dstFilePath); in RenameFileObj() 654 errCode = MediaFileUtils::ModifyAsset(srcFilePath, dstFilePath); in RenameFileObj() 662 string dstFileName = MediaFileUtils::GetFileName(dstFilePath); in RenameFileObj() 670 auto ret = UpdateFileInfoInDb(cmd, dstFilePath, dirAsset.GetAlbumId(), dirAsset.GetAlbumName()); in RenameFileObj()
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
| D | medialibrary_object_utils.h | 51 const std::string &dstFilePath);
|