Home
last modified time | relevance | path

Searched refs:moduleNames (Results 1 – 25 of 60) sorted by relevance

123

/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/RemoveExtResource_fuzzer/
H A DRemoveExtResource_fuzzer.cpp29 std::vector<std::string> moduleNames; in fuzzelRemoveExtResourceCaseOne() local
30 auto ret = impl.RemoveExtResource(emptyBundleName, moduleNames); in fuzzelRemoveExtResourceCaseOne()
40 std::vector<std::string> moduleNames; in fuzzelRemoveExtResourceCaseTwo() local
41 auto ret = impl.RemoveExtResource(FUZZTEST_BUNDLE, moduleNames); in fuzzelRemoveExtResourceCaseTwo()
51 std::vector<std::string> moduleNames; in fuzzelRemoveExtResourceCaseThree() local
52 moduleNames.push_back(FUZZTEST_MODULE); in fuzzelRemoveExtResourceCaseThree()
53 auto ret = impl.RemoveExtResource(FUZZTEST_BUNDLE, moduleNames); in fuzzelRemoveExtResourceCaseThree()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/extend_resource_manager_proxy_test/
H A Dextend_resource_manager_proxy_test.cpp86 std::vector<std::string> moduleNames; variable
87 ErrCode res = extendResource.RemoveExtResource(EMPTY_STRING, moduleNames);
90 res = extendResource.RemoveExtResource(BUNDLE_NAME, moduleNames);
93 moduleNames.push_back(BUNDLE_NAME);
94 res = extendResource.RemoveExtResource(BUNDLE_NAME, moduleNames);
108 std::vector<std::string> moduleNames; variable
109 ErrCode res = extendResource.GetExtResource(EMPTY_STRING, moduleNames);
112 res = extendResource.GetExtResource(BUNDLE_NAME, moduleNames);
126 std::vector<std::string> moduleNames; variable
133 moduleNames.push_back(BUNDLE_NAME);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_extend_resource_manager_test/
H A Dbms_extend_resource_manager_test.cpp237 std::vector<std::string> moduleNames; variable
241 ret = impl.RemoveExtResource(TEST_BUNDLE, moduleNames);
244 moduleNames.push_back(TEST_MODULE);
245 ret = impl.RemoveExtResource(TEST_BUNDLE, moduleNames);
261 std::vector<std::string> moduleNames; variable
276 std::vector<std::string> moduleNames; variable
277 auto ret = impl.GetExtResource(emptyBundleName, moduleNames);
280 ret = impl.GetExtResource(TEST_BUNDLE, moduleNames);
334 std::vector<std::string> moduleNames; variable
335 moduleNames.push_back(TEST_MODULE);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/GetExtResource_fuzzer/
H A DGetExtResource_fuzzer.cpp29 std::vector<std::string> moduleNames; in fuzzelGetExtResourceCaseOne() local
30 auto ret = impl.GetExtResource(emptyBundleName, moduleNames); in fuzzelGetExtResourceCaseOne()
40 std::vector<std::string> moduleNames; in fuzzerlGetExtResourceCaseTwo() local
41 auto ret = impl.GetExtResource(FUZZTEST_BUNDLE, moduleNames); in fuzzerlGetExtResourceCaseTwo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/extend_resource/
H A Dextend_resource_manager_host.cpp94 std::vector<std::string> moduleNames; in HandleRemoveExtResource() local
95 if (!data.ReadStringVector(&moduleNames)) { in HandleRemoveExtResource()
99 ErrCode ret = RemoveExtResource(bundleName, moduleNames); in HandleRemoveExtResource()
111 std::vector<std::string> moduleNames; in HandleGetExtResource() local
112 ErrCode ret = GetExtResource(bundleName, moduleNames); in HandleGetExtResource()
117 if (!reply.WriteStringVector(moduleNames)) { in HandleGetExtResource()
H A Dextend_resource_manager_proxy.cpp83 const std::string &bundleName, const std::vector<std::string> &moduleNames) in RemoveExtResource() argument
91 if (moduleNames.empty()) { in RemoveExtResource()
104 if (!data.WriteStringVector(moduleNames)) { in RemoveExtResource()
119 const std::string &bundleName, std::vector<std::string> &moduleNames) in GetExtResource() argument
148 if (!reply.ReadStringVector(&moduleNames)) { in GetExtResource()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/extend_resource/
H A Dextend_resource_manager_host_impl.h32 const std::string &bundleName, const std::vector<std::string> &moduleNames) override;
34 const std::string &bundleName, std::vector<std::string> &moduleNames) override;
59 const std::string &bundleName, const std::vector<std::string> &moduleNames);
64 const std::string &bundleName, const std::vector<std::string> &moduleNames,
67 const std::string &bundleName, const std::vector<std::string> &moduleNames,
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/removeextresourcesdb_fuzzer/
H A Dremoveextresourcesdb_fuzzer.cpp39 std::vector<std::string> moduleNames; in fuzzelRemoveExtResourcesDbCaseOne() local
40 moduleNames.push_back(TEST_MODULE); in fuzzelRemoveExtResourcesDbCaseOne()
41 ret = impl.RemoveExtResourcesDb(BUNDLE_NAME, moduleNames); in fuzzelRemoveExtResourcesDbCaseOne()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/quick_fix/
H A Dquick_fix_result_info.cpp44 CONTAINER_SECURITY_VERIFY(parcel, moduleNameSize, &moduleNames); in ReadFromParcel()
46 moduleNames.emplace_back(parcel.ReadString()); in ReadFromParcel()
59 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, moduleNames.size()); in Marshalling()
60 for (const auto &name : moduleNames) { in Marshalling()
86 { QUICK_FIX_MODULE_NAME, moduleNames } in ToString()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/
H A Dextend_resource_manager_host_impl.cpp293 const std::vector<std::string> &moduleNames) in RemoveExtResourcesDb() argument
300 return dataMgr->RemoveExtResources(bundleName, moduleNames); in RemoveExtResourcesDb()
314 const std::string &bundleName, const std::vector<std::string> &moduleNames) in RemoveExtResource() argument
321 if (moduleNames.empty()) { in RemoveExtResource()
340 InnerRemoveExtendResources(bundleName, moduleNames, extendResourceInfos); in RemoveExtResource()
345 const std::string &bundleName, const std::vector<std::string> &moduleNames, in InnerRemoveExtendResources() argument
354 RemoveExtResourcesDb(bundleName, moduleNames); in InnerRemoveExtendResources()
358 const std::string &bundleName, const std::vector<std::string> &moduleNames, in CheckModuleExist() argument
368 for (const auto &moduleName : moduleNames) { in CheckModuleExist()
381 const std::string &bundleName, std::vector<std::string> &moduleNames) in GetExtResource() argument
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/rollback_fuzzer/
H A Drollback_fuzzer.cpp40 std::vector<std::string> moduleNames; in fuzzelRollBackCaseOne() local
41 moduleNames.push_back(TEST_MODULE); in fuzzelRollBackCaseOne()
42 ret = impl.RemoveExtResourcesDb(BUNDLE_NAME, moduleNames); in fuzzelRollBackCaseOne()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_checker.cpp41 std::set<std::string> moduleNames; in CheckAppQuickFixInfos() local
64 if (moduleNames.find(moduleName) != moduleNames.end()) { in CheckAppQuickFixInfos()
68 moduleNames.insert(moduleName); in CheckAppQuickFixInfos()
207 auto iter = std::find(bundleInfo.moduleNames.begin(), bundleInfo.moduleNames.end(), in CheckModuleNameExist()
209 if (iter == bundleInfo.moduleNames.end()) { in CheckModuleNameExist()
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/test/unittest/common/
H A Devent_export_config_test.cpp71 std::vector<std::string> moduleNames; variable
72 manager.GetModuleNames(moduleNames);
73 ASSERT_EQ(moduleNames.size(), TEST_MODULE_CNT);
74 auto testModuleName = moduleNames.at(0);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/
H A Daot_handler.cpp322 for (const auto &moduleName : bundleInfo.moduleNames) { in DeleteArkAp()
450 for (const auto &moduleName : bundleInfo.moduleNames) { in CopyApWithBundle()
653 std::vector<std::string> moduleNames; in HandleCompileWithBundle() local
654 info.GetModuleNames(moduleNames); in HandleCompileWithBundle()
655 for (const std::string &moduleName : moduleNames) { in HandleCompileWithBundle()
784 std::vector<std::string> moduleNames; in HandleIdle() local
785 info.GetModuleNames(moduleNames); in HandleIdle()
786 …std::for_each(moduleNames.cbegin(), moduleNames.cend(), [this, &info, &compileMode](const auto &mo… in HandleIdle()
863 std::vector<std::string> moduleNames; in HandleCompileBundles() local
864 info.GetModuleNames(moduleNames); in HandleCompileBundles()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/checkmoduleexist_fuzzer/
H A Dcheckmoduleexist_fuzzer.cpp29 std::vector<std::string> moduleNames; in fuzzelCheckModuleExistCaseOne() local
31 auto ret = impl.CheckModuleExist(TEST_BUNDLE, moduleNames, extendResourceInfos); in fuzzelCheckModuleExistCaseOne()
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/src/
H A Dability_env_impl.cpp26 if (!appInfo.isNativeApp && !appInfo.moduleNames.empty()) { in SetAppInfo()
27 std::string moduleName = appInfo.moduleNames.front(); in SetAppInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/extend_resource/
H A Dextend_resource_manager_interface.h38 const std::string &bundleName, const std::vector<std::string> &moduleNames) in RemoveExtResource() argument
44 const std::string &bundleName, std::vector<std::string> &moduleNames) in GetExtResource() argument
H A Dextend_resource_manager_proxy.h33 const std::string &bundleName, const std::vector<std::string> &moduleNames) override;
35 const std::string &bundleName, std::vector<std::string> &moduleNames) override;
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/config/
H A Dexport_config_manager.cpp26 void ExportConfigManager::GetModuleNames(std::vector<std::string>& moduleNames) const in GetModuleNames()
33 moduleNames.emplace_back(config.first); in GetModuleNames()
/ohos5.0/foundation/ability/form_fwk/test/mock/src/
H A Dmock_bundle_manager.cpp79 bundleInfo.moduleNames.emplace_back(PARAM_PROVIDER_MODULE_NAME); in GetBundleInfo()
108 bundleInfo.moduleNames.emplace_back(PARAM_PROVIDER_MODULE_NAME); in GetBundleInfoV9()
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/include/
H A Dapp_info.h27 std::list<std::string> moduleNames; member
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dapplication_env_impl.h33 std::list<std::string> moduleNames; member
/ohos5.0/foundation/bundlemanager/bundle_tool/test/mock/
H A Dmock_bundle_mgr_host.cpp74 bundleInfo.moduleNames.emplace_back(MODULE_NAME); in GetBundleArchiveInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbundle_info.cpp263 CONTAINER_SECURITY_VERIFY(parcel, moduleNamesSize, &moduleNames); in ReadFromParcel()
265 moduleNames.emplace_back(Str16ToStr8(parcel.ReadString16())); in ReadFromParcel()
424 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, moduleNames.size()); in Marshalling()
425 for (auto &moduleName : moduleNames) { in Marshalling()
680 {BUNDLE_INFO_MODULE_NAMES, bundleInfo.moduleNames}, in to_json()
974 bundleInfo.moduleNames, in from_json()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/quick_fix/
H A Dquick_fix_result_info.h43 std::vector<std::string> moduleNames; member

123