Home
last modified time | relevance | path

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

123

/base/powermgr/power_manager/interfaces/innerkits/native/include/
Dwork_trigger.h33 : uid_(uid), name_(name), pid_(pid) {} in uid_()
43 pid_ = pid; in SetPid()
53 return pid_; in GetPid()
68 return (uid_ == other.uid_) && (pid_ == other.pid_) && (abilityId_ == other.abilityId_) &&
79 int32_t pid_{INVALID_PID};
/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()
Dcommand_catcher.cpp39 pid_ = pid; in Initialize()
42 if (pid_ <= 0) { in Initialize()
51 …description_ = "CommandCatcher -- pid==" + std::to_string(pid_) + " packageName is " + packageName… in Initialize()
57 if (pid_ <= 0) { in Catch()
Dpeer_binder_catcher.cpp36 pid_ = pid; in Initialize()
40 "PeerBinderCatcher -- pid==%d layer_ == %d\n", pid_, layer_); in Initialize()
57 if (pid_ <= 0) { in Catch()
77 if (pidTemp != pid_) { in Catch()
167 if (manager.size() == 0 || manager.find(pid_) == manager.end()) { in GetBinderPeerPids()
172 for (auto each : manager[pid_]) { in GetBinderPeerPids()
176 ParseBinderCallChain(manager, pids, pid_); in GetBinderPeerPids()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dmemory_dumper.cpp34 pid_ = parameter->GetOpts().memPid_; in PreExecute()
35 DUMPER_HILOGD(MODULE_SERVICE, "MemoryDumper pid:%d\n", pid_); in PreExecute()
43 if (pid_ >= 0) { in Execute()
44 bool success = memoryInfo_->GetMemoryInfoByPid(pid_, dumpDatas_); in Execute()
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_process.cpp46 if (snprintf_s(path, sizeof(path), sizeof(path) - 1, "/proc/%d/cmdline", pid_) <= 0) { in FillProcessName()
74 auto maps = DfxElfMaps::Create(pid_); in InitProcessMaps()
86 keyThread = std::make_shared<DfxThread>(pid_, pid_, pid_); in InitProcessThreads()
156 auto thread = std::make_shared<DfxThread>(pid_, tid, nsTid); in InsertThreadNode()
167 … if (snprintf_s(path, sizeof(path), sizeof(path) - 1, "/proc/%d/task/%d/status", pid_, tid) <= 0) { in TidToNstid()
189 DfxLogWarn("TidToNstid sscanf_s failed. pid:%d, tid:%d", pid_, tid); in TidToNstid()
211 return pid_; in GetPid()
221 return pid_ != nsPid_; in GetNs()
246 pid_ = pid; in SetPid()
264 return pid_; in GetNsPid()
Dcppcrash_reporter.cpp53 pid_ = process_->GetPid(); in Format()
98 info.pid = pid_; in ReportToHiview()
105 DfxLogInfo("Finish report fault to FaultLogger %s(%d,%d)", cmdline_.c_str(), pid_, uid_); in ReportToHiview()
Dcppcrash_reporter.h35 pid_ = 0; in CppCrashReporter()
68 int32_t pid_; variable
/base/location/frameworks/location_common/common/source/
Dapp_identity.cpp23 pid_ = 0; in AppIdentity()
30 : uid_(uid), pid_(pid), tokenId_(tokenId), firstTokenId_(firstTokenId) in AppIdentity()
37 ", 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()
65 int pid_ {-1};
/base/location/interfaces/inner_api/include/
Dapp_identity.h31 return pid_; in GetPid()
36 pid_ = pid; in SetPid()
82 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()
43 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in Builder()
63 pid_ = pid; in InitPid()
133 return pid_; in GetPid()
Dwatch_point.h46 long pid_; variable
81 long pid_; variable
/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/powermgr/power_manager/frameworks/native/
Drunning_lock_info.cpp101 READ_PARCEL_WITH_RET(parcel, Int32, pid_, false); in ReadFromParcel()
105 pid_: %{public}d, abilityId_: %{public}d", name_.c_str(), uid_, pid_, abilityId_); in ReadFromParcel()
126 WRITE_PARCEL_WITH_RET(parcel, Int32, pid_, false); in Marshalling()
130 pid_: %{public}d, abilityId_: %{public}d", name_.c_str(), uid_, pid_, abilityId_); in Marshalling()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/include/
Dcommand_catcher.h34 return pid_; in GetPid()
37 int pid_ = -1;
/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.cpp69 pid_ = UNSET; in Reset()
92 StrToInt(name, pidInfo.pid_); in GetPidInfos()
93 GetProcessInfo(pidInfo.pid_, pidInfo); in GetPidInfos()
95 GetProcessNameByPid(pidInfo.pid_, pidInfo.cmdline_); in GetPidInfos()
225 StrToInt(val0, info.pid_); in GetProcessInfo()
237 … if ((info.pid_ > UNSET) && (info.ppid_ > UNSET) && (info.uid_ > UNSET) && (info.gid_ > UNSET)) { in GetProcessInfo()
/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/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.cpp168 appProcessInfo.pid_ = 0; in GetAppProcessInfoByName()
195 if (KillProcess(bg.pid_) != ERR_OK) { in KillBgAppProcess()
204 if (KillProcess(fg.pid_) != ERR_OK) { in KillFgAppProcess()
213 if (KillProcess(all.pid_) != ERR_OK) { in KillAllAppProcess()
/base/hiviewdfx/hiview/base/test/unittest/common/
Dsys_event_test.cpp57 …in_":"DEMO","name_":"EVENT_NAME","type_":1,"time_":\d+,"tz_":"[\+\-]\d+","pid_":\d+,"tid_":\d+,"ui…
80 …in_":"DEMO","name_":"EVENT_NAME","type_":1,"time_":\d+,"tz_":"[\+\-]\d+","pid_":\d+,"tid_":\d+,"ui…
/base/telephony/state_registry/service/include/
Dtelephony_state_registry_record.h38 pid_t pid_ = 0; variable
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
Dsys_event_dao_test.cpp69 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
99 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
114 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
157 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
276 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
323 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
332 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
341 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
493 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
502 …"pid_":6527,"tid_":6527,"traceid_":"f0ed5160bb2df4b","spanid_":"10","pspanid_":"20","trace_flag_":…
[all …]

123