Home
last modified time | relevance | path

Searched refs:jsonInfo (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_stack_info_formatter.cpp45 jsonInfo.append(frameJson); in FillJsFrame()
55 Json::Value jsonInfo; in GetStackInfo() local
73 GetDumpInfo(jsonInfo); in GetStackInfo()
75 GetNativeCrashInfo(jsonInfo); in GetStackInfo()
83 jsonInfo["uuid"] = ""; in GetNativeCrashInfo()
120 jsonInfo["exception"] = exception; in GetNativeCrashInfo()
144 jsonInfo.append(thread); in GetDumpInfo()
163 FillJsFrame(frame, jsonInfo); in FillFrames()
166 FillNativeFrame(frame, jsonInfo); in FillFrames()
195 jsonInfo.append(frameJson); in FillNativeFrame()
[all …]
H A Ddfx_stack_info_formatter.h44 bool GetStackInfo(bool isJsonDump, Json::Value& jsonInfo) const;
45 void GetNativeCrashInfo(Json::Value& jsonInfo) const;
46 void GetDumpInfo(Json::Value& jsonInfo) const;
47 bool FillFrames(const std::shared_ptr<DfxThread>& thread, Json::Value& jsonInfo) const;
48 void FillNativeFrame(const DfxFrame& frame, Json::Value& jsonInfo) const;
49 …AppendThreads(const std::vector<std::shared_ptr<DfxThread>>& threads, Json::Value& jsonInfo) const;
H A Dprocess_dumper.cpp320 std::string jsonInfo; in Dump() local
323 formatter.GetStackInfo(isJsonDump_, jsonInfo); in Dump()
324 DFXLOG_INFO("Finish GetStackInfo len %" PRIuPTR "", jsonInfo.length()); in Dump()
326 WriteData(jsonFd_, jsonInfo, MAX_PIPE_SIZE); in Dump()
347 ReportCrashInfo(jsonInfo); in Dump()
872 void ProcessDumper::ReportCrashInfo(const std::string& jsonInfo) in ReportCrashInfo() argument
875 reporter_->SetCppCrashInfo(jsonInfo); in ReportCrashInfo()
H A Dprocess_dumper.h60 void ReportCrashInfo(const std::string& jsonInfo);
/ohos5.0/foundation/distributedhardware/distributed_audio/audiohandler/src/
H A Ddaudio_handler.cpp144 char *jsonInfo = cJSON_Print(infoJson); in RealQuery() local
145 if (jsonInfo == NULL) { in RealQuery()
150 dhItem.attrs = jsonInfo; in RealQuery()
153 dhId, dhItem.subtype.c_str(), jsonInfo); in RealQuery()
157 … DHLOGD("Query result: dhId: %{public}d, attrs: %{public}s.", LOW_LATENCY_RENDER_ID, jsonInfo); in RealQuery()
160 cJSON_free(jsonInfo); in RealQuery()
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/dfx/dfx1/
H A Dindex.js29 var jsonInfo = JSON.parse(info); variable
30 this.domId = jsonInfo.id;
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/formatter/
H A Ddfx_json_formatter.cpp142 Json::Value jsonInfo; in FormatKernelStackJson() local
163 jsonInfo.append(threadInfo); in FormatKernelStackJson()
165 formattedStack = Json::FastWriter().write(jsonInfo); in FormatKernelStackJson()
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Ddata_publisher.cpp53 std::string GetBundleNameFromJsonStr(const std::string& jsonInfo) in GetBundleNameFromJsonStr() argument
58 if (!reader.parse(jsonInfo, root)) { in GetBundleNameFromJsonStr()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_dialog_view.cpp869 auto jsonInfo = JsonUtil::ParseJsonString(info); in InitOnRequestDataEvent() local
870 …CalendarMonth currentMonth { .year = jsonInfo->GetInt("year"), .month = jsonInfo->GetInt("month") … in InitOnRequestDataEvent()
890 auto jsonInfo = JsonUtil::ParseJsonString(callbackInfo); in OnSelectedChangeEvent() local
891 …CalendarMonth selectedMonth { .year = jsonInfo->GetInt("year"), .month = jsonInfo->GetInt("month")… in OnSelectedChangeEvent()
899 PickerDate selectedDay(selectedMonth.year, selectedMonth.month, jsonInfo->GetInt("day")); in OnSelectedChangeEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_drag_function.cpp414 JSRef<JSVal> jsonInfo = JSRef<JSVal>::Make(ToJSValue(extraParams)); in Execute() local
415 JSRef<JSVal> params[] = { dragInfo, jsonInfo }; in Execute()
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
H A Dfaultlogger_unittest.cpp379 std::string jsonInfo = R"~({"crash_type":"NativeCrash", "exception":{"frames": in GenCppCrashLogTestCommon() local
392 TEMP_FAILURE_RETRY(write(pipeFd[1], jsonInfo.c_str(), jsonInfo.size())); in GenCppCrashLogTestCommon()
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dext_extension.cpp694 string jsonInfo; in ReportErrFileByProc() local
695 BJsonUtil::BuildOnProcessErrInfo(jsonInfo, msg, err); in ReportErrFileByProc()
697 extPtr->ReportAppProcessInfo(jsonInfo, scenario); in ReportErrFileByProc()