Home
last modified time | relevance | path

Searched refs:enumList (Results 1 – 2 of 2) sorted by relevance

/base/update/updateservice/frameworks/js/napi/base/src/
Dclient_helper.cpp545 static const std::list enumList = { ComponentType::OTA }; in ParseUpgradeFile() local
546 PARAM_CHECK(IsValidEnum(enumList, fileType), return ClientStatus::CLIENT_INVALID_PARAM, in ParseUpgradeFile()
601 static const std::list enumList = { EventClassify::TASK }; in GetEventClassifyInfoFromArg() local
602 PARAM_CHECK(IsValidEnum(enumList, eventClassify), return ClientStatus::CLIENT_INVALID_TYPE, in GetEventClassifyInfoFromArg()
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_helper.h617 bool IsValidEnum(const std::list<T> &enumList, int32_t number) in IsValidEnum() argument
619 for (auto i : enumList) { in IsValidEnum()