/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
D | res_desc_test.cpp | 70 ResType resType; variable 72 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 75 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 78 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 81 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 84 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 87 EXPECT_TRUE(IdItem::IsRef(str, resType, id)); 88 EXPECT_EQ(ResType::STRING, resType); 91 EXPECT_TRUE(IdItem::IsRef(str, resType, id)); 92 EXPECT_EQ(ResType::BOOLEAN, resType); [all …]
|
D | global_test.cpp | 63 int GetResId(const std::string &name, ResType resType) in GetResId() argument 72 int ret = pResource->GetIdByName(name.c_str(), resType); in GetResId()
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
D | res_desc_test.cpp | 70 ResType resType; variable 72 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 75 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 78 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 81 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 84 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); 87 EXPECT_TRUE(IdItem::IsRef(str, resType, id)); 88 EXPECT_EQ(ResType::STRING, resType); 91 EXPECT_TRUE(IdItem::IsRef(str, resType, id)); 92 EXPECT_EQ(ResType::BOOLEAN, resType); [all …]
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
D | hap_manager.h | 75 const IdItem *FindResourceByName(const char *name, const ResType resType); 90 …esource::ValueUnderQualifierDir *FindQualifierValueByName(const char *name, const ResType resType); 106 … const HapResource::IdValues *GetResourceListByName(const char *name, const ResType resType) const;
|
D | hap_resource.h | 158 const IdValues *GetIdValuesByName(const std::string name, const ResType resType) const; 166 int GetIdByName(const char *name, const ResType resType) const;
|
D | global_utils.h | 90 ResType resType; member
|
D | res_desc.h | 86 static bool IsRef(const std::string &value, ResType &resType, int &id);
|
D | resource_manager_impl.h | 306 …RState GetRawFile(const HapResource::ValueUnderQualifierDir *vuqd, const ResType resType, std::str…
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | hap_manager.h | 84 const IdItem *FindResourceByName(const char *name, const ResType resType); 101 …Resource::ValueUnderQualifierDir *FindQualifierValueByName(const char *name, const ResType resType, 172 …onst HapResource::IdValues *> GetResourceListByName(const char *name, const ResType resType) const;
|
D | hap_resource.h | 213 const IdValues *GetIdValuesByName(const std::string name, const ResType resType) const; 221 int GetIdByName(const char *name, const ResType resType) const;
|
D | res_desc.h | 86 static bool IsRef(const std::string &value, ResType &resType, int &id);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | hap_manager.cpp | 110 const IdItem *HapManager::FindResourceByName(const char *name, const ResType resType) in FindResourceByName() argument 112 auto qualifierValue = FindQualifierValueByName(name, resType); in FindResourceByName() 120 const char *name, const ResType resType) in FindQualifierValueByName() argument 122 const HapResource::IdValues *idValues = this->GetResourceListByName(name, resType); in FindQualifierValueByName() 237 …esource::IdValues *HapManager::GetResourceListByName(const char *name, const ResType resType) const in GetResourceListByName() 242 const HapResource::IdValues *out = pResource->GetIdValuesByName(std::string(name), resType); in GetResourceListByName()
|
D | hap_resource.cpp | 222 const std::string name, const ResType resType) const in GetIdValuesByName() 224 const std::map<std::string, IdValues *> *map = idValuesNameMap_[resType]; in GetIdValuesByName() 233 int HapResource::GetIdByName(const char *name, const ResType resType) const in GetIdByName() 238 const std::map<std::string, IdValues *> *map = idValuesNameMap_[resType]; in GetIdByName() 250 if (ids->GetLimitPathsConst()[0]->GetIdItem()->resType_ != resType) { in GetIdByName()
|
D | resource_manager_impl.cpp | 274 ResType resType; in ResolveReference() local 279 isRef = IdItem::IsRef(refStr, resType, id); in ResolveReference() 285 if (IdItem::IsArrayOfType(resType)) { in ResolveReference() 296 if (resType != idItem->resType_) { in ResolveReference() 353 ResType resType; in ResolveParentReference() local 354 bool isRef = IdItem::IsRef(currItem->values_[0], resType, id); in ResolveParentReference() 574 …urceManagerImpl::GetRawFile(const HapResource::ValueUnderQualifierDir *vuqd, const ResType resType, in GetRawFile() argument 582 if (idItem == nullptr || idItem->resType_ != resType) { in GetRawFile()
|
D | res_desc.cpp | 153 bool IdItem::IsRef(const std::string &value, ResType &resType, int &id) in IsRef() argument 180 resType = type; in IsRef()
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | hap_manager.cpp | 156 const IdItem *HapManager::FindResourceByName(const char *name, const ResType resType) in FindResourceByName() argument 158 auto qualifierValue = FindQualifierValueByName(name, resType); in FindResourceByName() 166 const char *name, const ResType resType, uint32_t density) in FindQualifierValueByName() argument 169 …std::vector<const HapResource::IdValues *> candidates = this->GetResourceListByName(name, resType); in FindQualifierValueByName() 367 const ResType resType) const in GetResourceListByName() 373 const HapResource::IdValues *out = pResource->GetIdValuesByName(std::string(name), resType); in GetResourceListByName() 476 …ring GetFilePath(const HapResource::ValueUnderQualifierDir *qd, unzFile &uf, const ResType resType) in GetFilePath() argument 483 if (idItem == nullptr || idItem->resType_ != resType) { in GetFilePath()
|
D | hap_resource.cpp | 416 const std::string name, const ResType resType) const in GetIdValuesByName() 418 const std::map<std::string, IdValues *> *map = idValuesNameMap_[resType]; in GetIdValuesByName() 427 int HapResource::GetIdByName(const char *name, const ResType resType) const in GetIdByName() 432 const std::map<std::string, IdValues *> *map = idValuesNameMap_[resType]; in GetIdByName() 444 if (ids->GetLimitPathsConst()[0]->GetIdItem()->resType_ != resType) { in GetIdByName()
|
D | resource_manager_impl.cpp | 365 ResType resType; in ResolveReference() local 370 isRef = IdItem::IsRef(refStr, resType, id); in ResolveReference() 376 if (IdItem::IsArrayOfType(resType)) { in ResolveReference() 387 if (resType != idItem->resType_) { in ResolveReference() 443 ResType resType; in ResolveParentReference() local 444 bool isRef = IdItem::IsRef(currItem->values_[0], resType, id); in ResolveParentReference() 847 …urceManagerImpl::GetRawFile(const HapResource::ValueUnderQualifierDir *vuqd, const ResType resType, in GetRawFile() argument 855 if (idItem == nullptr || idItem->resType_ != resType) { in GetRawFile()
|
D | res_desc.cpp | 218 bool IdItem::IsRef(const std::string &value, ResType &resType, int &id) in IsRef() argument 244 resType = type; in IsRef()
|
/base/update/updater/interfaces/kits/include/package/ |
D | package.h | 96 uint8_t resType; member
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_upgradefile.cpp | 59 fileInfo_.resType = info->resType; in Init() 393 comp.resType = fileInfo_.resType; in EncodeHeader() 473 fileInfo_.resType = info->resType; in DecodeHeader()
|
D | pkg_upgradefile.h | 45 uint8_t resType; member
|
/base/update/updater/interfaces/kits/packages/ |
D | package.cpp | 69 info->resType = compInfo[i].resType; in GetUpgradePkgInfo()
|
/base/update/updater/test/unittest/updater_binary/ |
D | updater_binary_unittest.cpp | 195 comp.resType = 1; in BuildCompnentInfo()
|
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/ |
D | UpdaterStartUpdaterProc_fuzzer.cpp | 120 comp[i].resType = 1; in CreatePackageZip()
|