Home
last modified time | relevance | path

Searched refs:defFilePath (Results 1 - 3 of 3) sorted by relevance

/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Devent_json_parser.cpp54 EventJsonParser::EventJsonParser(const std::string& defFilePath) in EventJsonParser() argument
57 ReadDefFile(defFilePath); in EventJsonParser()
190 void EventJsonParser::ReadDefFile(const std::string& defFilePath) in ReadDefFile() argument
193 if (!ReadSysEventDefFromFile(defFilePath, hiSysEventDef)) { in ReadDefFile()
194 HIVIEW_LOGE("parse json file failed, please check the style of json file: %{public}s", defFilePath.c_str()); in ReadDefFile()
H A Dsysevent_source.cpp138 auto defFilePath = HiViewConfigUtil::GetConfigFilePath(DEF_ZIP_NAME, DEF_CFG_DIR, DEF_FILE_NAME); in OnLoad() local
139 HIVIEW_LOGI("init json parser with %{public}s", defFilePath.c_str()); in OnLoad()
140 sysEventParser_ = std::make_shared<EventJsonParser>(defFilePath); in OnLoad()
225 auto defFilePath = HiViewConfigUtil::GetConfigFilePath(DEF_ZIP_NAME, DEF_CFG_DIR, DEF_FILE_NAME); in CheckEvent() local
226 HIVIEW_LOGI("update json parser with %{public}s", defFilePath.c_str()); in CheckEvent()
227 sysEventParser_->ReadDefFile(defFilePath); in CheckEvent()
/base/hiviewdfx/hiview/plugins/sysevent_source/include/
H A Devent_json_parser.h48 EventJsonParser(const std::string& defFilePath);
55 void ReadDefFile(const std::string& defFilePath);

Completed in 2 milliseconds