Home
last modified time | relevance | path

Searched refs:UPGRADE_RESTORE_ID (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbackup_restore_service.cpp61 if (info.sceneCode == UPGRADE_RESTORE_ID) { in Init()
62 …ice_ = std::make_unique<UpgradeRestore>(info.galleryAppName, info.mediaAppName, UPGRADE_RESTORE_ID, in Init()
H A Dbackup_database_helper.cpp111 if (sceneCode == UPGRADE_RESTORE_ID) { in GetFileQueryInfo()
H A Dupgrade_restore.cpp113 if (sceneCode_ == UPGRADE_RESTORE_ID) { in Init()
335 if (sceneCode_ == UPGRADE_RESTORE_ID) { in RestorePhoto()
344 if (sceneCode_ == UPGRADE_RESTORE_ID) { in RestorePhoto()
1247 if (sceneCode_ == UPGRADE_RESTORE_ID ? in IsBasicInfoValid()
H A Dbackup_file_utils.cpp189 if (sceneCode == UPGRADE_RESTORE_ID) { in GarbleFilePath()
651 return sceneCode == UPGRADE_RESTORE_ID && IsAppTwinData(path) ? APP_TWIN_DATA_PREFIX : ""; in GetExtraPrefixForRealPath()
H A Dbase_restore.cpp879 if (sceneCode_ == UPGRADE_RESTORE_ID) { in GetSubCountInfoJson()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/
H A Dmedialibrary_backup_clone_test.cpp412 info.sceneCode = UPGRADE_RESTORE_ID;
457 BackupRestoreService::GetInstance().GetBackupInfo(UPGRADE_RESTORE_ID, backupInfo);
809 instance.StartBackup(UPGRADE_RESTORE_ID, EMPTY_STR, EMPTY_STR);
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_test/src/
H A Dmedialibrary_backup_test.cpp185 …reService = std::make_unique<UpgradeRestore>(GALLERY_APP_NAME, MEDIA_APP_NAME, UPGRADE_RESTORE_ID); in Init()
246 UPGRADE_RESTORE_ID);
1094 upgrade->InsertAudio(UPGRADE_RESTORE_ID, fileInfos);
1495 std::make_unique<UpgradeRestore>(GALLERY_APP_NAME, MEDIA_APP_NAME, UPGRADE_RESTORE_ID);
1924 …Data(const string &path, const string &expectedExtraPrefix, int32_t sceneCode = UPGRADE_RESTORE_ID) in TestAppTwinData()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dbackup_const.h37 constexpr int32_t UPGRADE_RESTORE_ID = 0; variable