/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_client_impl.cpp | 266 std::shared_ptr<ResourceManager> resMgr = InitResMgr(resourcePath); in GetResProfileByMetadata() local 267 if (resMgr == nullptr) { in GetResProfileByMetadata() 268 APP_LOGE("GetResProfileByMetadata init resMgr failed"); in GetResProfileByMetadata() 274 [this, &resMgr, isCompressed, &profileInfos](const Metadata& data)->void { in GetResProfileByMetadata() 275 if (!GetResFromResMgr(data.resource, resMgr, isCompressed, profileInfos)) { in GetResProfileByMetadata() 281 [this, &resMgr, &metadataName, isCompressed, &profileInfos](const Metadata& data)->void { in GetResProfileByMetadata() 283 && (!GetResFromResMgr(data.resource, resMgr, isCompressed, profileInfos))) { in GetResProfileByMetadata() 304 std::shared_ptr<ResourceManager> resMgr(CreateResourceManager()); in InitResMgr() 305 if (!resMgr) { in InitResMgr() 306 APP_LOGE("InitResMgr resMgr i in InitResMgr() 325 GetResFromResMgr(const std::string &resName, const std::shared_ptr<ResourceManager> &resMgr, bool isCompressed, std::vector<std::string> &profileInfos) const GetResFromResMgr() argument [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_profile_config.cpp | 141 std::shared_ptr<ResourceManager> resMgr = InitResMgr(resourcePath); in GetProfileInfoByMetadata() local 142 if (resMgr == nullptr) { in GetProfileInfoByMetadata() 145 return GetResFromResMgr((*it).resource, *resMgr, hapPath); in GetProfileInfoByMetadata() 153 std::shared_ptr<ResourceManager> resMgr(CreateResourceManager()); in InitResMgr() 154 if (resMgr == nullptr) { in InitResMgr() 162 resMgr->UpdateResConfig(*resConfig); in InitResMgr() 163 resMgr->AddResource(resourcePath.c_str()); in InitResMgr() 164 return resMgr; in InitResMgr() 168 const std::string &resName, ResourceManager &resMgr, const std::string &hapPath) in GetResFromResMgr() 186 RState ret = resMgr in GetResFromResMgr() 167 GetResFromResMgr( const std::string &resName, ResourceManager &resMgr, const std::string &hapPath) GetResFromResMgr() argument [all...] |
H A D | data_share_profile_config.h | 86 static std::string GetResFromResMgr(const std::string &resName, ResourceManager &resMgr,
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | context_deal_test.cpp | 630 const std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in HWTEST_F() 631 context_->initResourceManager(resMgr); in HWTEST_F() 654 const std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in HWTEST_F() 655 context_->initResourceManager(resMgr); in HWTEST_F() 672 const std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in HWTEST_F() 673 context_->initResourceManager(resMgr); in HWTEST_F() 690 const std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in HWTEST_F() 691 context_->initResourceManager(resMgr); in HWTEST_F() 709 const std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in HWTEST_F() 710 context_->initResourceManager(resMgr); in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | resource_manager_addon.cpp | 26 napi_env env, const std::string &bundleName, const std::shared_ptr<ResourceManager> &resMgr, in Create() 29 std::shared_ptr<ResourceManagerAddon> addon = std::make_shared<ResourceManagerAddon>(bundleName, resMgr, context); in Create() 61 const std::string &bundleName, const std::shared_ptr<ResourceManager> &resMgr, in ResourceManagerAddon() 63 : bundleName_(bundleName), resMgr_(resMgr), context_(context), isSystem_(isSystem) in ResourceManagerAddon() 67 ResourceManagerAddon::ResourceManagerAddon(const std::shared_ptr<ResourceManager> &resMgr, bool isSystem) in ResourceManagerAddon() argument 68 : resMgr_(resMgr), isSystem_(isSystem) in ResourceManagerAddon() 25 Create( napi_env env, const std::string &bundleName, const std::shared_ptr<ResourceManager> &resMgr, std::shared_ptr<AbilityRuntime::Context> context) Create() argument 60 ResourceManagerAddon( const std::string &bundleName, const std::shared_ptr<ResourceManager> &resMgr, const std::shared_ptr<AbilityRuntime::Context> &context, bool isSystem) ResourceManagerAddon() argument
|
H A D | ability_context.cpp | 161 void AbilityContext::SetResourceManager(const std::shared_ptr<Global::Resource::ResourceManager> &resMgr) in SetResourceManager() argument 163 resourceMgr_ = resMgr; in SetResourceManager()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/ |
H A D | resource_manager_addon.h | 30 const std::shared_ptr<ResourceManager> &resMgr, std::shared_ptr<AbilityRuntime::Context> context); 36 ResourceManagerAddon(const std::string &bundleName, const std::shared_ptr<ResourceManager> &resMgr, 39 ResourceManagerAddon(const std::shared_ptr<ResourceManager> &resMgr, bool isSystem = false);
|
H A D | ability_context.h | 55 void SetResourceManager(const std::shared_ptr<Global::Resource::ResourceManager> &resMgr);
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_file.cpp | 85 OhosFileDirectory::OhosFileDirectory(BASE_NS::refcnt_ptr<OhosResMgr> resMgr) : dirResMgr_(resMgr) {} in OhosFileDirectory() argument 173 OhosFile::OhosFile(BASE_NS::refcnt_ptr<OhosResMgr> resMgr) : fileResMgr_(resMgr) in OhosFile() argument
|
H A D | ohos_file.h | 85 explicit OhosFileDirectory(BASE_NS::refcnt_ptr<OhosResMgr> resMgr); 135 explicit OhosFile(BASE_NS::refcnt_ptr<OhosResMgr> resMgr);
|
/foundation/ability/ability_runtime/test/unittest/ability_stage_context_test/ |
H A D | ability_stage_context_test.cpp | 76 std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in HWTEST_F() 77 abilityStageContext->SetResourceManager(resMgr); in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/app/ |
H A D | js_ability_stage.cpp | 398 auto resMgr = context->GetResourceManager(); in GetProfileInfoFromResourceManager() local 399 if (!resMgr) { in GetProfileInfoFromResourceManager() 400 TAG_LOGE(AAFwkTag::APPKIT, "resMgr is nullptr"); in GetProfileInfoFromResourceManager() 418 GetResFromResMgr(appStartup, resMgr, isCompressed, profileInfo); in GetProfileInfoFromResourceManager() 687 const std::shared_ptr<Global::Resource::ResourceManager> &resMgr, in GetResFromResMgr() 706 if (resMgr->GetProfileDataByName(profileName.c_str(), len, fileContentPtr) != Global::Resource::SUCCESS) { in GetResFromResMgr() 725 if (resMgr->GetProfileByName(profileName.c_str(), resPath) != Global::Resource::SUCCESS) { in GetResFromResMgr() 685 GetResFromResMgr( const std::string &resName, const std::shared_ptr<Global::Resource::ResourceManager> &resMgr, bool isCompressed, std::vector<std::string> &profileInfo) GetResFromResMgr() argument
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_parser.cpp | 72 std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in GetBadgeResource() 73 if (resMgr == nullptr) { in GetBadgeResource() 74 APP_LOGE("resMgr is nullptr"); in GetBadgeResource() 82 resMgr->UpdateResConfig(*resConfig); in GetBadgeResource() 86 auto ret = resMgr->GetMediaDataByName(resourceName.c_str(), badgeResourceDataLength, badgeResourceData); in GetBadgeResource()
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | drawable_descriptor_test.cpp | 368 std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in HWTEST_F() 373 layeredDrawable.InitialMask(resMgr); in HWTEST_F() 390 std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in HWTEST_F() 395 layeredDrawable.InitialMask(resMgr); in HWTEST_F()
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/app/ |
H A D | js_ability_stage.h | 85 const std::shared_ptr<Global::Resource::ResourceManager> &resMgr,
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_client_impl.h | 78 bool GetResFromResMgr(const std::string &resName, const std::shared_ptr<Global::Resource::ResourceManager> &resMgr,
|
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.cpp | 735 auto resMgr = applicationContext->GetResourceManager(); in GetStaticMaskClipPath() local 736 if (!resMgr) { in GetStaticMaskClipPath() 742 std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in GetStaticMaskClipPath() 772 resMgr->AddResource(path.c_str()); in GetStaticMaskClipPath() 774 resMgr->GetStringByName(PREVIEW_LOAD_RESOURCE_ID, data); in GetStaticMaskClipPath()
|
H A D | js_drawable_descriptor.cpp | 198 std::shared_ptr<Global::Resource::ResourceManager> resMgr(Global::Resource::CreateResourceManager()); in LayeredConstructor() 199 layeredDrawable->InitialMask(resMgr); in LayeredConstructor()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_adapter_impl.cpp | 169 for (auto& resMgr : resourceManagers_) { in UpdateConfig() 171 resMgr.second->UpdateResConfig(*resConfig, themeFlag); in UpdateConfig()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/ |
H A D | bundle_mgr_client_system_test.cpp | 2117 std::shared_ptr<Global::Resource::ResourceManager> resMgr in HWTEST_F() local 2121 bool res = impl.GetResFromResMgr(resName, resMgr, isCompressed, profileInfos); in HWTEST_F() 2125 res = impl.GetResFromResMgr(BUNDLE_NAME, resMgr, isCompressed, profileInfos); in HWTEST_F() 2266 std::shared_ptr<Global::Resource::ResourceManager> resMgr in HWTEST_F() local 2268 EXPECT_EQ(resMgr, nullptr); in HWTEST_F()
|