/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_test/src/ |
H A D | medialibrary_backup_test.cpp | 312 std::string cloudPath; variable 328 std::string cloudPath; variable 408 std::string cloudPath; variable 420 std::string cloudPath; variable 432 std::string cloudPath; variable 446 std::string cloudPath; variable 459 std::string cloudPath; variable 471 std::string cloudPath; variable 485 std::string cloudPath; variable 498 std::string cloudPath; variable [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | base_restore.cpp | 235 std::string cloudPath; in GetInsertValues() local 246 fileInfos[i].cloudPath = cloudPath; in GetInsertValues() 496 string tmpPath = fileInfo.cloudPath; in MoveAndModifyFile() 542 moveFailedData.push_back(fileInfos[i].cloudPath); in MoveMigrateFile() 713 if (fileId <= 0 || cloudPath.empty()) { in HasSameAudioFile() 717 fileInfo.cloudPath = cloudPath; in HasSameAudioFile() 743 cloudPathArgs.push_back(fileInfo.cloudPath); in BatchQueryPhoto() 754 return fileInfo.cloudPath == path; in BatchQueryPhoto() 1011 if (fileInfo.cloudPath.empty() || fileInfo.mediaAlbumId <= 0) { in NeedBatchQueryPhotoForPhotoMap() 1015 needQuerySet.insert(fileInfo.cloudPath); in NeedBatchQueryPhotoForPhotoMap() [all …]
|
H A D | clone_restore.cpp | 556 fileInfo.cloudPath); in MovePicture() 579 fileInfo.cloudPath); in MoveMovingPhotoVideo() 1060 if (fileInfos[index].cloudPath.empty()) { in BatchQueryPhoto() 1083 if (fileIndexMap.count(cloudPath) == 0) { in BatchQueryPhoto() 1086 size_t index = fileIndexMap.at(cloudPath); in BatchQueryPhoto() 1359 if (fileInfo.cloudPath.empty()) { in PrepareCloudPath() 1381 fileInfo.cloudPath.clear(); in PrepareCloudPath() 1394 fileInfo.cloudPath.clear(); in PrepareCloudPath() 1755 std::string cloudPath = rowData.data; in IsSameFileForClone() local 1756 if (fileId <= 0 || cloudPath.empty()) { in IsSameFileForClone() [all …]
|
H A D | others_clone_restore.cpp | 563 std::string cloudPath = rowData.data; in HasSameFileForDualClone() local 564 if (fileId <= 0 || cloudPath.empty()) { in HasSameFileForDualClone() 569 fileInfo.cloudPath = cloudPath; in HasSameFileForDualClone()
|
H A D | upgrade_restore.cpp | 755 std::string cloudPath = rowData.data; in HasSameFileForDualClone() local 756 if (fileId <= 0 || cloudPath.empty()) { in HasSameFileForDualClone() 761 fileInfo.cloudPath = cloudPath; in HasSameFileForDualClone()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/ |
H A D | tab_old_photos_restore.cpp | 36 …or<NativeRdb::ValueObject> bindArgs = { fileInfo.fileIdOld, fileInfo.oldPath, fileInfo.cloudPath }; in Restore()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_inotify.cpp | 63 string cloudPath = "/storage/cloud/"; in ConvertMediaPath() local 65 mediaPath.replace(mediaPath.find(localPath), localPath.length(), cloudPath); in ConvertMediaPath()
|
H A D | medialibrary_asset_operations.cpp | 1764 string cloudPath = "/storage/cloud/"; in ConvertMediaPathFromCloudPath() local 1766 if (newPath.find(cloudPath) != string::npos) { in ConvertMediaPathFromCloudPath() 1767 newPath.replace(newPath.find(cloudPath), cloudPath.length(), mediaPath); in ConvertMediaPathFromCloudPath()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/ |
H A D | medialibrary_backup_clone_test.cpp | 261 …fileInfo.cloudPath = BackupFileUtils::GetFullPathByPrefixType(PrefixType::CLOUD, fileInfo.relative… in GetInsertValues() 266 …NativeRdb::ValuesBucket value = restoreService->GetInsertValue(fileInfo, fileInfo.cloudPath, sourc… in GetInsertValues() 360 …fileInfo.cloudPath = BackupFileUtils::GetFullPathByPrefixType(PrefixType::CLOUD, fileInfo.relative… in PrepareFileInfos() 851 testFileInfo.cloudPath = ""; 856 testFileInfo.cloudPath = "/storage/cloud/files/test";
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/user/src/ |
H A D | mount_manager.cpp | 563 string cloudPath = cloudMntArgs.GetFullCloud(); in CloudTwiceMount() local 566 if (IsPathMounted(cloudPath)) { in CloudTwiceMount() 567 LOGI("path has mounted, %{public}s", cloudPath.c_str()); in CloudTwiceMount() 569 mountRet = CloudMount(userId, cloudPath); in CloudTwiceMount() 922 const string cloudPath = cloudMntArgs.GetFullMediaCloud(); in CloudUMount() local 923 err = UMount2(cloudPath, MNT_DETACH); in CloudUMount()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/ |
H A D | backup_const.h | 296 std::string cloudPath; member
|