Home
last modified time | relevance | path

Searched refs:ResDesc (Results 1 - 16 of 16) sorted by relevance

/base/global/resource_management/frameworks/resmgr/include/
H A Dres_desc.h212 * a ResDesc means a index file in hap zip
214 class ResDesc { class
216 ResDesc();
218 ~ResDesc();
H A Dhap_resource.h328 HapResource(const std::string path, time_t lastModTime, std::shared_ptr<ResDesc> resDes,
370 std::shared_ptr<ResDesc> resDesc_;
H A Dhap_parser.h142 static int32_t ParseResHex(const char *buffer, const size_t bufLen, ResDesc &resDesc,
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dres_desc.h188 * a ResDesc means a index file in hap zip
190 class ResDesc { class
192 ResDesc();
194 ~ResDesc();
H A Dhap_resource.h174 HapResource(const std::string path, time_t lastModTime, const ResConfig *defaultConfig, ResDesc *resDes);
192 ResDesc *resDesc_;
H A Dhap_parser.h62 static int32_t ParseResHex(const char *buffer, const size_t bufLen, ResDesc &resDesc,
/base/global/resource_management/frameworks/resmgr/src/
H A Dres_desc.cpp316 ResDesc::ResDesc() in ResDesc() function in OHOS::Global::Resource::ResDesc
319 ResDesc::~ResDesc() in ~ResDesc()
321 RESMGR_HILOGD(RESMGR_TAG, "~ResDesc()"); in ~ResDesc()
324 std::string ResDesc::ToString() const in ToString()
334 std::string ResDesc::GetCurrentDeviceType() in GetCurrentDeviceType()
H A Dhap_resource.cpp68 HapResource::HapResource(const std::string path, time_t lastModTime, std::shared_ptr<ResDesc> resDes, in HapResource()
127 std::shared_ptr<ResDesc> resDesc = std::make_shared<ResDesc>(); in LoadFromIndex()
129 RESMGR_HILOGE(RESMGR_TAG, "new ResDesc failed when LoadFromIndex"); in LoadFromIndex()
198 std::shared_ptr<ResDesc> resDesc = std::make_shared<ResDesc>(); in LoadFromHap()
200 RESMGR_HILOGE(RESMGR_TAG, "new ResDesc failed when LoadFromHap"); in LoadFromHap()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dres_desc.cpp255 ResDesc::ResDesc() : resHeader_(nullptr) in ResDesc() function in OHOS::Global::Resource::ResDesc
258 ResDesc::~ResDesc() in ~ResDesc()
260 HILOG_DEBUG("~ResDesc()"); in ~ResDesc()
268 std::string ResDesc::ToString() const in ToString()
H A Dhap_resource.cpp64 HapResource::HapResource(const std::string path, time_t lastModTime, const ResConfig *defaultConfig, ResDesc *resDes) in HapResource()
111 ResDesc *resDesc = new (std::nothrow) ResDesc(); in LoadFromIndex()
113 HILOG_ERROR("new ResDesc failed when LoadFromIndex"); in LoadFromIndex()
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dhap_resource_test.cpp258 ResDesc *LoadFromHap(const char *hapPath, const ResConfigImpl *defaultConfig) in LoadFromHap()
271 ResDesc *resDesc = new ResDesc(); in LoadFromHap()
294 ResDesc *resDesc = LoadFromHap(FormatFullPath("all.hap").c_str(), nullptr); in HWTEST_F()
H A Dresource_manager_performance_test.cpp151 ResDesc *resDesc = new(std::nothrow) ResDesc(); in TestLoadFromIndex()
153 HILOG_ERROR("new ResDesc failed when LoadFromIndex"); in TestLoadFromIndex()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dhap_resource_test.cpp262 ResDesc *LoadFromHap(const char *hapPath, const std::shared_ptr<ResConfigImpl> defaultConfig, in LoadFromHap()
274 ResDesc *resDesc = new ResDesc(); in LoadFromHap()
295 ResDesc *resDesc = LoadFromHap(FormatFullPath("all.hap").c_str(), nullptr); in HWTEST_F()
H A Dresource_manager_performance_test.cpp119 auto resDesc = std::make_shared<ResDesc>(); in ParseIndexCost()
121 RESMGR_HILOGE(RESMGR_TAG, "new ResDesc failed when LoadFromIndex"); in ParseIndexCost()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
H A Dhap_parser.cpp354 int32_t HapParser::ParseResHex(const char *buffer, const size_t bufLen, ResDesc &resDesc, in ParseResHex()
/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dhap_parser.cpp605 int32_t HapParser::ParseResHex(const char *buffer, const size_t bufLen, ResDesc &resDesc, in ParseResHex()

Completed in 12 milliseconds