Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Dconfig_utils.cpp681 if ((groupCfg.list_ == nullptr) || (groupCfg.size_ < 1)) { in GetGroupSimple()
686 if (groupCfg.expand_) { in GetGroupSimple()
688 dumpGroup->name_ = groupCfg.name_; in GetGroupSimple()
689 dumpGroup->desc_ = groupCfg.desc_; in GetGroupSimple()
690 dumpGroup->type_ = groupCfg.type_; in GetGroupSimple()
691 dumpGroup->expand_ = groupCfg.expand_; in GetGroupSimple()
694 auto &outlist = (groupCfg.expand_) ? dumpGroup->childs_ : result; in GetGroupSimple()
696 for (int i = 0; i < groupCfg.size_; i++) { in GetGroupSimple()
697 if (groupCfg.list_[i].empty()) { in GetGroupSimple()
701 GetDumper(groupCfg.list_[i], outlist, args, level); in GetGroupSimple()
[all …]
/ohos5.0/base/startup/init/services/init/
H A Dinit_group_manager.c100 static int InitParseGroupCfg_(const char *groupCfg) in InitParseGroupCfg_() argument
102 INIT_LOGI("Parse group config %s", groupCfg); in InitParseGroupCfg_()
103 char *fileBuf = ReadFileData(groupCfg); in InitParseGroupCfg_()
104 INIT_ERROR_CHECK(fileBuf != NULL, return -1, "Failed to read file content %s", groupCfg); in InitParseGroupCfg_()
107 return -1, "Failed to parse json file %s", groupCfg); in InitParseGroupCfg_()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/util/
H A Dconfig_utils.h75 … DumpStatus GetGroupSimple(const GroupCfg& groupCfg, std::vector<std::shared_ptr<DumpCfg>> &result,