/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_configuration.cpp | 58 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 D | resource_manager_addon.cpp | 126 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 D | simulator.cpp | 557 if (!resourceMgr_->AddResource(options_.resourcePath.c_str())) { in InitResourceMgr()
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/include/ |
H A D | mock_resource_manager_impl.h | 40 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 D | mock_resource_manager.cpp | 33 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 D | mock_resourceManager_interface1.h | 33 virtual bool AddResource(const char* path) = 0;
|
H A D | mock_resourceManager_interface1.cpp | 34 bool AddResource(const char* path) override
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/include/ |
H A D | mock_resourceManager_interface1.h | 33 virtual bool AddResource(const char* path) = 0;
|
H A D | mock_resourceManager_interface1.cpp | 34 virtual bool AddResource(const char* path) in AddResource() function in OHOS::Global::Resource::ResourceManagerTestInstance
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | resource_adapter_impl_standard.cpp | 141 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 D | resource_manager_addon.h | 130 static napi_value AddResource(napi_env env, napi_callback_info info);
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_file.cpp | 75 auto resRet = newResMgr->AddResource(hapInfo.hapPath.c_str()); in UpdateResManager()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | context_container.cpp | 348 if (!resourceManager->AddResource(loadPath.c_str())) { in LoadResources() 349 TAG_LOGE(AAFwkTag::APPKIT, "ContextContainer::InitResourceManager AddResource failed"); in LoadResources()
|
H A D | main_thread.cpp | 1054 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 D | data_share_profile_config.cpp | 163 resMgr->AddResource(resourcePath.c_str()); in InitResMgr()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | context_impl.cpp | 926 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 D | bundle_mgr_client_impl.cpp | 318 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 D | form_info_mgr.cpp | 154 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 D | resource_adapter_impl.cpp | 141 auto resRet = newResMgr->AddResource(resIndexPath.c_str()); in Init()
|
H A D | resource_adapter_impl_v2.cpp | 156 newResMgr->AddResource(resIndexPath.c_str()); in Init()
|
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.cpp | 772 resMgr->AddResource(path.c_str()); in GetStaticMaskClipPath()
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime.cpp | 1089 resourceManager->AddResource(loadPath.c_str()); in RunScript()
|
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | bg_continuous_task_mgr.cpp | 374 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 D | ability_record.cpp | 1033 if (!resourceMgr->AddResource(loadPath.c_str())) { in CreateResourceManager()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_manager.cpp | 3374 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()
|