Home
last modified time | relevance | path

Searched refs:PrefixType (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dbackup_file_utils.h43 …static std::string GetFullPathByPrefixType(PrefixType prefixType, const std::string &relativePath);
46 … static std::string GetReplacedPathByPrefixType(PrefixType srcPrefixType, PrefixType dstPrefixType,
H A Dbackup_const.h210 enum class PrefixType { enum
268 const std::unordered_map<PrefixType, std::string> PREFIX_MAP = {
269 { PrefixType::CLOUD, "/storage/cloud/files" },
270 { PrefixType::LOCAL, "/storage/media/local/files" },
271 { PrefixType::CLOUD_EDIT_DATA, "/storage/cloud/files/.editData" },
272 { PrefixType::LOCAL_EDIT_DATA, "/storage/media/local/files/.editData" },
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_test/src/
H A Dmedialibrary_backup_test.cpp563 PrefixType type = PrefixType::CLOUD;
574 PrefixType type = static_cast<PrefixType>(-1);
629 PrefixType srcPrefix = static_cast<PrefixType>(-1);
630 PrefixType dstPrefix = PrefixType::CLOUD_EDIT_DATA;
641 PrefixType srcPrefix = PrefixType::CLOUD_EDIT_DATA;
642 PrefixType dstPrefix = static_cast<PrefixType>(-1);
653 PrefixType srcPrefix = PrefixType::LOCAL;
654 PrefixType dstPrefix = PrefixType::LOCAL;
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbackup_file_utils.cpp242 … string localDirPath = GetReplacedPathByPrefixType(PrefixType::CLOUD, PrefixType::LOCAL, dirPath); in CreateAssetPathById()
284 std::string BackupFileUtils::GetFullPathByPrefixType(PrefixType prefixType, const std::string &rela… in GetFullPathByPrefixType()
324 std::string BackupFileUtils::GetReplacedPathByPrefixType(PrefixType srcPrefixType, PrefixType dstPr… in GetReplacedPathByPrefixType()
H A Dclone_restore.cpp555 …string localPath = BackupFileUtils::GetReplacedPathByPrefixType(PrefixType::CLOUD, PrefixType::LOC… in MovePicture()
578 …ring localPath = BackupFileUtils::GetReplacedPathByPrefixType(PrefixType::CLOUD, PrefixType::LOCAL, in MoveMovingPhotoVideo()
604 …BackupFileUtils::GetReplacedPathByPrefixType(PrefixType::CLOUD, PrefixType::LOCAL, fileInfo.cloudP… in MoveEditedData()
606 PrefixType::LOCAL_EDIT_DATA, fileInfo.relativePath); in MoveEditedData()
608 PrefixType::CLOUD, PrefixType::LOCAL_EDIT_DATA, fileInfo.cloudPath); in MoveEditedData()
1326 … BackupFileUtils::GetFullPathByPrefixType(PrefixType::LOCAL_EDIT_DATA, fileInfo.relativePath); in PrepareEditTimeVal()
1358 …fileInfo.cloudPath = BackupFileUtils::GetFullPathByPrefixType(PrefixType::CLOUD, fileInfo.relative… in PrepareCloudPath()
1386 …BackupFileUtils::GetReplacedPathByPrefixType(PrefixType::CLOUD, PrefixType::LOCAL, fileInfo.cloudP… in PrepareCloudPath()
H A Dbase_restore.cpp468PrefixType::CLOUD, PrefixType::LOCAL, MovingPhotoFileUtils::GetMovingPhotoExtraDataDir(fileInfo.cl… in MoveExtraData()
479PrefixType::CLOUD, PrefixType::LOCAL, MovingPhotoFileUtils::GetMovingPhotoExtraDataPath(fileInfo.c… in MoveExtraData()
673 …string dstPath = BackupFileUtils::GetFullPathByPrefixType(PrefixType::LOCAL, fileInfo.relativePath… in IsSameAudioFile()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/
H A Dmedialibrary_backup_clone_test.cpp261 …fileInfo.cloudPath = BackupFileUtils::GetFullPathByPrefixType(PrefixType::CLOUD, fileInfo.relative… in GetInsertValues()
360 …fileInfo.cloudPath = BackupFileUtils::GetFullPathByPrefixType(PrefixType::CLOUD, fileInfo.relative… in PrepareFileInfos()