Home
last modified time | relevance | path

Searched refs:eventJson (Results 1 - 6 of 6) sorted by relevance

/foundation/systemabilitymgr/samgr/services/common/src/
H A Dparse_util.cpp260 nlohmann::json eventJson = StringToJsonObj(eventStr); in StringToMap() local
261 std::unordered_map<std::string, std::string> eventMap = JsonObjToMap(eventJson); in StringToMap()
271 nlohmann::json eventJson = nlohmann::json::parse(eventStr, nullptr, false); in StringToJsonObj() local
272 if (eventJson.is_discarded()) { in StringToJsonObj()
276 if (!eventJson.is_object()) { in StringToJsonObj()
280 return eventJson; in StringToJsonObj()
283 std::unordered_map<std::string, std::string> ParseUtil::JsonObjToMap(const nlohmann::json& eventJson) in JsonObjToMap() argument
286 if (eventJson.contains(EVENT_TYPE) && eventJson[EVENT_TYPE].is_string()) { in JsonObjToMap()
287 eventMap[EVENT_TYPE] = eventJson[EVENT_TYP in JsonObjToMap()
[all...]
/foundation/systemabilitymgr/samgr/services/samgr/native/source/
H A Dsystem_ability_manager_util.cpp85 nlohmann::json eventJson; in EventToStr() local
86 eventJson[EVENT_TYPE] = event.eventId; in EventToStr()
87 eventJson[EVENT_NAME] = event.name; in EventToStr()
88 eventJson[EVENT_VALUE] = event.value; in EventToStr()
89 eventJson[EVENT_EXTRA_DATA_ID] = event.extraDataId; in EventToStr()
90 std::string eventStr = eventJson.dump(); in EventToStr()
/foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include/
H A Dparse_util.h43 static std::unordered_map<std::string, std::string> JsonObjToMap(const nlohmann::json& eventJson);
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.h166 void ParseEvents(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& eventJson,
H A Djs_card_parser.cpp1018 void JsCardParser::ParseEvents(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& eventJson, in ParseEvents() argument
1031 auto actionJson = eventJson->GetValue(value); in ParseEvents()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_engine.cpp2569 std::string eventJson = argv[HIVIEW_ARGS_JSON_IDX]->ToString(runtime); in JsHiViewReport() local
2570 EventReport::JsEventReport(StringToInt(eventId), eventJson); in JsHiViewReport() local

Completed in 13 milliseconds