/ohos5.0/base/global/resource_management/frameworks/resmgr/include/ |
H A D | hap_manager.h | 142 const std::shared_ptr<HapResource::ValueUnderQualifierDir> FindQualifierValueById(uint32_t id, 152 …const std::shared_ptr<HapResource::ValueUnderQualifierDir> FindQualifierValueByName(const char *na… 182 RState GetMediaData(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, size_t& len, 200 … RState GetProfileData(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, size_t &len, 257 …RState GetFilePath(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, const ResType re… 267 …RState GetMediaDataFromHap(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, size_t &… 286 RState GetMediaBase64DataFromHap(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, 295 … RState GetMediaBase64DataFromIndex(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, 389 std::shared_ptr<HapResource::ValueUnderQualifierDir> &result, 390 const std::vector<std::shared_ptr<HapResource::ValueUnderQualifierDir>> &paths, [all …]
|
H A D | hap_resource.h | 144 class ValueUnderQualifierDir { 195 …ValueUnderQualifierDir(const std::shared_ptr<ResKey> &resKey, const std::shared_ptr<IdItem> &idIte… 198 ~ValueUnderQualifierDir(); 230 inline void AddLimitPath(std::shared_ptr<ValueUnderQualifierDir> vuqd) in AddLimitPath() 235 … inline const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &GetLimitPathsConst() const in GetLimitPathsConst() 244 std::vector<std::shared_ptr<ValueUnderQualifierDir>> limitPaths_; 302 … uint32_t GetLimitPathsKeys(const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &limitPaths, 316 void IsAppDarkRes(const std::shared_ptr<HapResource::ValueUnderQualifierDir> &limitPath,
|
H A D | resource_manager_impl.h | 743 …RState GetPluralString(const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd, int quanti…
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | hap_resource.h | 70 class ValueUnderQualifierDir { 97 ValueUnderQualifierDir(const std::vector<KeyParam *> &keyParams, IdItem *idItem, 100 ~ValueUnderQualifierDir(); 128 inline void AddLimitPath(ValueUnderQualifierDir *vuqd) in AddLimitPath() 133 inline const std::vector<ValueUnderQualifierDir *> &GetLimitPathsConst() const in GetLimitPathsConst() 142 std::vector<ValueUnderQualifierDir *> limitPaths_;
|
H A D | hap_manager.h | 82 const HapResource::ValueUnderQualifierDir *FindQualifierValueById(uint32_t id); 90 …const HapResource::ValueUnderQualifierDir *FindQualifierValueByName(const char *name, const ResTyp…
|
H A D | resource_manager_impl.h | 292 …RState GetPluralString(const HapResource::ValueUnderQualifierDir *vuqd, int quantity, std::string … 306 …RState GetRawFile(const HapResource::ValueUnderQualifierDir *vuqd, const ResType resType, std::str…
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | hap_resource.cpp | 34 HapResource::ValueUnderQualifierDir::ValueUnderQualifierDir(const std::vector<KeyParam *> &keyParam… in ValueUnderQualifierDir() function in OHOS::Global::Resource::HapResource::ValueUnderQualifierDir 43 HapResource::ValueUnderQualifierDir::~ValueUnderQualifierDir() in ~ValueUnderQualifierDir() 49 void HapResource::ValueUnderQualifierDir::InitResConfig() in InitResConfig() 185 …new (std::nothrow) HapResource::ValueUnderQualifierDir(resKey->keyParams_, idParam->idItem_, this); in InitIdList() 198 …new (std::nothrow) HapResource::ValueUnderQualifierDir(resKey->keyParams_, idParam->idItem_, this); in InitIdList()
|
H A D | hap_manager.cpp | 119 const HapResource::ValueUnderQualifierDir *HapManager::FindQualifierValueByName( in FindQualifierValueByName() 126 const std::vector<HapResource::ValueUnderQualifierDir *> paths = idValues->GetLimitPathsConst(); in FindQualifierValueByName() 134 HapResource::ValueUnderQualifierDir *path = paths[i]; in FindQualifierValueByName() 152 const HapResource::ValueUnderQualifierDir *HapManager::FindQualifierValueById(uint32_t id) in FindQualifierValueById() 158 const std::vector<HapResource::ValueUnderQualifierDir *> paths = idValues->GetLimitPathsConst(); in FindQualifierValueById() 166 HapResource::ValueUnderQualifierDir *path = paths[i]; in FindQualifierValueById()
|
H A D | resource_manager_impl.cpp | 181 const HapResource::ValueUnderQualifierDir *vuqd = hapManager_->FindQualifierValueById(id); in GetPluralStringById() 187 const HapResource::ValueUnderQualifierDir *vuqd = in GetPluralStringByName() 194 const HapResource::ValueUnderQualifierDir *vuqd = hapManager_->FindQualifierValueById(id); in GetPluralStringByIdFormat() 211 const HapResource::ValueUnderQualifierDir *vuqd = in GetPluralStringByNameFormat() 227 RState ResourceManagerImpl::GetPluralString(const HapResource::ValueUnderQualifierDir *vuqd, in GetPluralString() 574 RState ResourceManagerImpl::GetRawFile(const HapResource::ValueUnderQualifierDir *vuqd, const ResTy… in GetRawFile()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_resource.cpp | 45 HapResource::ValueUnderQualifierDir::ValueUnderQualifierDir(const std::shared_ptr<ResKey> &resKey, in ValueUnderQualifierDir() function in OHOS::Global::Resource::HapResource::ValueUnderQualifierDir 59 HapResource::ValueUnderQualifierDir::~ValueUnderQualifierDir() in ~ValueUnderQualifierDir() 255 …const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &limitPaths = iter->second->GetLimitPat… in BuildNameTypeIdMapping() 257 std::shared_ptr<ValueUnderQualifierDir> value = limitPaths[0]; in BuildNameTypeIdMapping() 268 …const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &limitPaths = iter->second->GetLimitPat… in UpdateOverlayInfo() 270 std::shared_ptr<ValueUnderQualifierDir> value = limitPaths[0]; in UpdateOverlayInfo() 338 auto limitPath = std::make_shared<HapResource::ValueUnderQualifierDir>(resKey, in InitMap() 354 auto limitPath = std::make_shared<HapResource::ValueUnderQualifierDir>(resKey, in InitMap() 451 …const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &limitPaths = iter->second->GetLimitPat… in GetResourceLimitKeys() 460 uint32_t HapResource::GetLimitPathsKeys(const std::vector<std::shared_ptr<ValueUnderQualifierDir>> … in GetLimitPathsKeys() [all …]
|
H A D | hap_manager.cpp | 182 const std::shared_ptr<HapResource::ValueUnderQualifierDir> HapManager::FindQualifierValueByName( in FindQualifierValueByName() 193 const std::shared_ptr<HapResource::ValueUnderQualifierDir> HapManager::FindQualifierValueById(uint3… in FindQualifierValueById() 251 std::shared_ptr<HapResource::ValueUnderQualifierDir> &result, in MatchBestResource() 252 const std::vector<std::shared_ptr<HapResource::ValueUnderQualifierDir>> &paths, in MatchBestResource() 258 std::shared_ptr<HapResource::ValueUnderQualifierDir> path = paths[i]; in MatchBestResource() 275 const std::shared_ptr<HapResource::ValueUnderQualifierDir> HapManager::GetBestMatchResource( in GetBestMatchResource() 280 std::shared_ptr<HapResource::ValueUnderQualifierDir> result = nullptr; in GetBestMatchResource() 281 std::shared_ptr<HapResource::ValueUnderQualifierDir> overlayResult = nullptr; in GetBestMatchResource() 569 const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, const ResType resType) in GetFilePathFromHap() 597 const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd) in GetAbilityExtractor() [all …]
|
H A D | resource_manager_impl.cpp | 308 …const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = hapManager_->FindQualifierValueB… in GetPluralStringById() 315 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = in GetPluralStringByName() 322 …const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = hapManager_->FindQualifierValueB… in GetPluralStringByIdFormat() 347 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = in GetPluralStringByNameFormat() 370 …sourceManagerImpl::GetPluralString(const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd, in GetPluralString() 1396 std::string GetSuffix(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd) in GetSuffix() 1576 …const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = hapManager_->FindQualifierValueB… in GetFormatPluralStringById() 1603 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = in GetFormatPluralStringByName()
|