Home
last modified time | relevance | path

Searched refs:pidStr (Results 1 – 10 of 10) sorted by relevance

/base/hiviewdfx/hiview/test/moduletest/common/
Dhiview_plugin_platform_module_test.cpp49 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/
Dmedical_proxy_test.cpp98 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/faultloggerd/test/systemtest/src/
Dfaultloggerd_system_test.cpp703 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid() local
705 std::stringstream pidStream(pidStr); in GetServicePid()
707 printf("the pid of service(%s) is %s \n", serviceName.c_str(), pidStr.c_str()); in GetServicePid()
1429 std::string pidStr = pid; variable
1430 int ret = FaultLoggerdSystemTest::CheckCountNumStackTop(filePathStr, pidStr, cmd);
1461 std::string pidStr = pid; variable
1462 int ret = FaultLoggerdSystemTest::CheckCountNumStackTop(filePathStr, pidStr, cmd);
1493 std::string pidStr = pid; variable
1494 int ret = FaultLoggerdSystemTest::CheckCountNum(filePathStr, pidStr, cmd);
1525 std::string pidStr = pid; variable
[all …]
/base/hiviewdfx/faultloggerd/test/moduletest/
Dfaultloggerd_module_test.cpp52 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid() local
54 std::stringstream pidStream(pidStr); in GetServicePid()
56 printf("the pid of service(%s) is %s \n", serviceName.c_str(), pidStr.c_str()); in GetServicePid()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dpeer_binder_catcher.cpp75 std::string pidStr = ""; in Catch() local
79 pidStr += "," + std::to_string(pidTemp); in Catch()
84 event_->SetValue(LOGGER_EVENT_PEERBINDER, StringUtil::TrimStr(pidStr, ',')); in Catch()
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_formatter.h27 void WriteStackTraceFromLog(int32_t fd, const std::string& pidStr, const std::string& path);
Dfaultlog_formatter.cpp143 void WriteStackTraceFromLog(int32_t fd, const std::string& pidStr, const std::string& path) in WriteStackTraceFromLog() argument
164 (line.find(pidStr) != std::string::npos)) { in WriteStackTraceFromLog()
169 (line.find(pidStr) != std::string::npos)) { in WriteStackTraceFromLog()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Ddfx_processdump_test.cpp207 string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid() local
209 stringstream pidStream(pidStr); in GetServicePid()
211 printf("the pid of service(%s) is %s \n", serviceName.c_str(), pidStr.c_str()); in GetServicePid()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
Ddfx_dump_catcher.cpp504 std::string pidStr; in DumpCatchMultiPid() local
505 if (DoDumpRemoteLocked(pid, 0, pidStr)) { in DumpCatchMultiPid()
506 msg.append(pidStr + "\n"); in DumpCatchMultiPid()
/base/hiviewdfx/faultloggerd/test/unittest/dump_catcher/
Ddumpcatcher_interfaces_test.cpp136 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid() local
138 std::stringstream pidStream(pidStr); in GetServicePid()
140 printf("the pid of service(%s) is %s \n", serviceName.c_str(), pidStr.c_str()); in GetServicePid()