/base/global/resource_management/frameworks/resmgr/include/ |
H A D | hap_manager.h | 145 const std::shared_ptr<HapResource::ValueUnderQualifierDir> FindQualifierValueById(uint32_t id, 155 const std::shared_ptr<HapResource::ValueUnderQualifierDir> FindQualifierValueByName(const char *name, 185 RState GetMediaData(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, size_t& len, 194 RState GetMediaBase64Data(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, std::string &outValue); 203 RState GetProfileData(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, size_t &len, 260 RState GetFilePath(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, const ResType resType, 270 RState GetMediaDataFromHap(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, size_t &len, 280 RState GetMediaDataFromIndex(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, size_t &len, 289 RState GetMediaBase64DataFromHap(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, 298 RState GetMediaBase64DataFromIndex(const std::shared_ptr<HapResource::ValueUnderQualifierDir> q [all...] |
H A D | hap_resource.h | 178 class ValueUnderQualifierDir { class in OHOS::Global::Resource::HapResource 221 * The constructor of ValueUnderQualifierDir. 229 ValueUnderQualifierDir(const std::shared_ptr<ResKey> resKey, std::shared_ptr<IdItem> idItem, 232 ~ValueUnderQualifierDir(); 264 inline void AddLimitPath(std::shared_ptr<ValueUnderQualifierDir> vuqd) in AddLimitPath() 269 inline const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &GetLimitPathsConst() const in GetLimitPathsConst() 278 std::vector<std::shared_ptr<ValueUnderQualifierDir>> limitPaths_; 343 uint32_t GetLimitPathsKeys(const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &limitPaths, 357 void IsAppDarkRes(const std::shared_ptr<HapResource::ValueUnderQualifierDir> &limitPath,
|
H A D | resource_manager_impl.h | 745 RState GetPluralString(const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd, int quantity,
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | hap_resource.h | 70 class ValueUnderQualifierDir { class in OHOS::Global::Resource::HapResource 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 ResType resType);
|
H A D | resource_manager_impl.h | 292 RState GetPluralString(const HapResource::ValueUnderQualifierDir *vuqd, int quantity, std::string &outValue); 306 RState GetRawFile(const HapResource::ValueUnderQualifierDir *vuqd, const ResType resType, std::string &outValue);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | hap_resource.cpp | 34 HapResource::ValueUnderQualifierDir::ValueUnderQualifierDir(const std::vector<KeyParam *> &keyParams, IdItem *idItem, 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() 187 HILOG_ERROR("new ValueUnderQualifierDir failed in HapResource::InitIdList"); in InitIdList() 198 new (std::nothrow) HapResource::ValueUnderQualifierDir(resKey->keyParams_, idParam->idItem_, this); in InitIdList() 200 HILOG_ERROR("new ValueUnderQualifierDir failed in HapResource::InitIdList"); 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 ResType resType, in GetRawFile()
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_resource.cpp | 46 HapResource::ValueUnderQualifierDir::ValueUnderQualifierDir(const std::shared_ptr<ResKey> resKey, in ValueUnderQualifierDir() function in OHOS::Global::Resource::HapResource::ValueUnderQualifierDir 60 HapResource::ValueUnderQualifierDir::~ValueUnderQualifierDir() in ~ValueUnderQualifierDir() 267 const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &limitPaths = iter->second->GetLimitPathsConst(); in BuildNameTypeIdMapping() 269 std::shared_ptr<ValueUnderQualifierDir> value = limitPaths[0]; in BuildNameTypeIdMapping() 280 const std::vector<std::shared_ptr<ValueUnderQualifierDir>> &limitPaths = iter->second->GetLimitPathsConst(); in UpdateOverlayInfo() 282 std::shared_ptr<ValueUnderQualifierDir> value = limitPaths[0]; in UpdateOverlayInfo() 350 auto limitPath = std::make_shared<HapResource::ValueUnderQualifierDir>(resKey, in InitMap() 353 RESMGR_HILOGE(RESMGR_TAG, "new ValueUnderQualifierDir faile in InitMap() [all...] |
H A D | hap_manager.cpp | 183 const std::shared_ptr<HapResource::ValueUnderQualifierDir> HapManager::FindQualifierValueByName( in FindQualifierValueByName() 194 const std::shared_ptr<HapResource::ValueUnderQualifierDir> HapManager::FindQualifierValueById(uint32_t id, in FindQualifierValueById() 252 std::shared_ptr<HapResource::ValueUnderQualifierDir> &result, in MatchBestResource() 253 const std::vector<std::shared_ptr<HapResource::ValueUnderQualifierDir>> &paths, in MatchBestResource() 259 std::shared_ptr<HapResource::ValueUnderQualifierDir> path = paths[i]; in MatchBestResource() 276 const std::shared_ptr<HapResource::ValueUnderQualifierDir> HapManager::GetBestMatchResource( in GetBestMatchResource() 281 std::shared_ptr<HapResource::ValueUnderQualifierDir> result = nullptr; in GetBestMatchResource() 282 std::shared_ptr<HapResource::ValueUnderQualifierDir> overlayResult = nullptr; in GetBestMatchResource() 598 const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd, const ResType resType) in GetFilePathFromHap() 626 const std::shared_ptr<HapResource::ValueUnderQualifierDir> q in GetAbilityExtractor() [all...] |
H A D | resource_manager_impl.cpp | 306 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = hapManager_->FindQualifierValueById(id, in GetPluralStringById() 313 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = in GetPluralStringByName() 320 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = hapManager_->FindQualifierValueById(id, in GetPluralStringByIdFormat() 345 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = in GetPluralStringByNameFormat() 368 RState ResourceManagerImpl::GetPluralString(const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd, in GetPluralString() 1377 std::string GetSuffix(const std::shared_ptr<HapResource::ValueUnderQualifierDir> qd) in GetSuffix() 1556 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = hapManager_->FindQualifierValueById(id, in GetFormatPluralStringById() 1583 const std::shared_ptr<HapResource::ValueUnderQualifierDir> vuqd = in GetFormatPluralStringByName()
|