Home
last modified time | relevance | path

Searched refs:needInstallMap (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_service_event_handler.h486 const std::unordered_map<std::string, std::pair<std::string, bool>> &needInstallMap,
565 …ePreinstallDB(const std::unordered_map<std::string, std::pair<std::string, bool>> &needInstallMap);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_service_event_handler.cpp1673 std::unordered_map<std::string, std::pair<std::string, bool>> needInstallMap; in InnerProcessRebootBundleInstall() local
1801 needInstallMap[bundleName] = std::make_pair(scanPathIter, removable); in InnerProcessRebootBundleInstall()
1803 if (!InnerMultiProcessBundleInstall(needInstallMap, appType)) { in InnerProcessRebootBundleInstall()
1806 UpdatePreinstallDB(needInstallMap); in InnerProcessRebootBundleInstall()
1810 const std::unordered_map<std::string, std::pair<std::string, bool>> &needInstallMap, in InnerMultiProcessBundleInstall() argument
1813 if (needInstallMap.empty()) { in InnerMultiProcessBundleInstall()
1829 size_t taskTotalNum = needInstallMap.size(); in InnerMultiProcessBundleInstall()
1834 for (auto iter = needInstallMap.begin(); iter != needInstallMap.end(); ++iter) { in InnerMultiProcessBundleInstall()
3136 const std::unordered_map<std::string, std::pair<std::string, bool>> &needInstallMap) in UpdatePreinstallDB() argument
3140 auto it = needInstallMap.find(bundleName); in UpdatePreinstallDB()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dbms_event_handler_test.cpp1372 std::unordered_map<std::string, std::pair<std::string, bool>> needInstallMap; variable
1373 …bool ret = handler->InnerMultiProcessBundleInstall(needInstallMap, Constants::AppType::SYSTEM_APP);
1375 needInstallMap["testName"] = std::make_pair("notExist", true);
1376 … ret = handler->InnerMultiProcessBundleInstall(needInstallMap, Constants::AppType::SYSTEM_APP);