Home
last modified time | relevance | path

Searched refs:SaveStringToFd (Results 1 – 25 of 27) sorted by relevance

12

/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dbinder_catcher.cpp51 FileUtil::SaveStringToFd(fd, content); in Catch()
55 FileUtil::SaveStringToFd(fd, line + "\n"); in Catch()
62 FileUtil::SaveStringToFd(fd, "binder content is empty!"); in Catch()
Dpeer_binder_catcher.cpp77 FileUtil::SaveStringToFd(fd, content); in Catch()
84 FileUtil::SaveStringToFd(fd, content); in Catch()
111 FileUtil::SaveStringToFd(fd, "\nBinderCatcher --\n\n"); in BinderInfoParser()
113 FileUtil::SaveStringToFd(fd, line + "\n"); in BinderInfoParser()
159 FileUtil::SaveStringToFd(fd, "\n\nPeerBinder Stacktrace --\n\n"); in BinderInfoParser()
173 FileUtil::SaveStringToFd(fd, content); in GetBinderPeerPids()
209 FileUtil::SaveStringToFd(fd, content); in CatcherStacktrace()
Ddmesg_catcher.cpp78 bool res = FileUtil::SaveStringToFd(fd, data); in DumpDmesgLog()
146 FileUtil::SaveStringToFd(fd, description_); in Catch()
149 FileUtil::SaveStringToFd(fd, description_); in Catch()
Devent_log_catcher.cpp79 FileUtil::SaveStringToFd(fd, errStr); in AppendFile()
Dopen_stacktrace_catcher.cpp121 FileUtil::SaveStringToFd(fd, str); in ForkAndDumpStackTrace()
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_formatter.cpp154 FileUtil::SaveStringToFd(fd, "Log file not exist.\n"); in WriteStackTraceFromLog()
177 FileUtil::SaveStringToFd(fd, line + "\n"); in WriteStackTraceFromLog()
182 FileUtil::SaveStringToFd(fd, line + "\n"); in WriteStackTraceFromLog()
191 FileUtil::SaveStringToFd(fd, dfxStr); in WriteDfxLogToFile()
192 FileUtil::SaveStringToFd(fd, sepStr); in WriteDfxLogToFile()
201 FileUtil::SaveStringToFd(fd, item[LOG_MAP_VALUE]); in WriteFaultLogToFile()
205 FileUtil::SaveStringToFd(fd, value); in WriteFaultLogToFile()
211 FileUtil::SaveStringToFd(fd, summary); in WriteFaultLogToFile()
215 FileUtil::SaveStringToFd(fd, "Additional Logs:\n"); in WriteFaultLogToFile()
294 FileUtil::SaveStringToFd(fd, line); in WriteLogToFile()
[all …]
/base/powermgr/power_manager/services/native/src/actions/default/suspend/
Drunning_lock_hub.cpp44 if (!SaveStringToFd(unlockFd_, name.c_str())) { in Release()
80 return SaveStringToFd(fd, name.c_str()); in SaveLockFile()
Dsuspend_controller.cpp108 bool ret = SaveStringToFd(suspendStateFd, SUSPEND_STATE); in SuspendEnter()
135 bool ret = SaveStringToFd(wakeupCountFd, wakeupCount.c_str()); in WriteWakeupCount()
/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/
Dlog_catcher_utils.cpp92 FileUtil::SaveStringToFd(fd, msg); in DumpStacktrace()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dzipfolder_output.cpp98 SaveStringToFd(fd_, outstr); in Execute()
/base/hiviewdfx/hiview/base/utility/
Dfile_util.cpp51 bool SaveStringToFd(int fd, const std::string& content) in SaveStringToFd() function
53 return OHOS::SaveStringToFd(fd, content); in SaveStringToFd()
Dcommon_utils.cpp129 FileUtil::SaveStringToFd(fd, buffer); in WriteCommandResultToFile()
/base/hiviewdfx/hiview/base/utility/include/
Dfile_util.h63 bool SaveStringToFd(int fd, const std::string& content);
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dvendor.cpp234 FileUtil::SaveStringToFd(fd, header.str()); in MergeEventLog()
235 FileUtil::SaveStringToFd(fd, body.str()); in MergeEventLog()
/base/location/services/location_passive/passive/source/
Dpassive_ability.cpp174 if (!SaveStringToFd(fd, result)) { in Dump()
/base/hiviewdfx/hiview/plugins/eventlogger/
Devent_logger.cpp203 FileUtil::SaveStringToFd(fd, "start time: " + startTimeStr + "\n"); in StartLogCollect()
211 FileUtil::SaveStringToFd(fd, totalTime); in StartLogCollect()
343 FileUtil::SaveStringToFd(fd, headerStream.str()); in WriteCommonHead()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dzip_helper.cpp236 FileUtil::SaveStringToFd(fd, "Generated by HiviewDFX @OpenHarmony " + in WriteNewFile()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_service.cpp210 if (!SaveStringToFd(fd, result)) { in Dump()
/base/hiviewdfx/hidumper/frameworks/native/src/manager/
Ddump_implement.cpp430 SaveStringToFd(rawParamFd, str); in CmdHelp()
605 SaveStringToFd(rawParamFd, errorStr + "\n"); in SendErrorMessage()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_manager_service.cpp127 if (!SaveStringToFd(fd, result)) { in Dump()
/base/location/services/location_network/network/source/
Dnetwork_ability.cpp363 if (!SaveStringToFd(fd, result)) { in Dump()
/base/location/services/location_geocode/geocode/source/
Dgeo_convert_service.cpp438 if (!SaveStringToFd(fd, result)) { in Dump()
/base/powermgr/thermal_manager/services/native/src/
Dthermal_service.cpp567 if (!SaveStringToFd(fd, result)) { in Dump()
/base/powermgr/display_manager/service/native/src/
Ddisplay_power_mgr_service.cpp531 if (!SaveStringToFd(fd, result)) { in Dump()
/base/location/services/location_gnss/gnss/source/
Dgnss_ability.cpp603 if (!SaveStringToFd(fd, result)) { in Dump()

12