Home
last modified time | relevance | path

Searched refs:HapResourceManager (Results 1 - 4 of 4) sorted by relevance

/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource_manager.cpp22 std::shared_ptr<HapResourceManager> HapResourceManager::instance_ = nullptr;
23 std::recursive_mutex HapResourceManager::mutex_;
25 std::shared_ptr<HapResourceManager> HapResourceManager::GetInstance() in GetInstance()
30 instance_ = std::make_shared<HapResourceManager>(); in GetInstance()
36 std::shared_ptr<HapResource> HapResourceManager::PutAndGetResource(const std::string &path, in PutAndGetResource()
51 bool HapResourceManager::PutPatchResource(const std::string &path, const std::string &patchPath) in PutPatchResource()
65 std::shared_ptr<HapResource> HapResourceManager::GetHapResource(const std::string &path) in GetHapResource()
H A Dhap_resource.cpp83 pResource = HapResourceManager::GetInstance()->GetHapResource(path); in Load()
94 pResource = HapResourceManager::GetInstance()->PutAndGetResource(path, pResource); in Load()
H A Dhap_manager.cpp533 return HapResourceManager::GetInstance()->PutPatchResource(sPath, sPatchPath); in AddPatchResourcePath()
/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_resource_manager.h31 class HapResourceManager { class
33 HapResourceManager() {} in HapResourceManager() function in OHOS::Global::Resource::HapResourceManager
34 ~HapResourceManager() {} in ~HapResourceManager()
36 static std::shared_ptr<HapResourceManager> GetInstance();
39 * Put hapResource into the map of HapResourceManager
65 static std::shared_ptr<HapResourceManager> instance_;

Completed in 4 milliseconds