Home
last modified time | relevance | path

Searched refs:pid_ (Results 1 – 25 of 58) sorted by relevance

123

/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dopen_stacktrace_catcher.cpp43 pid_ = pid; in Initialize()
46 if (pid_ <= 0) { in Initialize()
55 …description_ = "OpenStacktraceCatcher -- pid==" + std::to_string(pid_) + " packageName is " + pack… in Initialize()
62 if (pid_ <= 0) { in Catch()
68 LogCatcherUtils::DumpStacktrace(fd, pid_); in Catch()
99 int ret = LogCatcherUtils::DumpStacktrace(newFd, pid_); in ForkAndDumpStackTrace()
120 std::string str = "Dump stacktrace timeout, Catch for " + std::to_string(pid_); in ForkAndDumpStackTrace()
Dpeer_binder_catcher.cpp47 pid_ = pid; in Initialize()
52 "PeerBinderCatcher -- pid==%d layer_ == %d\n", pid_, layer_); in Initialize()
69 if (pid_ <= 0) { in Catch()
90 if (pidTemp != pid_) { in Catch()
180 if (manager.size() == 0 || manager.find(pid_) == manager.end()) { in GetBinderPeerPids()
185 for (auto each : manager[pid_]) { in GetBinderPeerPids()
189 ParseBinderCallChain(manager, pids, pid_); in GetBinderPeerPids()
225 selectPids.push_back(pid_); in DoExecHiperf()
257 std::string fileName = "hiperf-" + std::to_string(pid_) + ".data"; in ForkToDumpHiperf()
Devent_log_task.cpp47 pid_ = pid ? pid : event_->GetPid(); in EventLogTask()
191 capture->Initialize(event_->GetEventValue("PACKAGE_NAME"), pid_, 0); in AppStackCapture()
226 StringUtil::StrToInt(cmdList[PeerBinderCatcher::BP_CMD_LAYER_INDEX]), pid_); in PeerBinderCapture()
235 capture->Initialize("hidumper -s WindowManagerService -a -a", ShellCatcher::CATCHER_WMS, pid_); in WMSUsageCapture()
242 capture->Initialize("hidumper -s AbilityManagerService -a -a", ShellCatcher::CATCHER_AMS, pid_); in AMSUsageCapture()
249 capture->Initialize("hidumper --cpuusage", ShellCatcher::CATCHER_CPU, pid_); in CpuUsageCapture()
256 capture->Initialize("hidumper --mem", ShellCatcher::CATCHER_MEM, pid_); in MemoryUsageCapture()
263 capture->Initialize("hidumper -s PowerManagerService -a -s", ShellCatcher::CATCHER_PMS, pid_); in PMSUsageCapture()
270 capture->Initialize("hidumper -s DisplayPowerManagerService", ShellCatcher::CATCHER_DPMS, pid_); in DPMSUsageCapture()
Dshell_catcher.cpp35 pid_ = catcherPid; in Initialize()
60 … ret = execl("/system/bin/hidumper", "hidumper", "--mem", std::to_string(pid_).c_str(), nullptr); in DoChildProcess()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dmemory_dumper.cpp37 pid_ = parameter->GetOpts().memPid_; in PreExecute()
47 if (pid_ >= 0) { in Execute()
49 … bool isShowMapsFlag = smapsMemoryInfo_->ShowMemorySmapsByPid(pid_, dumpDatas_, isShowSmapsInfo_); in Execute()
53 bool success = memoryInfo_->GetMemoryInfoByPid(pid_, dumpDatas_); in Execute()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/
Dcatchframe_local.cpp51 pid_ = 0; in DfxCatchFrameLocal()
55 DfxCatchFrameLocal::DfxCatchFrameLocal(int32_t pid) : pid_(pid) in DfxCatchFrameLocal()
103 if (pid_ != procInfo_.pid) { in CatchFrame()
110 if (!GetTidsByPid(pid_, tids, nstids)) { in CatchFrame()
132 if (tid <= 0 || pid_ != procInfo_.pid) { in CatchFrame()
143 TidToNstid(pid_, tid, nstid); in CatchFrame()
145 if (!IsThreadInPid(pid_, nstid)) { in CatchFrame()
/base/location/frameworks/location_common/common/source/
Dapp_identity.cpp23 pid_ = 0; in AppIdentity()
31 : uid_(uid), pid_(pid), tokenId_(tokenId), tokenIdEx_(tokenIdEx), firstTokenId_(firstTokenId) in AppIdentity()
38 ", pid : " + std::to_string(pid_) + in ToString()
/base/hiviewdfx/hidumper/frameworks/native/include/common/
Ddumper_parameter.h56 pid_ = pid; in SetPid()
60 return pid_; in GetPid()
64 int pid_ {-1};
/base/sensors/sensor/utils/common/src/
Dactive_info.cpp28 …:pid_(pid), sensorId_(sensorId), samplingPeriodNs_(samplingPeriodNs), maxReportDelayNs_(maxReportD… in ActiveInfo()
33 return pid_; in GetPid()
38 pid_ = pid; in SetPid()
73 if (!parcel.WriteInt32(pid_)) { in Marshalling()
/base/hiviewdfx/hidumper/frameworks/native/src/common/
Doption_args.cpp35 pid_ = optArgs.pid_; in operator =()
62 pid_ = pid; in SetPid()
68 return pid_; in GetPid()
149 DUMPER_HILOGD(MODULE_COMMON, "debug| pid=%{public}d, uid=%{public}d", pid_, uid_); in Dump()
178 ret->pid_ = optArgs->pid_; in Clone()
/base/location/interfaces/inner_api/include/
Dapp_identity.h31 return pid_; in GetPid()
36 pid_ = pid; in SetPid()
92 pid_t pid_; variable
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dwatch_point.cpp23 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in WatchPoint()
30 pid_(builder.pid_), in WatchPoint()
45 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in Builder()
65 pid_ = pid; in InitPid()
147 return pid_; in GetPid()
/base/inputmethod/imf/services/adapter/focus_monitor/src/
Dfocus_change_listener.cpp28 focusHandle_(true, focusChangeInfo->pid_, focusChangeInfo->uid_); in OnFocused()
37 focusHandle_(false, focusChangeInfo->pid_, focusChangeInfo->uid_); in OnUnfocused()
/base/hiviewdfx/hidumper/services/native/src/
Draw_param.cpp34 …: uid_(calllingUid), pid_(calllingPid), canceled_(false), finished_(false), reqId_(reqId), outfd_(… in RawParam()
36 DUMPER_HILOGD(MODULE_SERVICE, "create|pid=%{public}d, reqId=%{public}u", pid_, reqId_); in RawParam()
42 DUMPER_HILOGD(MODULE_SERVICE, "release|pid=%{public}d, reqId=%{public}u", pid_, reqId_); in ~RawParam()
111 return pid_; in GetPid()
215 DUMPER_HILOGD(MODULE_SERVICE, "debug|uid=%{public}d, pid=%{public}d", uid_, pid_); in Dump()
Ddump_common_utils.cpp142 pid_ = UNSET; in Reset()
165 StrToInt(name, pidInfo.pid_); in GetPidInfos()
166 GetProcessInfo(pidInfo.pid_, pidInfo); in GetPidInfos()
168 GetProcessNameByPid(pidInfo.pid_, pidInfo.cmdline_); in GetPidInfos()
305 StrToInt(val0, info.pid_); in GetProcessInfo()
317 … if ((info.pid_ > UNSET) && (info.ppid_ > UNSET) && (info.uid_ > UNSET) && (info.gid_ > UNSET)) { in GetProcessInfo()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
Devent_logger_catcher_test.cpp143 std::string jsonStr = R"~({"domain_":"demo","name_":")~" + name + R"~(","pid_":)~" + in StartCreate()
380 int pid_ = CommonUtils::GetPidByName("foundation"); variable
382 int res = Initialize("", ShellCatcher::CATCHER_WMS, pid_);
385 …hellCatcher->Initialize("hidumper -s WindowManagerService -a -a", ShellCatcher::CATCHER_WMS, pid_);
388 …ellCatcher->Initialize("hidumper -s AbilityManagerService -a -a", ShellCatcher::CATCHER_AMS, pid_);
391 shellCatcher->Initialize("hidumper --cpuusage", ShellCatcher::CATCHER_CPU, pid_);
394 shellCatcher->Initialize("hidumper --mem", ShellCatcher::CATCHER_MEM, pid_);
397 …shellCatcher->Initialize("hidumper -s PowerManagerService -a -s", ShellCatcher::CATCHER_PMS, pid_);
400 …ellCatcher->Initialize("hidumper -s DisplayPowerManagerService", ShellCatcher::CATCHER_DPMS, pid_);
466 int pid_ = CommonUtils::GetPidByName("foundation"); variable
/base/msdp/device_status/utils/ipc/include/
Dstream_session.h47 return pid_; in GetPid()
74 const int32_t pid_ { -1 };
/base/notification/distributed_notification_service/services/ans/include/
Dreminder_timer_info.h41 pid_ = pid; in SetPid()
81 int32_t pid_ {-1};
/base/location/services/location_locator/locator/source/
Drequest.cpp24 this->pid_ = -1; in Request()
74 this->pid_ = pid; in SetPid()
79 return pid_; in GetPid()
238 "] from pid:" + std::to_string(pid_) + in ToString()
/base/hiviewdfx/faultloggerd/tools/process_dump/
Dcppcrash_reporter.h33 pid_ = 0; in CppCrashReporter()
67 int32_t pid_; variable
Dcppcrash_reporter.cpp54 pid_ = process_->processInfo_.pid; in Format()
104 info.pid = pid_; in ReportToHiview()
111 DFXLOG_INFO("Finish report fault to FaultLogger %s(%d,%d)", cmdline_.c_str(), pid_, uid_); in ReportToHiview()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/
Dfaultlog_info.cpp40 return pid_; in GetProcessId()
80 pid_ = pid; in SetProcessId()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_application_process.cpp157 appProcessInfo.pid_ = 0; in GetAppProcessInfoByName()
184 if (KillProcess(bg.pid_) != ERR_OK) { in KillBgAppProcess()
193 if (KillProcess(fg.pid_) != ERR_OK) { in KillFgAppProcess()
202 if (KillProcess(all.pid_) != ERR_OK) { in KillAllAppProcess()
/base/telephony/state_registry/services/include/
Dtelephony_state_registry_record.h38 pid_t pid_ = 0; variable
/base/msdp/device_status/utils/ipc/src/
Dstream_session.cpp38 : fd_(fd), pid_(pid) in StreamSession()
103 << ", pid = " << pid_ in UpdateDescript()

123