Home
last modified time | relevance | path

Searched refs:fileInfoMap (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dupgrade_restore.h92 std::string &hashSelection, std::unordered_map<std::string, FileInfo> &fileInfoMap);
95 const std::unordered_map<std::string, FileInfo> &fileInfoMap, int32_t offset,
98 …ol SetAttributes(FaceInfo &faceInfo, const std::unordered_map<std::string, FileInfo> &fileInfoMap);
H A Dbackup_database_utils.h70 …ool SetLandmarks(FaceInfo &faceInfo, const std::unordered_map<std::string, FileInfo> &fileInfoMap);
71 …ool SetFileIdNew(FaceInfo &faceInfo, const std::unordered_map<std::string, FileInfo> &fileInfoMap);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dupgrade_restore.cpp993 std::unordered_map<std::string, FileInfo> fileInfoMap; in InsertFaceAnalysisData() local
994 SetHashReference(fileInfos, needQueryMap, hashSelection, fileInfoMap); in InsertFaceAnalysisData()
997 …MEDIA_INFO_LOG("Current %{public}zu / %{public}zu have %{public}d faces", fileInfoMap.size(), file… in InsertFaceAnalysisData()
1005 …std::vector<FaceInfo> faceInfos = QueryFaceInfos(hashSelection, fileInfoMap, offset, excludedFiles… in InsertFaceAnalysisData()
1031 std::string &hashSelection, std::unordered_map<std::string, FileInfo> &fileInfoMap) in SetHashReference() argument
1038 if (fileInfoMap.count(fileInfo.hashCode) > 0) { in SetHashReference()
1042 fileInfoMap[fileInfo.hashCode] = fileInfo; in SetHashReference()
1054 const std::unordered_map<std::string, FileInfo> &fileInfoMap, int32_t offset, in QueryFaceInfos() argument
1078 if (!SetAttributes(faceInfo, fileInfoMap)) { in QueryFaceInfos()
1112 return BackupDatabaseUtils::SetLandmarks(faceInfo, fileInfoMap) && in SetAttributes()
[all …]
H A Dbackup_database_utils.cpp397 …ils::SetLandmarks(FaceInfo &faceInfo, const std::unordered_map<std::string, FileInfo> &fileInfoMap) in SetLandmarks() argument
399 if (faceInfo.hash.empty() || fileInfoMap.count(faceInfo.hash) == 0) { in SetLandmarks()
403 FileInfo fileInfo = fileInfoMap.at(faceInfo.hash); in SetLandmarks()
438 …ils::SetFileIdNew(FaceInfo &faceInfo, const std::unordered_map<std::string, FileInfo> &fileInfoMap) in SetFileIdNew() argument
440 if (faceInfo.hash.empty() || fileInfoMap.count(faceInfo.hash) == 0) { in SetFileIdNew()
444 faceInfo.fileIdNew = fileInfoMap.at(faceInfo.hash).fileIdNew; in SetFileIdNew()