Home
last modified time | relevance | path

Searched refs:bundleNameIndexInfo (Results 1 - 8 of 8) sorted by relevance

/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsvc_restore_deps_manager.cpp32 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(bundleInfo.name, bundleInfo.appIndex); in GetRestoreBundleNames() local
33 restoreBundleNames.emplace_back(bundleNameIndexInfo); in GetRestoreBundleNames()
36 HILOGI("RestoreDeps is not empty, bundleName=%{public}s", bundleNameIndexInfo.c_str()); in GetRestoreBundleNames()
37 if (IsAllDepsRestored(bundleNameIndexInfo)) { in GetRestoreBundleNames()
82 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(bundleInfo.name, bundleInfo.appIndex); in BuildDepsMap() local
83 if (depsMap_.find(bundleNameIndexInfo) != depsMap_.end()) { in BuildDepsMap()
98 depsMap_.insert(make_pair(bundleNameIndexInfo, depsList)); in BuildDepsMap()
H A Dservice.cpp236 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(hapTokenInfo.bundleName, in VerifyCallerAndGetCallerName() local
238 session_->VerifyBundleName(bundleNameIndexInfo); in VerifyCallerAndGetCallerName()
239 return bundleNameIndexInfo; in VerifyCallerAndGetCallerName()
522 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(restoreInfo.name, restoreInfo.appIndex); in SetCurrentSessProperties() local
525 OnBundleStarted(BError(BError::Codes::SA_FORBID_BACKUP_RESTORE), session_, bundleNameIndexInfo); in SetCurrentSessProperties() local
526 session_->RemoveExtInfo(bundleNameIndexInfo); in SetCurrentSessProperties()
529 session_->SetBundleRestoreType(bundleNameIndexInfo, restoreType); in SetCurrentSessProperties()
530 session_->SetBundleVersionCode(bundleNameIndexInfo, restoreInfo.versionCode); in SetCurrentSessProperties()
531 session_->SetBundleVersionName(bundleNameIndexInfo, restoreInfo.versionName); in SetCurrentSessProperties()
532 session_->SetBundleDataSize(bundleNameIndexInfo, restoreInf in SetCurrentSessProperties()
604 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(restoreInfo.name, restoreInfo.appIndex); SetCurrentSessProperties() local
607 OnBundleStarted(BError(BError::Codes::SA_FORBID_BACKUP_RESTORE), session_, bundleNameIndexInfo); SetCurrentSessProperties() local
639 SetCurrentSessProperties(BJsonEntityCaps::BundleInfo &info, std::map<std::string, bool> &isClearDataFlags, const std::string &bundleNameIndexInfo) SetCurrentSessProperties() argument
670 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(info.name, info.appIndex); AppendBundlesBackupSession() local
675 BError(BError::Codes::SA_FORBID_BACKUP_RESTORE), bundleNameIndexInfo); AppendBundlesBackupSession() local
744 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(info.name, info.appIndex); HandleCurGroupBackupInfos() local
748 BError(BError::Codes::SA_FORBID_BACKUP_RESTORE), bundleNameIndexInfo); HandleCurGroupBackupInfos() local
[all...]
H A Dservice_incremental.cpp302 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(info.name, info.appIndex); in AppendBundlesIncrementalBackupSession() local
303 session_->SetBundleDataSize(bundleNameIndexInfo, info.increSpaceOccupied); in AppendBundlesIncrementalBackupSession()
304 session_->SetBackupExtName(bundleNameIndexInfo, info.extensionName); in AppendBundlesIncrementalBackupSession()
307 BError(BError::Codes::SA_FORBID_BACKUP_RESTORE), bundleNameIndexInfo); in AppendBundlesIncrementalBackupSession() local
308 session_->RemoveExtInfo(bundleNameIndexInfo); in AppendBundlesIncrementalBackupSession()
374 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(info.name, info.appIndex); in HandleCurGroupIncBackupInfos() local
375 SetCurrentSessProperties(info, isClearDataFlags, bundleNameIndexInfo); in HandleCurGroupIncBackupInfos()
376 session_->SetBundleDataSize(bundleNameIndexInfo, info.increSpaceOccupied); in HandleCurGroupIncBackupInfos()
379 BError(BError::Codes::SA_FORBID_BACKUP_RESTORE), bundleNameIndexInfo); in HandleCurGroupIncBackupInfos() local
380 session_->RemoveExtInfo(bundleNameIndexInfo); in HandleCurGroupIncBackupInfos()
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/include/module_ipc/
H A Dsvc_backup_connection.h95 std::string bundleNameIndexInfo) in SvcBackupConnection()
96 : callDied_(callDied), callConnected_(callConnected), bundleNameIndexInfo_(bundleNameIndexInfo) in SvcBackupConnection()
93 SvcBackupConnection(std::function<void(const std::string &&, bool)> callDied, std::function<void(const std::string &&)> callConnected, std::string bundleNameIndexInfo) SvcBackupConnection() argument
H A Dservice.h410 const std::string &bundleNameIndexInfo);
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dservice_test.cpp586 string bundleNameIndexInfo = "123456"; in HWTEST_F() local
587 extInfo.backUpConnection = sptr(new SvcBackupConnection(callDied, callConnected, bundleNameIndexInfo)); in HWTEST_F()
729 string bundleNameIndexInfo = "123456789"; in HWTEST_F() local
730 extInfo.backUpConnection = sptr(new SvcBackupConnection(callDied, callConnected, bundleNameIndexInfo)); in HWTEST_F()
1597 string bundleNameIndexInfo = "123456789"; in HWTEST_F() local
1598 extInfo.backUpConnection = sptr(new SvcBackupConnection(callDied, callConnected, bundleNameIndexInfo)); in HWTEST_F()
H A Dservice_other_test.cpp728 string bundleNameIndexInfo; in HWTEST_F() local
731 service->SetCurrentSessProperties(info, isClearDataFlags, bundleNameIndexInfo); in HWTEST_F()
733 service->SetCurrentSessProperties(info, isClearDataFlags, bundleNameIndexInfo); in HWTEST_F()
737 service->SetCurrentSessProperties(info, isClearDataFlags, bundleNameIndexInfo); in HWTEST_F()
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/
H A Dbms_adapter.cpp397 std::string bundleNameIndexInfo = BJsonUtil::BuildBundleNameIndexInfo(installedBundle.name, in GetFullBundleInfos() local
399 bundleNames.emplace_back(bundleNameIndexInfo); in GetFullBundleInfos()

Completed in 14 milliseconds