Home
last modified time | relevance | path

Searched refs:resMgr (Results 1 – 5 of 5) sorted by relevance

/base/global/resource_management/interfaces/js/kits/src/
Dresource_manager_napi.cpp97 std::shared_ptr<ResourceManager> resMgr; in InitAsyncContext() local
100 resMgr = ability->GetResourceManager(); in InitAsyncContext()
104 resMgr = bundleContext->GetResourceManager(); in InitAsyncContext()
109 resMgr = context->GetResourceManager(); in InitAsyncContext()
113 resMgr = bundleContext->GetResourceManager(); in InitAsyncContext()
117 asyncContext.resMgr_ = resMgr; in InitAsyncContext()
119 return resMgr != nullptr; in InitAsyncContext()
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_addon.cpp62 napi_env env, const std::string& bundleName, const std::shared_ptr<ResourceManager>& resMgr, in Create() argument
65 …<ResourceManagerAddon> addon = std::make_shared<ResourceManagerAddon>(bundleName, resMgr, context); in Create()
94 const std::string& bundleName, const std::shared_ptr<ResourceManager>& resMgr, in ResourceManagerAddon() argument
96 : bundleName_(bundleName), resMgr_(resMgr), context_(context) in ResourceManagerAddon()
552 std::shared_ptr<ResourceManager> resMgr = nullptr; in __anon14aac4540302() local
555 bool ret = ResMgrAsyncContext::GetHapResourceManager(asyncContext, resMgr, resId); in __anon14aac4540302()
560 RState state = resMgr->GetStringById(resId, asyncContext->value_); in __anon14aac4540302()
585 std::shared_ptr<ResourceManager> resMgr = nullptr; in __anon14aac4540502() local
587 bool ret = ResMgrAsyncContext::GetHapResourceManager(asyncContext, resMgr, resId); in __anon14aac4540502()
592 state = resMgr->GetStringArrayById(resId, asyncContext->arrayValue_); in __anon14aac4540502()
[all …]
/base/global/resource_management/interfaces/native/resource/include/
Draw_file_manager.h84 void OH_ResourceManager_ReleaseNativeResourceManager(NativeResourceManager *resMgr);
/base/global/resource_management/interfaces/js/innerkits/core/include/
Dresource_manager_addon.h35 … const std::shared_ptr<ResourceManager>& resMgr, std::shared_ptr<AbilityRuntime::Context> context);
40 …ResourceManagerAddon(const std::string& bundleName, const std::shared_ptr<ResourceManager>& resMgr,
199 …apResourceManager(const ResMgrAsyncContext* asyncContext, std::shared_ptr<ResourceManager> &resMgr,
/base/global/resource_management/frameworks/resmgr/src/
Draw_file_manager.cpp107 void OH_ResourceManager_ReleaseNativeResourceManager(NativeResourceManager *resMgr) in OH_ResourceManager_ReleaseNativeResourceManager() argument
109 if (resMgr != nullptr) { in OH_ResourceManager_ReleaseNativeResourceManager()
110 delete resMgr; in OH_ResourceManager_ReleaseNativeResourceManager()