/ohos5.0/base/global/resource_management/frameworks/resmgr/include/ |
H A D | hap_resource.h | 49 bool isSystem = false, bool isOverlay = false, const uint32_t &selectedTypes = SELECT_ALL); 65 bool isSystem = false, bool isOverlay = false, const uint32_t &selectedTypes = SELECT_ALL); 81 bool isSystem = false, bool isOverlay = false, const uint32_t &selectedTypes = SELECT_ALL);
|
H A D | hap_manager.h | 79 bool AddResource(const char *path, const uint32_t &selectedTypes); 397 bool AddResourcePath(const char *path, const uint32_t &selectedTypes = SELECT_ALL);
|
H A D | hap_parser.h | 140 …const std::shared_ptr<ResConfigImpl> defaultConfig = nullptr, const uint32_t &selectedTypes = SELE…
|
H A D | resource_manager_impl.h | 63 virtual bool AddResource(const char *path, const uint32_t &selectedTypes = SELECT_ALL);
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_resource.cpp | 78 …ed_ptr<ResConfigImpl> &defaultConfig, bool isSystem, bool isOverlay, const uint32_t &selectedTypes) in Load() argument 81 return LoadFromHap(path, defaultConfig, isSystem, isOverlay, selectedTypes); in Load() 83 return LoadFromIndex(path, defaultConfig, isSystem, isOverlay, selectedTypes); in Load() 88 …ed_ptr<ResConfigImpl> &defaultConfig, bool isSystem, bool isOverlay, const uint32_t &selectedTypes) in LoadFromIndex() argument 121 …= HapParser::ParseResHex(static_cast<char *>(buf), bufLen, *resDesc, defaultConfig, selectedTypes); in LoadFromIndex() 177 …ed_ptr<ResConfigImpl> &defaultConfig, bool isSystem, bool isOverlay, const uint32_t &selectedTypes) in LoadFromHap() argument 192 reinterpret_cast<char *>(tmpBuf.get()), tmpLen, *resDesc, defaultConfig, selectedTypes); in LoadFromHap()
|
H A D | hap_manager.cpp | 374 bool HapManager::AddResource(const char *path, const uint32_t &selectedTypes) in AddResource() argument 377 return this->AddResourcePath(path, selectedTypes); in AddResource() 491 bool HapManager::AddResourcePath(const char *path, const uint32_t &selectedTypes) in AddResourcePath() argument 498 …_ptr<HapResource> pResource = HapResource::Load(path, resConfig_, isSystem_, false, selectedTypes); in AddResourcePath()
|
H A D | resource_manager_impl.cpp | 1098 bool ResourceManagerImpl::AddResource(const char *path, const uint32_t &selectedTypes) in AddResource() argument 1114 return this->hapManager_->AddResource(path, selectedTypes); in AddResource()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | hap_parser.cpp | 67 uint32_t selectedTypes = SELECT_ALL; member 478 const uint32_t &selectedTypes) in ParseIdItem() argument 488 if (selectedTypes != SELECT_ALL && (selectedTypes & ConvertType(idItem->resType_)) == 0) { in ParseIdItem() 514 const uint32_t &selectedTypes) in ParseId() argument 550 int32_t ret = ParseIdItem(buffer, ipOffset, bufLen, idItem, selectedTypes); in ParseId() 634 if (!options->match || (options->selectedTypes != SELECT_ALL && options->defaultConfig && in ParseKey() 646 int32_t ret = ParseId(buffer, idOffset, bufLen, id, options->selectedTypes); in ParseKey() 656 … const std::shared_ptr<ResConfigImpl> defaultConfig, const uint32_t &selectedTypes) in ParseResHex() argument 691 SelectOptions selectOptions{true, defaultConfig, deviceType, selectedTypes}; in ParseResHex()
|
/ohos5.0/base/global/resource_management/interfaces/inner_api/include/ |
H A D | resource_manager.h | 78 virtual bool AddResource(const char *path, const uint32_t &selectedTypes = SELECT_ALL) = 0;
|