Home
last modified time | relevance | path

Searched refs:idv (Results 1 – 6 of 6) sorted by relevance

/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dhap_resource_test.cpp230 auto idv = pResource->GetIdValuesByName(std::string("integer_ref"), ResType::INTEGER); variable
231 PrintIdValues(idv);
233 idv = pResource->GetIdValuesByName(std::string("string_ref"), ResType::STRING);
234 PrintIdValues(idv);
237 idv = pResource->GetIdValuesByName(std::string("string_ref2"), ResType::STRING);
238 PrintIdValues(idv);
240 idv = pResource->GetIdValuesByName(std::string("boolean_ref"), ResType::BOOLEAN);
241 PrintIdValues(idv);
243 idv = pResource->GetIdValuesByName(std::string("color_ref"), ResType::COLOR);
244 PrintIdValues(idv);
[all …]
Dresource_manager_performance_test.cpp63 … auto idv = ((ResourceManagerImpl *)rm)->hapManager_->GetResourceListByName(name.c_str(), resType); in GetResId() local
64 if (idv == nullptr) { in GetResId()
68 if (idv->GetLimitPathsConst().size() > 0) { in GetResId()
69 return idv->GetLimitPathsConst()[0]->GetIdItem()->id_; in GetResId()
Dresource_manager_test.cpp70 … auto idv = ((ResourceManagerImpl *)rm)->hapManager_->GetResourceListByName(name.c_str(), resType); in GetResId() local
71 if (idv == nullptr) { in GetResId()
75 PrintIdValues(idv); in GetResId()
76 if (idv->GetLimitPathsConst().size() > 0) { in GetResId()
77 return idv->GetLimitPathsConst()[0]->GetIdItem()->id_; in GetResId()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dhap_resource_test.cpp234 auto idv = pResource->GetIdValuesByName(std::string("integer_ref"), ResType::INTEGER); variable
235 PrintIdValues(idv);
237 idv = pResource->GetIdValuesByName(std::string("string_ref"), ResType::STRING);
238 PrintIdValues(idv);
241 idv = pResource->GetIdValuesByName(std::string("string_ref2"), ResType::STRING);
242 PrintIdValues(idv);
244 idv = pResource->GetIdValuesByName(std::string("boolean_ref"), ResType::BOOLEAN);
245 PrintIdValues(idv);
247 idv = pResource->GetIdValuesByName(std::string("color_ref"), ResType::COLOR);
248 PrintIdValues(idv);
[all …]
Dresource_manager_performance_test.cpp63 … auto idv = ((ResourceManagerImpl *)rm)->hapManager_->GetResourceListByName(name.c_str(), resType); in GetResId() local
64 if (idv.size() == 0) { in GetResId()
68 if (idv[0]->GetLimitPathsConst().size() > 0) { in GetResId()
69 return idv[0]->GetLimitPathsConst()[0]->GetIdItem()->id_; in GetResId()
Dresource_manager_test.cpp151 … auto idv = ((ResourceManagerImpl *)rm)->hapManager_->GetResourceListByName(name.c_str(), resType); in GetResId() local
152 if (idv.size() == 0) { in GetResId()
156 PrintIdValues(idv[0]); in GetResId()
157 if (idv[0]->GetLimitPathsConst().size() > 0) { in GetResId()
158 return idv[0]->GetLimitPathsConst()[0]->GetIdItem()->id_; in GetResId()