Home
last modified time | relevance | path

Searched refs:InstallState (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_data_mgr_test.cpp113 dataMgr_->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UNINSTALL_SUCCESS); in TearDown()
272 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UNINSTALL_START);
330 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
347 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
364 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
381 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
398 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
415 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
432 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
451 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UNINSTALL_START);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/interfaces/inner_api/bundlemgr_lite/slite/
H A Dbundle_install_msg.h38 } InstallState; typedef
45 InstallState installState;
66 bool GetInstallState(const char *bundleName, InstallState *installState, uint8_t *installProcess);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_installer_test/
H A Dbms_bundle_clone_installer_test.cpp127 dataMgr->UpdateBundleInstallState(bundleName, InstallState::INSTALL_START); in SetInnerBundleInfo()
129 dataMgr->UpdateBundleInstallState(bundleName, InstallState::INSTALL_SUCCESS); in SetInnerBundleInfo()
138 dataMgr->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START); in DeleteBundle()
139 dataMgr->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_SUCCESS); in DeleteBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp129 if (!dataMgr_->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START)) { in UnInstall()
144 if (!dataMgr_->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_SUCCESS)) { in UnInstall()
222 dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::INSTALL_SUCCESS); in ProcessInstall()
641 if (!dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::INSTALL_START)) { in SaveBundleInfoToStorage()
647 dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::UNINSTALL_START); in SaveBundleInfoToStorage()
648 dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::UNINSTALL_SUCCESS); in SaveBundleInfoToStorage()
751 if (!dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::UPDATING_START)) { in ProcessBundleUpdateStatus()
790 if (!dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::UPDATING_SUCCESS)) { in ProcessModuleUpdate()
822 if (!dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::UPDATING_SUCCESS)) { in ProcessNewModuleInstall()
845 if (!dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::UNINSTALL_START)) { in UninstallLowerVersion()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/
H A Dbms_bundle_overlay_checker_test.cpp176 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START); in AddInnerBundleInfo()
200 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START); in AddInnerBundleInfoNoModuleInfo()
400 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START);
409 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::UNINSTALL_START);
492 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START);
500 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::UNINSTALL_START);
545 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START);
853 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START);
1045 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START);
1504 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START);
[all …]
H A Dbms_bundle_set_overlay_enabled_test.cpp119 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START); in AddOverlayInnerBundleInfo()
143 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START); in AddNonOverlayInnerBundleInfo()
151 …bool startRet = dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::UNINSTALL_START); in RemoveBundleInfo()
152 …bool finishRet = dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::UNINSTALL_SUCCE… in RemoveBundleInfo()
H A Dbms_bundle_get_overlay_module_info_test.cpp141 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START); in AddOverlayInnerBundleInfo()
165 dataMgr->UpdateBundleInstallState(TEST_BUNDLE_NAME, InstallState::INSTALL_START); in AddNonOverlayInnerBundleInfo()
173 bool startRet = dataMgr->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START); in RemoveBundleInfo()
174 bool finishRet = dataMgr->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_SUCCESS); in RemoveBundleInfo()
214 dataMgr->UpdateBundleInstallState(TEST_TARGET_BUNDLE_NAME, InstallState::INSTALL_START); in AddOverlayBundleInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_query_test/
H A Dbms_bundle_quick_fix_query_test.cpp155 bool startRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START); in MockInstallBundleInfo()
157 bool endRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_SUCCESS); in MockInstallBundleInfo()
168 bool startRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UNINSTALL_START); in MockUninstallBundleInfo()
169 … bool finishRet = dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::UNINSTALL_SUCCESS); in MockUninstallBundleInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_data_mgr.cpp3843 transferStates_.emplace(InstallState::INSTALL_FAIL, InstallState::INSTALL_START); in InitStateTransferMap()
3852 transferStates_.emplace(InstallState::UPDATING_FAIL, InstallState::UPDATING_START); in InitStateTransferMap()
3853 transferStates_.emplace(InstallState::UPDATING_FAIL, InstallState::INSTALL_START); in InitStateTransferMap()
3859 transferStates_.emplace(InstallState::ROLL_BACK, InstallState::UPDATING_START); in InitStateTransferMap()
3860 transferStates_.emplace(InstallState::ROLL_BACK, InstallState::UPDATING_SUCCESS); in InitStateTransferMap()
3862 transferStates_.emplace(InstallState::INSTALL_SUCCESS, InstallState::ROLL_BACK); in InitStateTransferMap()
3863 transferStates_.emplace(InstallState::UNINSTALL_START, InstallState::USER_CHANGE); in InitStateTransferMap()
3864 transferStates_.emplace(InstallState::UPDATING_START, InstallState::USER_CHANGE); in InitStateTransferMap()
3865 transferStates_.emplace(InstallState::INSTALL_SUCCESS, InstallState::USER_CHANGE); in InitStateTransferMap()
3867 transferStates_.emplace(InstallState::USER_CHANGE, InstallState::INSTALL_SUCCESS); in InitStateTransferMap()
[all …]
H A Dbase_bundle_installer.cpp455 if (!dataMgr_->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START)) { in UninstallHspBundle()
463 if (!dataMgr_->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_SUCCESS)) { in UninstallHspBundle()
1236 dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::INSTALL_SUCCESS); in ProcessBundleInstall()
1435 dataMgr_->UpdateBundleInstallState(bundleName, InstallState::UPDATING_FAIL); in RemoveInfo()
1443 dataMgr_->UpdateBundleInstallState(bundleName, InstallState::ROLL_BACK); in RemoveInfo()
1460 dataMgr_->UpdateBundleInstallState(bundleName, InstallState::ROLL_BACK); in RollBackModuleInfo()
1574 if (!dataMgr_->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START)) { in ProcessBundleUninstall()
1725 if (!dataMgr_->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START)) { in ProcessBundleUninstall()
2044 if (!dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::INSTALL_START)) { in ProcessBundleInstallStatus()
2092 dataMgr_->UpdateBundleInstallState(bundleName_, InstallState::UNINSTALL_START); in ProcessBundleInstallStatus()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/include/
H A Dbundlems_slite_client.h47 …bool GetInstallState(const char *bundleName, InstallState *installState, uint8_t *installProcess) …
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/slite/
H A Dbundle_manager_inner.cpp22 bool GetInstallState(const char *bundleName, InstallState *installState, uint8_t *installProcess) in GetInstallState()
H A Dbundlems_slite_client.cpp188 bool BundleMsClient::GetInstallState (const char *bundleName, InstallState *installState, uint8_t *… in GetInstallState()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/interfaces/inner_api/bundlemgr_lite/
H A Dbundle_service_interface.h56 …bool (*GetInstallState)(const char *bundleName, InstallState *installState, uint8_t *installProces…
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dbundle_mgr_service_event_handler.cpp340 dataMgr->UpdateBundleInstallState(bundleName, InstallState::INSTALL_START); in SaveInstallInfoToCache()
342 dataMgr->UpdateBundleInstallState(bundleName, InstallState::INSTALL_SUCCESS); in SaveInstallInfoToCache()
354 dataMgr->UpdateBundleInstallState(bundleName, InstallState::UPDATING_START); in SaveInstallInfoToCache()
355 dataMgr->UpdateBundleInstallState(bundleName, InstallState::UPDATING_SUCCESS); in SaveInstallInfoToCache()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_app_service_fwk_installer.cpp261 dataMgr->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START); in ClearBundleInfo()
262 dataMgr->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_SUCCESS); in ClearBundleInfo()
708 dataMgr->installStates_[BUNDLE_NAME] = InstallState::INSTALL_SUCCESS;
735 dataMgr->installStates_[BUNDLE_NAME] = InstallState::INSTALL_SUCCESS;
765 dataMgr->installStates_[BUNDLE_NAME] = InstallState::INSTALL_SUCCESS;
795 dataMgr->installStates_[BUNDLE_NAME] = InstallState::INSTALL_SUCCESS;
H A Dbms_multiple_installer_test.cpp310 dataMgt->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START); in ClearBundleInfo()
311 dataMgt->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_SUCCESS); in ClearBundleInfo()
509 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START);
515 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
1892 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_START);
1908 dataMgr->UpdateBundleInstallState(BUNDLE_NAME, InstallState::INSTALL_FAIL);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_data_mgr.h61 enum class InstallState { enum
94 bool UpdateBundleInstallState(const std::string &bundleName, const InstallState state);
1028 bool IsDeleteDataState(const InstallState state) const;
1034 bool IsDisableState(const InstallState state) const;
1041 void DeleteBundleInfo(const std::string &bundleName, const InstallState state);
1250 std::map<std::string, InstallState> installStates_;
1252 std::multimap<InstallState, InstallState> transferStates_;
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_mgr_slite_feature.h38 …static bool GetInstallState(const char *bundleName, InstallState *installState, uint8_t *installPr…
H A Dgt_bundle_manager_service.h77 … bool GetInstallState(const char *bundleName, InstallState *installState, uint8_t *installProcess);
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_manager_service.cpp226 bool GtManagerService::GetInstallState(const char *bundleName, InstallState *installState, uint8_t … in GetInstallState()
1149 bundleInstallMsg_->installState = static_cast<InstallState>(installState); in ReportHceInstallCallback()
1172 bundleInstallMsg->installState = static_cast<InstallState>(installState); in ReportHceUninstallCallback()
1194 bundleInstallMsg_->installState = static_cast<InstallState>(installState); in ReportInstallCallback()
1216 bundleInstallMsg->installState = static_cast<InstallState>(installState); in ReportUninstallCallback()
H A Dbundle_mgr_slite_feature.cpp129 bool BundleMgrSliteFeature::GetInstallState(const char *bundleName, InstallState *installState, uin… in GetInstallState()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_uninstaller_test/
H A Dbms_bundle_uninstaller_test.cpp257 dataMgt->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START); in ClearBundleInfo()
258 dataMgt->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_SUCCESS); in ClearBundleInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_base_test/
H A Dbms_bundle_kit_service_base_test.cpp271 bool startRet = dataMgr->UpdateBundleInstallState(bundleName, InstallState::INSTALL_START); in SaveToDatabase()
273 bool endRet = dataMgr->UpdateBundleInstallState(bundleName, InstallState::INSTALL_SUCCESS); in SaveToDatabase()
308 bool startRet = dataMgr->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_START); in MockUninstallBundle()
309 bool finishRet = dataMgr->UpdateBundleInstallState(bundleName, InstallState::UNINSTALL_SUCCESS); in MockUninstallBundle()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp476 dataMgr->UpdateBundleInstallState(bundleName_, InstallState::INSTALL_START); in SaveBundleInfoToStorage()
478 dataMgr->UpdateBundleInstallState(bundleName_, InstallState::INSTALL_FAIL); in SaveBundleInfoToStorage()
482 dataMgr->UpdateBundleInstallState(bundleName_, InstallState::INSTALL_SUCCESS); in SaveBundleInfoToStorage()

12