Home
last modified time | relevance | path

Searched refs:groupCfg (Results 1 – 3 of 3) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/src/util/
Dconfig_utils.cpp582 DumpStatus ConfigUtils::GetGroupSimple(const GroupCfg &groupCfg, std::vector<std::shared_ptr<DumpCf… in GetGroupSimple() argument
588 if ((groupCfg.list_ == nullptr) || (groupCfg.size_ < 1)) { in GetGroupSimple()
593 if (groupCfg.expand_) { in GetGroupSimple()
595 dumpGroup->name_ = groupCfg.name_; in GetGroupSimple()
596 dumpGroup->desc_ = groupCfg.desc_; in GetGroupSimple()
597 dumpGroup->type_ = groupCfg.type_; in GetGroupSimple()
598 dumpGroup->expand_ = groupCfg.expand_; in GetGroupSimple()
601 auto &outlist = (groupCfg.expand_) ? dumpGroup->childs_ : result; in GetGroupSimple()
603 for (int i = 0; i < groupCfg.size_; i++) { in GetGroupSimple()
604 if (groupCfg.list_[i].empty()) { in GetGroupSimple()
[all …]
/base/startup/init/services/init/
Dinit_group_manager.c66 static int InitParseGroupCfg_(const char *groupCfg) in InitParseGroupCfg_() argument
68 INIT_LOGI("Parse group config %s", groupCfg); in InitParseGroupCfg_()
69 char *fileBuf = ReadFileData(groupCfg); in InitParseGroupCfg_()
70 INIT_ERROR_CHECK(fileBuf != NULL, return -1, "Failed to read file content %s", groupCfg); in InitParseGroupCfg_()
73 return -1, "Failed to parse json file %s", groupCfg); in InitParseGroupCfg_()
/base/hiviewdfx/hidumper/frameworks/native/include/util/
Dconfig_utils.h73 … DumpStatus GetGroupSimple(const GroupCfg& groupCfg, std::vector<std::shared_ptr<DumpCfg>> &result,