Home
last modified time | relevance | path

Searched refs:selectedTypes (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_resource.h49 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 Dhap_manager.h79 bool AddResource(const char *path, const uint32_t &selectedTypes);
397 bool AddResourcePath(const char *path, const uint32_t &selectedTypes = SELECT_ALL);
H A Dhap_parser.h140 …const std::shared_ptr<ResConfigImpl> defaultConfig = nullptr, const uint32_t &selectedTypes = SELE…
H A Dresource_manager_impl.h63 virtual bool AddResource(const char *path, const uint32_t &selectedTypes = SELECT_ALL);
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp78 …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 Dhap_manager.cpp374 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 Dresource_manager_impl.cpp1098 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 Dhap_parser.cpp67 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 Dresource_manager.h78 virtual bool AddResource(const char *path, const uint32_t &selectedTypes = SELECT_ALL) = 0;