Home
last modified time | relevance | path

Searched refs:galleryRdb (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/report/
H A Ddatabase_report.cpp34 std::shared_ptr<NativeRdb::RdbStore> galleryRdb, bool shouldIncludeSd) in LoadGallery() argument
37 .SetGalleryRdb(galleryRdb) in LoadGallery()
45 std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in LoadExternal() argument
49 .SetGalleryRdb(galleryRdb) in LoadExternal()
76 DatabaseReport &DatabaseReport::ReportGallery(std::shared_ptr<NativeRdb::RdbStore> galleryRdb, bool… in ReportGallery() argument
78 …std::vector<AlbumMediaStatisticInfo> albumMediaStatisticInfos = this->LoadGallery(galleryRdb, shou… in ReportGallery()
84 std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in ReportExternal() argument
86 …or<AlbumMediaStatisticInfo> albumMediaStatisticInfos = this->LoadExternal(externalRdb, galleryRdb); in ReportExternal()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/report/
H A Ddatabase_report.h37 …DatabaseReport &ReportGallery(std::shared_ptr<NativeRdb::RdbStore> galleryRdb, bool shouldIncludeS…
39 std::shared_ptr<NativeRdb::RdbStore> galleryRdb);
47 std::shared_ptr<NativeRdb::RdbStore> galleryRdb, bool shouldIncludeSd);
49 std::shared_ptr<NativeRdb::RdbStore> galleryRdb);
H A Dexternal_files_count_statistic.h33 ExternalFilesCountStatistic &SetGalleryRdb(std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in SetGalleryRdb() argument
35 this->galleryRdb_ = galleryRdb; in SetGalleryRdb()
H A Dgallery_media_count_statistic.h28 GalleryMediaCountStatistic &SetGalleryRdb(std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in SetGalleryRdb() argument
30 this->galleryRdb_ = galleryRdb; in SetGalleryRdb()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/restore/
H A Dphotos_restore.h35 …::shared_ptr<NativeRdb::RdbStore> mediaLibraryRdb, std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in OnStart() argument
37 this->SetMediaLibraryRdb(mediaLibraryRdb).SetGalleryRdb(galleryRdb).LoadBasicInfo(); in OnStart()
84 PhotosRestore &SetGalleryRdb(std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in SetGalleryRdb() argument
86 this->galleryRdb_ = galleryRdb; in SetGalleryRdb()
87 this->galleryMediaDao_.SetGalleryRdb(galleryRdb); in SetGalleryRdb()
H A Dgallery_media_dao.h27 GalleryMediaDao(std::shared_ptr<NativeRdb::RdbStore> galleryRdb) : galleryRdb_(galleryRdb) in GalleryMediaDao() argument
29 void SetGalleryRdb(std::shared_ptr<NativeRdb::RdbStore> galleryRdb);
H A Dphoto_album_restore.h40 …::shared_ptr<NativeRdb::RdbStore> mediaLibraryRdb, std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in OnStart() argument
43 this->galleryRdb_ = galleryRdb; in OnStart()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Dgallery_media_dao.cpp25 void GalleryMediaDao::SetGalleryRdb(std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in SetGalleryRdb() argument
27 this->galleryRdb_ = galleryRdb; in SetGalleryRdb()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbackup_database_utils.cpp143 int32_t BackupDatabaseUtils::InitGarbageAlbum(std::shared_ptr<NativeRdb::RdbStore> galleryRdb, in InitGarbageAlbum() argument
146 if (galleryRdb == nullptr) { in InitGarbageAlbum()
152 auto resultSet = galleryRdb->QuerySql(QUERY_GARBAGE_ALBUM); in InitGarbageAlbum()
183 int32_t BackupDatabaseUtils::QueryGalleryCloneCount(std::shared_ptr<NativeRdb::RdbStore> galleryRdb) in QueryGalleryCloneCount() argument
189 return QueryInt(galleryRdb, QUERY_GALLERY_CLONE_COUNT, CUSTOM_COUNT); in QueryGalleryCloneCount()
192 …ackupDatabaseUtils::QueryGalleryDuplicateDataCount(std::shared_ptr<NativeRdb::RdbStore> galleryRdb, in QueryGalleryDuplicateDataCount() argument
197 auto resultSet = GetQueryResultSet(galleryRdb, QUERY_GALLERY_DUPLICATE_DATA_COUNT); in QueryGalleryDuplicateDataCount()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dbackup_database_utils.h49 …static void QueryGalleryDuplicateDataCount(std::shared_ptr<NativeRdb::RdbStore> galleryRdb, int32_…