Home
last modified time | relevance | path

Searched refs:hapResource (Results 1 - 6 of 6) sorted by relevance

/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource_manager.cpp55 std::shared_ptr<HapResource> hapResource = hapResourceMap_[path].lock(); in PutPatchResource() local
56 if (hapResource) { in PutPatchResource()
57 hapResource->SetPatchPath(patchPath); in PutPatchResource()
58 hapResource->SetIsPatch(true); in PutPatchResource()
/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_resource_manager.h39 * Put hapResource into the map of HapResourceManager
42 * @param hapResource hapResource
45 std::shared_ptr<HapResource> PutAndGetResource(const std::string &path, std::shared_ptr<HapResource> hapResource);
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dhap_resource.h98 HapResource *hapResource);
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dhap_resource.cpp35 HapResource *hapResource) : hapResource_(hapResource) in ValueUnderQualifierDir()
34 ValueUnderQualifierDir(const std::vector<KeyParam *> &keyParams, IdItem *idItem, HapResource *hapResource) ValueUnderQualifierDir() argument
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dresource_manager_test.cpp317 // make a fake hapResource, then reload will fail in HWTEST_F()
318 HapResource *hapResource = new HapResource("/data/test/non_exist", 0, nullptr, nullptr); in HWTEST_F() local
319 ((ResourceManagerImpl *)rm)->hapManager_->hapResources_.push_back(hapResource); in HWTEST_F()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dresource_manager_test.cpp274 // make a fake hapResource, then reload will fail in HWTEST_F()
275 auto hapResource = std::make_shared<HapResource>("/data/test/non_exist", 0, nullptr); in HWTEST_F() local
276 ((ResourceManagerImpl *)rm)->hapManager_->hapResources_.push_back(hapResource); in HWTEST_F()

Completed in 6 milliseconds