Home
last modified time | relevance | path

Searched refs:moduleNames (Results 1 - 25 of 54) sorted by relevance

123

/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()
/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()
/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; in HWTEST_F() local
87 ErrCode res = extendResource.RemoveExtResource(EMPTY_STRING, moduleNames); in HWTEST_F()
90 res = extendResource.RemoveExtResource(BUNDLE_NAME, moduleNames); in HWTEST_F()
93 moduleNames.push_back(BUNDLE_NAME); in HWTEST_F()
94 res = extendResource.RemoveExtResource(BUNDLE_NAME, moduleNames); in HWTEST_F()
108 std::vector<std::string> moduleNames; in HWTEST_F() local
109 ErrCode res = extendResource.GetExtResource(EMPTY_STRING, moduleNames); in HWTEST_F()
112 res = extendResource.GetExtResource(BUNDLE_NAME, moduleNames); in HWTEST_F()
126 std::vector<std::string> moduleNames; in HWTEST_F() local
133 moduleNames in HWTEST_F()
[all...]
/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; in HWTEST_F() local
238 auto ret = impl.RemoveExtResource(emptyBundleName, moduleNames); in HWTEST_F()
241 ret = impl.RemoveExtResource(TEST_BUNDLE, moduleNames); in HWTEST_F()
244 moduleNames.push_back(TEST_MODULE); in HWTEST_F()
245 ret = impl.RemoveExtResource(TEST_BUNDLE, moduleNames); in HWTEST_F()
249 impl.InnerRemoveExtendResources(TEST_BUNDLE, moduleNames, extResourceInfos); in HWTEST_F()
261 std::vector<std::string> moduleNames; in HWTEST_F() local
263 auto ret = impl.CheckModuleExist(TEST_BUNDLE, moduleNames, extendResourceInfos); in HWTEST_F()
276 std::vector<std::string> moduleNames; in HWTEST_F() local
277 auto ret = impl.GetExtResource(emptyBundleName, moduleNames); in HWTEST_F()
334 std::vector<std::string> moduleNames; HWTEST_F() local
535 std::vector<std::string> moduleNames; HWTEST_F() local
558 std::vector<std::string> moduleNames; HWTEST_F() local
576 std::vector<std::string> moduleNames; HWTEST_F() local
593 std::vector<std::string> moduleNames; HWTEST_F() local
614 std::vector<std::string> moduleNames; HWTEST_F() local
633 std::vector<std::string> moduleNames; HWTEST_F() local
652 std::vector<std::string> moduleNames; HWTEST_F() local
[all...]
/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()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/processaddextresource_fuzzer/
H A Dprocessaddextresource_fuzzer.cpp33 std::vector<std::string> moduleNames; in fuzzelProcessAddExtResourceCaseOne() local
34 impl.RemoveExtResourcesDb(TEST_BUNDLE, moduleNames); in fuzzelProcessAddExtResourceCaseOne()
35 impl.InnerRemoveExtendResources(TEST_BUNDLE, moduleNames, extendResourceInfos); in fuzzelProcessAddExtResourceCaseOne()
/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()
/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,
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/quick_fix/
H A Dquick_fix_result_info.cpp32 const char* QUICK_FIX_MODULE_NAME = "moduleNames";
44 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()
/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()
96 APP_LOGE("read moduleNames failed"); 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()
118 APP_LOGE("write moduleNames failed"); in HandleGetExtResource()
H A Dextend_resource_manager_proxy.cpp83 const std::string &bundleName, const std::vector<std::string> &moduleNames) in RemoveExtResource()
91 if (moduleNames.empty()) { in RemoveExtResource()
92 APP_LOGE("fail to RemoveExtResource due to moduleNames is empty"); in RemoveExtResource()
104 if (!data.WriteStringVector(moduleNames)) { in RemoveExtResource()
105 APP_LOGE("fail to RemoveExtResource due to write moduleNames failed"); in RemoveExtResource()
119 const std::string &bundleName, std::vector<std::string> &moduleNames) in GetExtResource()
148 if (!reply.ReadStringVector(&moduleNames)) { in GetExtResource()
149 APP_LOGE("read moduleNames failed"); in GetExtResource()
82 RemoveExtResource( const std::string &bundleName, const std::vector<std::string> &moduleNames) RemoveExtResource() argument
118 GetExtResource( const std::string &bundleName, std::vector<std::string> &moduleNames) GetExtResource() argument
/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()
/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()
/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()
/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()
300 return dataMgr->RemoveExtResources(bundleName, moduleNames); in RemoveExtResourcesDb()
314 const std::string &bundleName, const std::vector<std::string> &moduleNames) in RemoveExtResource()
321 if (moduleNames.empty()) { in RemoveExtResource()
338 ErrCode ret = CheckModuleExist(bundleName, moduleNames, extendResourceInfos); in RemoveExtResource()
340 InnerRemoveExtendResources(bundleName, moduleNames, extendResourceInfos); in RemoveExtResource()
345 const std::string &bundleName, const std::vector<std::string> &moduleNames, in InnerRemoveExtendResources()
354 RemoveExtResourcesDb(bundleName, moduleNames); in InnerRemoveExtendResources()
358 const std::string &bundleName, const std::vector<std::string> &moduleNames, in CheckModuleExist()
368 for (const auto &moduleName : moduleNames) { in CheckModuleExist()
292 RemoveExtResourcesDb(const std::string &bundleName, const std::vector<std::string> &moduleNames) RemoveExtResourcesDb() argument
313 RemoveExtResource( const std::string &bundleName, const std::vector<std::string> &moduleNames) RemoveExtResource() argument
344 InnerRemoveExtendResources( const std::string &bundleName, const std::vector<std::string> &moduleNames, std::vector<ExtendResourceInfo> &extResourceInfos) InnerRemoveExtendResources() argument
357 CheckModuleExist( const std::string &bundleName, const std::vector<std::string> &moduleNames, std::vector<ExtendResourceInfo> &collectorExtResourceInfos) CheckModuleExist() argument
380 GetExtResource( const std::string &bundleName, std::vector<std::string> &moduleNames) GetExtResource() argument
[all...]
/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()
44 const std::string &bundleName, std::vector<std::string> &moduleNames) in GetExtResource()
37 RemoveExtResource( const std::string &bundleName, const std::vector<std::string> &moduleNames) RemoveExtResource() argument
43 GetExtResource( const std::string &bundleName, std::vector<std::string> &moduleNames) 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;
/foundation/ability/ability_lite/frameworks/ability_lite/include/
H A Dapp_info.h27 std::list<std::string> moduleNames; member
/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()
785 info.GetModuleNames(moduleNames); in HandleIdle()
786 std::for_each(moduleNames.cbegin(), moduleNames.cend(), [this, &info, &compileMode](const auto &moduleName) { in HandleIdle()
863 std::vector<std::string> moduleNames; in HandleCompileBundles()
877 HandleCompileModules(const std::vector<std::string> &moduleNames, const std::string &compileMode, InnerBundleInfo &info, std::string &compileResult) const HandleCompileModules() argument
[all...]
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dapplication_env_impl.h33 std::list<std::string> moduleNames; member
/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()
/foundation/bundlemanager/bundle_tool/test/mock/
H A Dmock_bundle_mgr_host.cpp74 bundleInfo.moduleNames.emplace_back(MODULE_NAME); in GetBundleArchiveInfo()
/foundation/CastEngine/castengine_wifi_display/services/configuration/src/
H A Djson_parser.cpp93 auto moduleNames = modules.getMemberNames(); in ReadModuleConfig() local
94 for (auto &moduleName : moduleNames) { in ReadModuleConfig()
/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
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.h75 std::vector<std::string> moduleNames; member

Completed in 12 milliseconds

123