Home
last modified time | relevance | path

Searched refs:PreInstallBundleInfo (Results 1 - 24 of 24) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dpreinstall_data_storage_rdb.h31 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 Dpreinstall_data_storage_interface.h29 * @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 Dbundle_user_mgr_host_impl.h60 std::set<PreInstallBundleInfo> &preInstallBundleInfos);
62 void GetAllDriverBundleInfos(std::set<PreInstallBundleInfo> &preInstallBundleInfos);
H A Dpre_install_bundle_info.h23 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 Dbundle_data_mgr.h575 * @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 Dbundle_mgr_service_event_handler.h327 * @brief Obtains the PreInstallBundleInfo objects.
637 std::map<std::string, PreInstallBundleInfo> loadExistData_;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dpreinstall_data_storage_rdb.cpp39 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 Dpre_install_bundle_info.cpp36 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 Dbundle_user_mgr_host_impl.cpp142 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 Dhmp_bundle_installer.cpp148 PreInstallBundleInfo preInfo; in GetRequiredUserIds()
371 PreInstallBundleInfo preInstallBundleInfo; in CheckUninstallSystemHsp()
384 PreInstallBundleInfo preInstallBundleInfo; in UpdatePreInfoInDb()
H A Dsystem_bundle_installer.cpp280 PreInstallBundleInfo preInstallBundleInfo; in CheckUninstallSystemHsp()
H A Dbundle_mgr_service_event_handler.cpp1258 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 Dbundle_data_mgr.cpp3488 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 Dbundle_mgr_host_impl.cpp3894 std::vector<PreInstallBundleInfo> recoverableBundleInfos = dataMgr->GetRecoverablePreInstallBundleInfos(); in GetRecoverableApplicationInfo()
3940 PreInstallBundleInfo preInstallBundleInfo; in GetUninstalledBundleInfo()
4015 std::vector<PreInstallBundleInfo> preInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in GetAllPreinstalledApplicationInfos()
H A Dbase_bundle_installer.cpp768 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 Dbms_rdb_data_manager_test.cpp348 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 Dapp_service_fwk_installer.cpp90 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 Dbms_event_handler_test.cpp425 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 Dbundle_mgr_service_event_handler.cpp451 std::vector<PreInstallBundleInfo> preInstallBundleInfos = dataMgr->GetAllPreInstallBundleInfos(); in LoadAllPreInstallBundleInfos()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp435 PreInstallBundleInfo preInstallBundleInfo; in SavePreInstallInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp3158 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 Dbms_bundle_app_service_fwk_installer.cpp307 PreInstallBundleInfo preInstallBundleInfo; in DeletePreBundleInfo()
H A Dbms_bundle_installer_test.cpp6838 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 Dbms_bundle_data_mgr_test.cpp4813 std::set<PreInstallBundleInfo> preInstallBundleInfos; in HWTEST_F()

Completed in 87 milliseconds