/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
D | open_stacktrace_catcher.cpp | 43 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()
|
D | peer_binder_catcher.cpp | 47 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()
|
D | event_log_task.cpp | 47 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()
|
D | shell_catcher.cpp | 35 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/ |
D | memory_dumper.cpp | 37 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/ |
D | catchframe_local.cpp | 51 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/ |
D | app_identity.cpp | 23 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/ |
D | dumper_parameter.h | 56 pid_ = pid; in SetPid() 60 return pid_; in GetPid() 64 int pid_ {-1};
|
/base/sensors/sensor/utils/common/src/ |
D | active_info.cpp | 28 …: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/ |
D | option_args.cpp | 35 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/ |
D | app_identity.h | 31 return pid_; in GetPid() 36 pid_ = pid; in SetPid() 92 pid_t pid_; variable
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | watch_point.cpp | 23 : 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/ |
D | focus_change_listener.cpp | 28 focusHandle_(true, focusChangeInfo->pid_, focusChangeInfo->uid_); in OnFocused() 37 focusHandle_(false, focusChangeInfo->pid_, focusChangeInfo->uid_); in OnUnfocused()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | raw_param.cpp | 34 …: 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()
|
D | dump_common_utils.cpp | 142 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/ |
D | event_logger_catcher_test.cpp | 143 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/ |
D | stream_session.h | 47 return pid_; in GetPid() 74 const int32_t pid_ { -1 };
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | reminder_timer_info.h | 41 pid_ = pid; in SetPid() 81 int32_t pid_ {-1};
|
/base/location/services/location_locator/locator/source/ |
D | request.cpp | 24 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/ |
D | cppcrash_reporter.h | 33 pid_ = 0; in CppCrashReporter() 67 int32_t pid_; variable
|
D | cppcrash_reporter.cpp | 54 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/ |
D | faultlog_info.cpp | 40 return pid_; in GetProcessId() 80 pid_ = pid; in SetProcessId()
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
D | action_application_process.cpp | 157 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/ |
D | telephony_state_registry_record.h | 38 pid_t pid_ = 0; variable
|
/base/msdp/device_status/utils/ipc/src/ |
D | stream_session.cpp | 38 : fd_(fd), pid_(pid) in StreamSession() 103 << ", pid = " << pid_ in UpdateDescript()
|