/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/faultloggerd/test/systemtest/src/ |
D | faultloggerd_system_test.cpp | 703 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/ |
D | faultloggerd_module_test.cpp | 52 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/ |
D | peer_binder_catcher.cpp | 75 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/ |
D | faultlog_formatter.h | 27 void WriteStackTraceFromLog(int32_t fd, const std::string& pidStr, const std::string& path);
|
D | faultlog_formatter.cpp | 143 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/ |
D | dfx_processdump_test.cpp | 207 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/ |
D | dfx_dump_catcher.cpp | 504 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/ |
D | dumpcatcher_interfaces_test.cpp | 136 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()
|