Home
last modified time | relevance | path

Searched refs:AddResource (Results 1 - 25 of 26) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_configuration.cpp58 if (!hapPath.empty() && !resourceManager->AddResource(hapPath.c_str(), in InitResourceGlobalConfig()
60 APP_LOGE("AddResource failed, hapPath: %{private}s", hapPath.c_str()); in InitResourceGlobalConfig()
97 if (!resourceManager->AddResource(hapPath.c_str(), selectType)) { in InitResourceGlobalConfig()
98 APP_LOGW("AddResource failed, hapPath: %{public}s", hapPath.c_str()); in InitResourceGlobalConfig()
101 if (!resourceManager->AddResource(hapPath, overlayHaps)) { in InitResourceGlobalConfig()
102 APP_LOGW("AddResource overlay failed, hapPath: %{public}s", hapPath.c_str()); in InitResourceGlobalConfig()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dresource_manager_addon.cpp126 DECLARE_NAPI_FUNCTION("addResource", AddResource), in Init()
338 napi_value ResourceManagerAddon::AddResource(napi_env env, napi_callback_info info) in AddResource() function in OHOS::Global::Resource::ResourceManagerAddon
H A Dsimulator.cpp557 if (!resourceMgr_->AddResource(options_.resourcePath.c_str())) { in InitResourceMgr()
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/include/
H A Dmock_resource_manager_impl.h40 virtual bool AddResource(const char *path);
48 virtual bool AddResource(const std::string &path, const std::vector<std::string> &overlayPaths);
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/
H A Dmock_resource_manager.cpp33 bool ResourceManagerImpl::AddResource(const char *path) in AddResource() function in OHOS::Global::Resource::ResourceManagerImpl
38 bool ResourceManagerImpl::AddResource(const std::string &path, const std::vector<std::string> &overlayPaths) in AddResource() function in OHOS::Global::Resource::ResourceManagerImpl
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_resourceManager_interface1.h33 virtual bool AddResource(const char* path) = 0;
H A Dmock_resourceManager_interface1.cpp34 bool AddResource(const char* path) override
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/include/
H A Dmock_resourceManager_interface1.h33 virtual bool AddResource(const char* path) = 0;
H A Dmock_resourceManager_interface1.cpp34 virtual bool AddResource(const char* path) in AddResource() function in OHOS::Global::Resource::ResourceManagerTestInstance
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dresource_adapter_impl_standard.cpp141 auto appResRet = newResMgr->AddResource(appResIndexPath.c_str()); in Init()
143 auto sysResRet = newResMgr->AddResource(sysResIndexPath.c_str()); in Init()
147 newResMgr->AddResource(hmsResIndexPath.c_str()); in Init()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/
H A Dresource_manager_addon.h130 static napi_value AddResource(napi_env env, napi_callback_info info);
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/
H A Dohos_file.cpp75 auto resRet = newResMgr->AddResource(hapInfo.hapPath.c_str()); in UpdateResManager()
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dcontext_container.cpp348 if (!resourceManager->AddResource(loadPath.c_str())) { in LoadResources()
349 TAG_LOGE(AAFwkTag::APPKIT, "ContextContainer::InitResourceManager AddResource failed"); in LoadResources()
H A Dmain_thread.cpp1054 if (!resourceManager->AddResource(loadPath.c_str())) { in OnStartAbility()
1055 TAG_LOGE(AAFwkTag::APPKIT, "AddResource failed"); in OnStartAbility()
1060 if (!resourceManager->AddResource(loadPath, overlayPaths)) { in OnStartAbility()
1061 TAG_LOGE(AAFwkTag::APPKIT, "AddResource failed"); in OnStartAbility()
1172 if (!resourceManager->AddResource(loadPath, overlayPaths)) { in HandleOnOverlayChanged()
1173 TAG_LOGE(AAFwkTag::APPKIT, "AddResource failed"); in HandleOnOverlayChanged()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_profile_config.cpp163 resMgr->AddResource(resourcePath.c_str()); in InitResMgr()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dcontext_impl.cpp926 if (!resourceManager->AddResource(loadPath.c_str())) { in GetOverlayPath()
927 TAG_LOGE(AAFwkTag::APPKIT, "AddResource fail, moduleResPath: %{private}s", loadPath.c_str()); in GetOverlayPath()
944 if (!resourceManager->AddResource(loadPath, overlayPaths)) { in GetOverlayPath()
945 TAG_LOGE(AAFwkTag::APPKIT, "AddResource failed"); in GetOverlayPath()
1407 if (!resourceManager->AddResource(loadPath, overlayPaths)) { in OnOverlayChanged()
1408 TAG_LOGE(AAFwkTag::APPKIT, "AddResource error"); in OnOverlayChanged()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client_impl.cpp318 if (!resourcePath.empty() && !resMgr->AddResource(resourcePath.c_str())) { in InitResMgr()
319 APP_LOGE("InitResMgr AddResource failed"); in InitResMgr()
/foundation/ability/form_fwk/services/src/
H A Dform_info_mgr.cpp154 if (!resourceManager->AddResource(moduleResPath.c_str())) { in GetResourceManager()
155 HILOG_ERROR("DistributedBms::InitResourceManager AddResource failed"); in GetResourceManager()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dresource_adapter_impl.cpp141 auto resRet = newResMgr->AddResource(resIndexPath.c_str()); in Init()
H A Dresource_adapter_impl_v2.cpp156 newResMgr->AddResource(resIndexPath.c_str()); in Init()
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Ddrawable_descriptor.cpp772 resMgr->AddResource(path.c_str()); in GetStaticMaskClipPath()
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp1089 resourceManager->AddResource(loadPath.c_str()); in RunScript()
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dbg_continuous_task_mgr.cpp374 if (!resourceManager->AddResource(moduleResPath.c_str())) { in GetBundleResMgr()
375 BGTASK_LOGW("GetBundleResMgr AddResource failed"); in GetBundleResMgr()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_record.cpp1033 if (!resourceMgr->AddResource(loadPath.c_str())) { in CreateResourceManager()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp3374 if (!resourceMgr->AddResource(loadPath.c_str(), Global::Resource::SELECT_COLOR | Global::Resource::SELECT_MEDIA)) { in GetResourceManager()
6705 if (!resourceMgr->AddResource(loadPath.c_str(), Global::Resource::SELECT_STRING)) { in GetOrientationFromResourceManager()

Completed in 51 milliseconds

12