Searched refs:pidStr (Results 1 – 8 of 8) sorted by relevance
| /base/hiviewdfx/hiview/test/moduletest/common/ |
| D | hiview_plugin_platform_module_test.cpp | 49 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid() local 51 OHOS::HiviewDFX::StringUtil::ConvertStringTo<int32_t>(pidStr, pid); in GetServicePid() 52 printf("the pid of service(%s) is %s \n", serviceName.c_str(), pidStr.c_str()); in GetServicePid()
|
| /base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/ |
| D | medical_proxy_test.cpp | 98 std::string pidStr(buf); in GetSensorServicePid() local 99 pidStr = TrimStr(pidStr, '\n'); in GetSensorServicePid() 100 HiLog::Info(LABEL, "pidStr is : %{public}s", pidStr.c_str()); in GetSensorServicePid() 101 if (pidStr.empty()) { in GetSensorServicePid() 105 if (IsNumericStr(pidStr)) { in GetSensorServicePid() 106 pid = std::stoi(pidStr); in GetSensorServicePid()
|
| /base/hiviewdfx/hiview/plugins/faultlogger/service/ |
| D | faultlog_formatter.h | 27 void WriteStackTraceFromLog(int32_t fd, const std::string& pidStr, const std::string& path);
|
| D | faultlog_formatter.cpp | 150 void WriteStackTraceFromLog(int32_t fd, const std::string& pidStr, const std::string& path) in WriteStackTraceFromLog() argument 171 (line.find(pidStr) != std::string::npos)) { in WriteStackTraceFromLog() 176 (line.find(pidStr) != std::string::npos)) { in WriteStackTraceFromLog()
|
| /base/hiviewdfx/faultloggerd/test/utils/ |
| D | dfx_test_util.cpp | 79 std::string pidStr = ExecuteCommands(cmd); in GetProcessPid() local 81 std::stringstream pidStream(pidStr); in GetProcessPid() 83 printf("the pid of process(%s) is %s \n", processName.c_str(), pidStr.c_str()); in GetProcessPid()
|
| /base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
| D | peer_binder_catcher.cpp | 88 std::string pidStr = ""; in Catch() local 92 pidStr += "," + std::to_string(pidTemp); in Catch() 97 event_->SetValue(LOGGER_EVENT_PEERBINDER, StringUtil::TrimStr(pidStr, ',')); in Catch()
|
| /base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
| D | hitrace_meter.cpp | 128 std::string pidStr = std::to_string(getpid()); in OpenTraceMarkerFile() local 129 errno_t ret = strcpy_s(g_pid, PID_BUF_SIZE, pidStr.c_str()); in OpenTraceMarkerFile() 131 strcpy_s(g_pid, PID_BUF_SIZE, pidStr.c_str()); in OpenTraceMarkerFile() 133 HiLog::Error(LABEL, "pid[%{public}s] first get g_tagsProperty: %{public}s", pidStr.c_str(), in OpenTraceMarkerFile()
|
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/ |
| D | dfx_dump_catcher.cpp | 374 std::string pidStr; in DumpCatchMultiPid() local 375 if (DoDumpRemoteLocked(pid, 0, pidStr)) { in DumpCatchMultiPid() 376 msg.append(pidStr + "\n"); in DumpCatchMultiPid()
|