/base/global/resource_management/frameworks/resmgr/include/ |
H A D | res_desc.h | 212 * a ResDesc means a index file in hap zip 214 class ResDesc { class 216 ResDesc(); 218 ~ResDesc();
|
H A D | hap_resource.h | 328 HapResource(const std::string path, time_t lastModTime, std::shared_ptr<ResDesc> resDes, 370 std::shared_ptr<ResDesc> resDesc_;
|
H A D | hap_parser.h | 142 static int32_t ParseResHex(const char *buffer, const size_t bufLen, ResDesc &resDesc,
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | res_desc.h | 188 * a ResDesc means a index file in hap zip 190 class ResDesc { class 192 ResDesc(); 194 ~ResDesc();
|
H A D | hap_resource.h | 174 HapResource(const std::string path, time_t lastModTime, const ResConfig *defaultConfig, ResDesc *resDes); 192 ResDesc *resDesc_;
|
H A D | hap_parser.h | 62 static int32_t ParseResHex(const char *buffer, const size_t bufLen, ResDesc &resDesc,
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | res_desc.cpp | 316 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 D | hap_resource.cpp | 68 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 D | res_desc.cpp | 255 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 D | hap_resource.cpp | 64 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 D | hap_resource_test.cpp | 258 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 D | resource_manager_performance_test.cpp | 151 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 D | hap_resource_test.cpp | 262 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 D | resource_manager_performance_test.cpp | 119 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 D | hap_parser.cpp | 354 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 D | hap_parser.cpp | 605 int32_t HapParser::ParseResHex(const char *buffer, const size_t bufLen, ResDesc &resDesc, in ParseResHex()
|