/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | preinstall_data_storage_rdb.h | 31 bool SavePreInstallStorageBundleInfo(const PreInstallBundleInfo &preInstallBundleInfo) override; 32 bool LoadAllPreInstallBundleInfos(std::vector<PreInstallBundleInfo> &preInstallBundleInfos) override; 33 bool DeletePreInstallStorageBundleInfo(const PreInstallBundleInfo &preInstallBundleInfo) override; 35 PreInstallBundleInfo &preInstallBundleInfo) override; 40 std::vector<PreInstallBundleInfo> &preInstallBundleInfos); 41 void UpdateDataBase(std::map<std::string, PreInstallBundleInfo> &infos);
|
H A D | preinstall_data_storage_interface.h | 29 * @param preInstallBundleInfo Indicates the PreInstallBundleInfo object to be save. 32 virtual bool SavePreInstallStorageBundleInfo(const PreInstallBundleInfo &preInstallBundleInfo) = 0; 34 * @brief Obtains the PreInstallBundleInfo objects provided by bundleName. 35 * @param preInstallBundleInfos Indicates information about the PreInstallBundleInfo. 38 virtual bool LoadAllPreInstallBundleInfos(std::vector<PreInstallBundleInfo> &preInstallBundleInfos) = 0; 44 virtual bool DeletePreInstallStorageBundleInfo(const PreInstallBundleInfo &preInstallBundleInfo) = 0; 46 * @brief Obtains the PreInstallBundleInfo objects provided by bundleName. 47 * @param preInstallBundleInfos Indicates information about the PreInstallBundleInfo. 51 PreInstallBundleInfo &preInstallBundleInfo) = 0;
|
H A D | bundle_user_mgr_host_impl.h | 60 std::set<PreInstallBundleInfo> &preInstallBundleInfos); 62 void GetAllDriverBundleInfos(std::set<PreInstallBundleInfo> &preInstallBundleInfos);
|
H A D | pre_install_bundle_info.h | 23 class PreInstallBundleInfo { class 26 * @brief Transform the PreInstallBundleInfo object to json. 32 * @brief Transform the json object to PreInstallBundleInfo object. 38 * @brief Transform the PreInstallBundleInfo object to string. 184 * @param PreInstallBundleInfo Indicates the PreInstallBundleInfo. 186 bool operator() (const PreInstallBundleInfo& info) const in operator ()() 190 bool operator < (const PreInstallBundleInfo &preInstallBundleInfo) const in operator <()
|
H A D | bundle_data_mgr.h | 575 * @brief Obtains the PreInstallBundleInfo objects provided by bundleName. 577 * @param preInstallBundleInfo Indicates information about the PreInstallBundleInfo. 580 bool GetPreInstallBundleInfo(const std::string &bundleName, PreInstallBundleInfo &preInstallBundleInfo); 582 * @brief Save new PreInstallBundleInfo. 584 * @param preInstallBundleInfo Indicates the PreInstallBundleInfo object to be save. 587 bool SavePreInstallBundleInfo(const std::string &bundleName, const PreInstallBundleInfo &preInstallBundleInfo); 589 * @brief Obtains the PreInstallBundleInfo objects provided by bundleName. 590 * @param preInstallBundleInfo Indicates information about the PreInstallBundleInfo. 593 bool LoadAllPreInstallBundleInfos(std::vector<PreInstallBundleInfo> &preInstallBundleInfos); 595 * @brief Save new PreInstallBundleInfo [all...] |
H A D | bundle_mgr_service_event_handler.h | 327 * @brief Obtains the PreInstallBundleInfo objects. 637 std::map<std::string, PreInstallBundleInfo> loadExistData_;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | preinstall_data_storage_rdb.cpp | 39 std::vector<PreInstallBundleInfo> &preInstallBundleInfos) in LoadAllPreInstallBundleInfos() 59 std::vector<PreInstallBundleInfo> &preInstallBundleInfos) in TransformStrToInfo() 67 std::map<std::string, PreInstallBundleInfo> updateInfos; in TransformStrToInfo() 69 PreInstallBundleInfo preInstallBundleInfo; in TransformStrToInfo() 97 std::map<std::string, PreInstallBundleInfo> &infos) in UpdateDataBase() 114 const PreInstallBundleInfo &preInstallBundleInfo) in SavePreInstallStorageBundleInfo() 133 const PreInstallBundleInfo &preInstallBundleInfo) in DeletePreInstallStorageBundleInfo() 151 PreInstallBundleInfo &preInstallBundleInfo) in LoadPreInstallBundleInfo()
|
H A D | pre_install_bundle_info.cpp | 36 void PreInstallBundleInfo::ToJson(nlohmann::json &jsonObject) const in ToJson() 51 int32_t PreInstallBundleInfo::FromJson(const nlohmann::json &jsonObject) in FromJson() 80 std::string PreInstallBundleInfo::ToString() const in ToString() 97 void PreInstallBundleInfo::CalculateHapTotalSize() in CalculateHapTotalSize()
|
H A D | bundle_user_mgr_host_impl.cpp | 142 std::set<PreInstallBundleInfo> preInstallBundleInfos; in OnCreateNewUser() 180 std::set<PreInstallBundleInfo> &preInstallBundleInfos) in GetAllPreInstallBundleInfos() 189 std::vector<PreInstallBundleInfo> allPreInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in GetAllPreInstallBundleInfos() 212 void BundleUserMgrHostImpl::GetAllDriverBundleInfos(std::set<PreInstallBundleInfo> &preInstallBundleInfos) in GetAllDriverBundleInfos() 222 PreInstallBundleInfo preInstallBundleInfo; in GetAllDriverBundleInfos()
|
H A D | hmp_bundle_installer.cpp | 148 PreInstallBundleInfo preInfo; in GetRequiredUserIds() 371 PreInstallBundleInfo preInstallBundleInfo; in CheckUninstallSystemHsp() 384 PreInstallBundleInfo preInstallBundleInfo; in UpdatePreInfoInDb()
|
H A D | system_bundle_installer.cpp | 280 PreInstallBundleInfo preInstallBundleInfo; in CheckUninstallSystemHsp()
|
H A D | bundle_mgr_service_event_handler.cpp | 1258 std::vector<PreInstallBundleInfo> preInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in InnerProcessCheckPreinstallData() 1484 std::vector<PreInstallBundleInfo> preInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in InnerProcessCheckRecoverableApplicationInfo() 1620 std::vector<PreInstallBundleInfo> preInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in LoadAllPreInstallBundleInfos() 2770 PreInstallBundleInfo preInstallBundleInfo; in DeletePreInfoInDb() 3732 PreInstallBundleInfo preInstallBundleInfo; in UpdatePreinstallDBForUninstalledBundle()
|
H A D | bundle_data_mgr.cpp | 3488 const std::vector<PreInstallBundleInfo> BundleDataMgr::GetRecoverablePreInstallBundleInfos() in GetRecoverablePreInstallBundleInfos() 3490 std::vector<PreInstallBundleInfo> recoverablePreInstallBundleInfos; in GetRecoverablePreInstallBundleInfos() 3496 std::vector<PreInstallBundleInfo> preInstallBundleInfos = GetAllPreInstallBundleInfos(); in GetRecoverablePreInstallBundleInfos() 4938 const std::string &bundleName, const PreInstallBundleInfo &preInstallBundleInfo) in SavePreInstallBundleInfo() 4954 const std::string &bundleName, const PreInstallBundleInfo &preInstallBundleInfo) in DeletePreInstallBundleInfo() 4970 const std::string &bundleName, PreInstallBundleInfo &preInstallBundleInfo) in GetPreInstallBundleInfo() 4986 bool BundleDataMgr::LoadAllPreInstallBundleInfos(std::vector<PreInstallBundleInfo> &preInstallBundleInfos) in LoadAllPreInstallBundleInfos() 6151 const std::vector<PreInstallBundleInfo> BundleDataMgr::GetAllPreInstallBundleInfos() in GetAllPreInstallBundleInfos() 6153 std::vector<PreInstallBundleInfo> preInstallBundleInfos; in GetAllPreInstallBundleInfos()
|
H A D | bundle_mgr_host_impl.cpp | 3894 std::vector<PreInstallBundleInfo> recoverableBundleInfos = dataMgr->GetRecoverablePreInstallBundleInfos(); in GetRecoverableApplicationInfo() 3940 PreInstallBundleInfo preInstallBundleInfo; in GetUninstalledBundleInfo() 4015 std::vector<PreInstallBundleInfo> preInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in GetAllPreinstalledApplicationInfos()
|
H A D | base_bundle_installer.cpp | 768 PreInstallBundleInfo preInstallBundleInfo; in InnerProcessBundleInstall() 1844 PreInstallBundleInfo preInstallBundleInfo; in MarkPreInstallState() 1847 LOG_I(BMS_TAG_INSTALLER, "No PreInstallBundleInfo(%{public}s) in db", bundleName.c_str()); in MarkPreInstallState() 1964 PreInstallBundleInfo preInstallBundleInfo; in InnerProcessInstallByPreInstallInfo() 1968 LOG_E(BMS_TAG_INSTALLER, "Get PreInstallBundleInfo faile, bundleName: %{public}s", bundleName.c_str()); in InnerProcessInstallByPreInstallInfo() 6109 PreInstallBundleInfo preInfo; in RollbackHmpCommonInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_rdb_data_manager_test/ |
H A D | bms_rdb_data_manager_test.cpp | 348 PreInstallBundleInfo preInstallBundleInfo; in HWTEST_F() 367 PreInstallBundleInfo preInstallBundleInfo1; in HWTEST_F() 373 PreInstallBundleInfo preInstallBundleInfo2; in HWTEST_F() 379 std::vector<PreInstallBundleInfo> preInstallBundleInfos; in HWTEST_F() 394 PreInstallBundleInfo preInstallBundleInfo1; in HWTEST_F() 401 PreInstallBundleInfo preInstallBundleInfo; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/ |
H A D | app_service_fwk_installer.cpp | 90 PreInstallBundleInfo preInstallBundleInfo; in Install() 148 PreInstallBundleInfo preInstallBundleInfo; in UnInstall() 340 PreInstallBundleInfo preInstallBundleInfo; in SavePreInstallBundleInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/ |
H A D | bms_event_handler_test.cpp | 425 PreInstallBundleInfo preInstallBundleInfo; in HWTEST_F() 757 PreInstallBundleInfo info; in HWTEST_F() 771 PreInstallBundleInfo info; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | bundle_mgr_service_event_handler.cpp | 451 std::vector<PreInstallBundleInfo> preInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in LoadAllPreInstallBundleInfos()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/ |
H A D | inner_shared_bundle_installer.cpp | 435 PreInstallBundleInfo preInstallBundleInfo; in SavePreInstallInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 3158 PreInstallBundleInfo preInstallBundleInfo; in HWTEST_F() 4461 PreInstallBundleInfo preInstallBundleInfo; in HWTEST_F() 4468 std::vector<PreInstallBundleInfo> preInstallBundleInfos; in HWTEST_F() 5899 PreInstallBundleInfo preInstallBundleInfo; in HWTEST_F() 6005 std::vector<PreInstallBundleInfo> preInstallBundleInfos; in HWTEST_F() 6006 std::map<std::string, PreInstallBundleInfo> infos; in HWTEST_F() 6007 PreInstallBundleInfo preInstallBundleInfo; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_app_service_fwk_installer.cpp | 307 PreInstallBundleInfo preInstallBundleInfo; in DeletePreBundleInfo()
|
H A D | bms_bundle_installer_test.cpp | 6838 std::set<PreInstallBundleInfo> preInstallBundleInfos; in HWTEST_F() 6917 * @tc.desc: 1.Test ToJson the PreInstallBundleInfo 6921 PreInstallBundleInfo preInstallBundleInfo; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_data_mgr_test.cpp | 4813 std::set<PreInstallBundleInfo> preInstallBundleInfos; in HWTEST_F()
|