Home
last modified time | relevance | path

Searched refs:moduleNameList (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstalleruninstalllowerversion_fuzzer/
H A Dappservicefwkinstalleruninstalllowerversion_fuzzer.cpp33 std::vector<std::string> moduleNameList { std::string(data, size) }; in DoSomethingInterestingWithMyAPI() local
34 appServiceFwk.UninstallLowerVersion(moduleNameList); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_app_service_fwk_installer.cpp665 std::vector<std::string> moduleNameList; variable
666 auto res = appServiceFwkInstaller.UninstallLowerVersion(moduleNameList);
684 std::vector<std::string> moduleNameList; variable
685 auto res = appServiceFwkInstaller.UninstallLowerVersion(moduleNameList);
710 std::vector<std::string> moduleNameList; variable
711 auto res = appServiceFwkInstaller.UninstallLowerVersion(moduleNameList);
737 std::vector<std::string> moduleNameList { MODULE_NAME_TEST }; variable
738 auto res = appServiceFwkInstaller.UninstallLowerVersion(moduleNameList);
767 std::vector<std::string> moduleNameList { MODULE_NAME_LIBRARY_ONE }; variable
768 auto res = appServiceFwkInstaller.UninstallLowerVersion(moduleNameList);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_proxy.cpp306 const uint32_t statFlag, const std::vector<std::string> &moduleNameList) in GetBundleStats() argument
315 if (!data.WriteInt32(moduleNameList.size())) { in GetBundleStats()
319 for (size_t i = 0; i < moduleNameList.size(); i++) { in GetBundleStats()
320 if (!data.WriteString(moduleNameList[i])) { in GetBundleStats()
322 moduleNameList[i].c_str()); in GetBundleStats()
H A Dinstalld_host.cpp477 std::vector<std::string> moduleNameList; in HandleGetBundleStats() local
478 if (!data.ReadStringVector(&moduleNameList)) { in HandleGetBundleStats()
482 … result = GetBundleStats(bundleName, userId, bundleStats, uid, appIndex, statFlag, moduleNameList); in HandleGetBundleStats()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp836 …rCode AppServiceFwkInstaller::UninstallLowerVersion(const std::vector<std::string> &moduleNameList) in UninstallLowerVersion() argument
854 if (find(moduleNameList.begin(), moduleNameList.end(), package) == moduleNameList.end()) { in UninstallLowerVersion()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/
H A Dapp_service_fwk_installer.h88 ErrCode UninstallLowerVersion(const std::vector<std::string> &moduleNameList);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp174 const uint32_t statFlag, const std::vector<std::string> &moduleNameList) in GetBundleStats() argument
181 uid, appIndex, statFlag, moduleNameList); in GetBundleStats()
H A Dmock_install_client.cpp129 const int32_t appIndex, const uint32_t statFlag, const std::vector<std::string> &moduleNameList) in GetBundleStats() argument
H A Dmock_installd_host_impl.cpp114 const std::vector<std::string> &moduleNameList) in GetBundleStats() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp193 const uint32_t statFlag, const std::vector<std::string> &moduleNameList) in GetBundleStats() argument
201 uid, appIndex, statFlag, moduleNameList); in GetBundleStats()
H A Dbundle_mgr_host_impl.cpp1587 std::vector<std::string> moduleNameList; in CleanBundleCacheTask() local
1588 dataMgr->GetBundleModuleNames(bundleName, moduleNameList); in CleanBundleCacheTask()
1591 GetAppCachePaths(suffixName, userId, moduleNameList, rootDir); in CleanBundleCacheTask()
1650 …const int32_t userId, const std::vector<std::string> &moduleNameList, std::vector<std::string> &ca… in GetAppCachePaths() argument
1658 for (const auto &moduleName : moduleNameList) { in GetAppCachePaths()
H A Dbundle_data_mgr.cpp3475 std::vector<std::string> moduleNameList; in GetBundleStats() local
3484 infoItem->second.GetModuleNames(moduleNameList); in GetBundleStats()
3487 bundleName, responseUserId, bundleStats, uid, appIndex, statFlag, moduleNameList); in GetBundleStats()
3512 std::vector<std::string> &moduleNameList) const in GetBundleModuleNames()
3520 infoItem->second.GetModuleNames(moduleNameList); in GetBundleModuleNames()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/
H A Dbundle_connect_ability_mgr.cpp933 std::vector<std::string> moduleNameList; in CheckSubPackageName() local
934 innerBundleInfo.GetModuleNames(moduleNameList); in CheckSubPackageName()
935 auto it = std::find(moduleNameList.begin(), moduleNameList.end(), subPackageName); in CheckSubPackageName()
936 if (it == moduleNameList.end()) { in CheckSubPackageName()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp1123 std::vector<std::string> moduleNameList = {"entry2"}; variable
1126 moduleNameList);
1153 std::vector<std::string> moduleNameList = {"entry5", "entry2"}; variable
1156 moduleNameList);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h121 const std::vector<std::string> &moduleNameList = {});
H A Dbundle_mgr_host_impl.h1066 …const int32_t userId, const std::vector<std::string> &moduleNameList, std::vector<std::string> &ca…
H A Dbundle_data_mgr.h776 …etBundleModuleNames(const std::string &bundleName, std::vector<std::string> &moduleNameList) const;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h204 const uint32_t statFlag = 0, const std::vector<std::string> &moduleNameList = {})
H A Dinstalld_proxy.h144 const std::vector<std::string> &moduleNameList = {}) override;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h142 const std::vector<std::string> &moduleNameList = {}) override;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp929 const int32_t userId, const int32_t appIndex, const std::vector<std::string> &moduleNameList) in GetAppCacheSize() argument
942 for (const auto &moduleName : moduleNameList) { in GetAppCacheSize()
955 const uint32_t statFlag, const std::vector<std::string> &moduleNameList) in GetBundleStats() argument
985 bundleCacheSize = GetAppCacheSize(bundleName, userId, appIndex, moduleNameList); in GetBundleStats()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp620 std::vector<std::string> moduleNameList = {}; variable
623 bundleName, userId, bundleStats, 0, 0, 0, moduleNameList));
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_data_mgr_test.cpp340 …const std::string &bundleName, const std::vector<std::string> &moduleNameList, const std::string &…
635 …const std::string &bundleName, const std::vector<std::string> &moduleNameList, const std::string &… in MockInstallBundle() argument
638 if (moduleNameList.empty()) { in MockInstallBundle()
642 for (const auto &moduleName : moduleNameList) { in MockInstallBundle()
H A Dbms_bundle_kit_service_test.cpp289 …const std::string &bundleName, const std::vector<std::string> &moduleNameList, const std::string &…
760 …const std::string &bundleName, const std::vector<std::string> &moduleNameList, const std::string &… in MockInstallBundle() argument
763 if (moduleNameList.empty()) { in MockInstallBundle()
767 for (const auto &moduleName : moduleNameList) { in MockInstallBundle()