Home
last modified time | relevance | path

Searched refs:pathMatch (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dothers_clone_restore.cpp269 auto pathMatch = [displayName {fileInfo.displayName}, filePath {fileInfo.filePath}, in UpDateFileModifiedTime() local
279 auto it = std::find_if(audioDbInfo_.begin(), audioDbInfo_.end(), pathMatch); in UpDateFileModifiedTime()
287 auto it = std::find_if(photoDbInfo_.begin(), photoDbInfo_.end(), pathMatch); in UpDateFileModifiedTime()
292 auto it = std::find_if(audioDbInfo_.begin(), audioDbInfo_.end(), pathMatch); in UpDateFileModifiedTime()
503 auto pathMatch = [lPath {lPath}](const auto &galleryAlbumInfo) { in AddGalleryAlbum() local
506 auto it = std::find_if(galleryAlbumInfos.begin(), galleryAlbumInfos.end(), pathMatch); in AddGalleryAlbum()
H A Dbase_restore.cpp753 auto pathMatch = [path {path}](const auto &fileInfo) { in BatchQueryPhoto() local
756 auto it = std::find_if(fileInfos.begin(), fileInfos.end(), pathMatch); in BatchQueryPhoto()
/ohos5.0/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/service/
H A Dpolicy_info_manager.cpp707 bool pathMatch; in IsPolicyMatch() local
711 pathMatch = (searchPolicy.path == referPolicy.path); in IsPolicyMatch()
715 pathMatch = (searchPolicy.path.substr(0, referPath.length()) == referPath); in IsPolicyMatch()
733 return pathMatch && modeMatch; in IsPolicyMatch()