Searched refs:eventJson (Results 1 - 6 of 6) sorted by relevance
/foundation/systemabilitymgr/samgr/services/common/src/ |
H A D | parse_util.cpp | 260 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 D | system_ability_manager_util.cpp | 85 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 D | parse_util.h | 43 static std::unordered_map<std::string, std::string> JsonObjToMap(const nlohmann::json& eventJson);
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.h | 166 void ParseEvents(const std::unique_ptr<JsonValue>& rootJson, const std::unique_ptr<JsonValue>& eventJson,
|
H A D | js_card_parser.cpp | 1018 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 D | jsi_engine.cpp | 2569 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