Home
last modified time | relevance | path

Searched defs:pResource (Results 1 – 9 of 9) sorted by relevance

/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dhap_resource_test.cpp66 void TestGetIdValuesByName(const std::shared_ptr<HapResource> pResource) in TestGetIdValuesByName()
106 auto pResource = HapResource::LoadFromIndex(FormatFullPath(g_resFilePath).c_str(), rc); variable
144 void GetIdValuesByNameFuncTest002(const std::shared_ptr<HapResource> pResource, int id) in GetIdValuesByNameFuncTest002()
182 auto pResource = HapResource::LoadFromIndex(path, rc); variable
225 auto pResource = HapResource::LoadFromIndex(FormatFullPath(g_resFilePath).c_str(), rc); variable
Dresource_manager_performance_test.cpp132 auto pResource = new(std::nothrow) HapResource(pstr, 0, resDesc); in ParseIndexCost() local
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dhap_resource_test.cpp74 …const HapResource *pResource = HapResource::LoadFromIndex(FormatFullPath(g_resFilePath).c_str(), n… variable
153 const HapResource *pResource = HapResource::LoadFromIndex(path, rc); variable
221 …const HapResource *pResource = HapResource::LoadFromIndex(FormatFullPath(g_resFilePath).c_str(), n… variable
Dglobal_test.cpp70 const HapResource *pResource = HapResource::LoadFromIndex(path, rc); in GetResId() local
Dresource_manager_performance_test.cpp167 HapResource *pResource = new(std::nothrow) HapResource(pstr, 0, nullptr, resDesc); in TestLoadFromIndex() local
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dhap_manager.cpp228 HapResource *pResource = hapResources_[i]; in GetResourceList() local
241 HapResource *pResource = hapResources_[i]; in GetResourceListByName() local
259 const HapResource *pResource = HapResource::LoadFromIndex(path, resConfig_); in AddResourcePath() local
275 …const HapResource *pResource = HapResource::LoadFromIndex(hapResources_[i]->GetIndexPath().c_str()… in ReloadAll() local
Dhap_resource.cpp128 …HapResource *pResource = new (std::nothrow) HapResource(std::string(path), 0, defaultConfig, resDe… in LoadFromIndex() local
/base/global/resource_management/frameworks/resmgr/src/
Dhap_manager.cpp464 std::shared_ptr<HapResource> pResource = hapResources_[i]; in GetResourceList() local
479 std::shared_ptr<HapResource> pResource = hapResources_[i]; in GetResourceListByName() local
495 …const std::shared_ptr<HapResource> pResource = HapResource::Load(path, resConfig_, isSystem_, fals… in AddResourcePath() local
514 const auto pResource = HapResource::Load(iter->first.c_str(), resConfig_); in ReloadAll() local
Dhap_resource.cpp129 std::shared_ptr<HapResource> pResource = std::make_shared<HapResource>(std::string(path), in LoadFromIndex() local
198 auto pResource = std::make_shared<HapResource>(path, 0, resDesc, isSystem, isOverlay); in LoadFromHap() local