/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | backup_file_utils.cpp | 178 string BackupFileUtils::GarbleFilePath(const std::string &filePath, int32_t sceneCode, std::string … in GarbleFilePath() function in OHOS::Media::BackupFileUtils 343 … MEDIA_ERR_LOG("old path: %{public}s is not exists.", GarbleFilePath(oldPath, sceneCode).c_str()); in MoveFile() 346 … MEDIA_ERR_LOG("new path: %{public}s is exists.", GarbleFilePath(newPath, sceneCode).c_str()); in MoveFile() 371 std::string garbledFilePath = BackupFileUtils::GarbleFilePath(filePath, sceneCode); in IsLowQualityImage() 399 std::string garbledFilePath = BackupFileUtils::GarbleFilePath(filePath, sceneCode); in IsFileValid() 428 …"size: %{public}zu, pos: %{public}zu", GarbleFilePath(path, DEFAULT_RESTORE_ID).c_str(), path.size… in GetFileNameFromPath() 526 GarbleFilePath(failedFilePath, sceneCode).c_str(), failedFileInfo.albumName.c_str(), in GetFailedFile() 548 GarbleFilePath(path, sceneCode).c_str(), count, prefixLevel); in GetPathPosByPrefixLevel() 637 GarbleFilePath(path, DEFAULT_RESTORE_ID).c_str()); in GetFileFolderFromPath() 643 startPos, endPos, GarbleFilePath(path, DEFAULT_RESTORE_ID).c_str()); in GetFileFolderFromPath()
|
H A D | base_restore.cpp | 179 BackupFileUtils::GarbleFilePath(srcFile, sceneCode_).c_str(), in CopyFile() 192 BackupFileUtils::GarbleFilePath(fileInfo.filePath, sceneCode).c_str(), errno); in IsFileValid() 254 BackupFileUtils::GarbleFilePath(fileInfos[i].filePath, sceneCode).c_str()); in GetInsertValues() 433 BackupFileUtils::GarbleFilePath(fileInfos[i].filePath, sceneCode).c_str(), in InsertAudio() 446 BackupFileUtils::GarbleFilePath(fileInfos[i].filePath, sceneCode).c_str()); in InsertAudio() 487 BackupFileUtils::GarbleFilePath(fileInfo.extraDataPath, sceneCode).c_str(), in MoveExtraData() 501 BackupFileUtils::GarbleFilePath(fileInfo.filePath, sceneCode).c_str(), in MoveAndModifyFile() 502 BackupFileUtils::GarbleFilePath(localPath, sceneCode).c_str(), errCode, errno); in MoveAndModifyFile() 641 BackupFileUtils::GarbleFilePath(dstDir, DEFAULT_RESTORE_ID).c_str()); in MoveDirectory() 660 BackupFileUtils::GarbleFilePath(srcFilePath, sceneCode_).c_str(), in MoveDirectory() [all …]
|
H A D | others_clone_restore.cpp | 260 …MEDIA_WARN_LOG("Not supported media %{public}s", BackupFileUtils::GarbleFilePath(file, sceneCode_)… in SetFileInfosInCurrentDir() 262 …MEDIA_WARN_LOG("Not supported file %{public}s", BackupFileUtils::GarbleFilePath(file, sceneCode_).… in SetFileInfosInCurrentDir() 473 BackupFileUtils::GarbleFilePath(filePath, sceneCode).c_str()); in ParseSourcePathToLPath() 489 BackupFileUtils::GarbleFilePath(filePath, sceneCode).c_str()); in ParseSourcePathToLPath() 494 BackupFileUtils::GarbleFilePath(filePath, sceneCode).c_str()); in ParseSourcePathToLPath() 594 BackupFileUtils::GarbleFilePath(fileInfo.filePath, sceneCode_).c_str()); in FindAlbumInfo() 603 BackupFileUtils::GarbleFilePath(fileInfo.filePath, sceneCode_).c_str()); in FindAlbumInfo() 610 BackupFileUtils::GarbleFilePath(fileInfo.filePath, sceneCode_).c_str()); in FindAlbumInfo()
|
H A D | backup_database_helper.cpp | 52 BackupFileUtils::GarbleFilePath(dbFullPath, DEFAULT_RESTORE_ID).c_str()); in InitDb()
|
H A D | upgrade_restore.cpp | 298 BackupFileUtils::GarbleFilePath(info.oldPath, DEFAULT_RESTORE_ID).c_str()); in ParseResultSetFromAudioDb() 522 BackupFileUtils::GarbleFilePath(info.oldPath, DEFAULT_RESTORE_ID).c_str()); in ParseResultSetForAudio() 528 BackupFileUtils::GarbleFilePath(info.oldPath, DEFAULT_RESTORE_ID).c_str()); in ParseResultSetForAudio() 536 BackupFileUtils::GarbleFilePath(info.oldPath, DEFAULT_RESTORE_ID).c_str()); in ParseResultSetForAudio() 1264 … BackupFileUtils::GarbleFilePath(info.oldPath, DEFAULT_RESTORE_ID).c_str(), fileMinSize_); in IsBasicInfoValid()
|
H A D | clone_restore.cpp | 363 … BackupFileUtils::GarbleFilePath(fileInfos[i].filePath, CLONE_RESTORE_ID, garbagePath_).c_str(), in MoveMigrateFile() 565 … BackupFileUtils::GarbleFilePath(fileInfo.filePath, CLONE_RESTORE_ID, garbagePath_).c_str(), in MovePicture() 1367 … BackupFileUtils::GarbleFilePath(fileInfo.filePath, CLONE_RESTORE_ID, garbagePath_).c_str()); in PrepareCloudPath() 1389 … BackupFileUtils::GarbleFilePath(fileInfo.filePath, CLONE_RESTORE_ID, garbagePath_).c_str(), in PrepareCloudPath() 1390 … BackupFileUtils::GarbleFilePath(fileInfo.cloudPath, DEFAULT_RESTORE_ID, garbagePath_).c_str()); in PrepareCloudPath() 1519 … BackupFileUtils::GarbleFilePath(fileInfo.filePath, CLONE_RESTORE_ID, garbagePath_).c_str()); in InsertAudio() 1528 … BackupFileUtils::GarbleFilePath(fileInfo.filePath, CLONE_RESTORE_ID, garbagePath_).c_str()); in InsertAudio() 1535 …BackupFileUtils::GarbleFilePath(fileInfo.filePath, CLONE_RESTORE_ID, garbagePath_).c_str(), moveEr… in InsertAudio()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/log/ |
H A D | backup_log_utils.cpp | 45 infoStream << ";" << BackupFileUtils::GarbleFilePath(info.oldPath, DEFAULT_RESTORE_ID); in FileInfoToString()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/ |
H A D | backup_file_utils.h | 39 …static std::string GarbleFilePath(const std::string &filePath, int32_t sceneCode, std::string clon…
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/ |
H A D | photos_restore.cpp | 234 BackupFileUtils::GarbleFilePath(data, DEFAULT_RESTORE_ID).c_str(), in GetDuplicateData()
|