Home
last modified time | relevance | path

Searched refs:pid_ (Results 1 - 25 of 103) sorted by relevance

12345

/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Dopen_stacktrace_catcher.cpp48 pid_ = pid; in Initialize()
50 pid_ = CommonUtils::GetPidByName(packageNam); in Initialize()
53 if (pid_ <= 0) { in Initialize()
62 description_ = "OpenStacktraceCatcher -- pid==" + std::to_string(pid_) + " packageName is " + packageName_ + "\n"; in Initialize()
63 return EventLogCatcher::Initialize(packageName_, pid_, intParam); in Initialize()
69 if (pid_ <= 0) { in Catch()
75 LogCatcherUtils::DumpStacktrace(fd, pid_); in Catch()
106 int ret = LogCatcherUtils::DumpStacktrace(newFd, pid_); in ForkAndDumpStackTrace()
127 std::string str = "Dump stacktrace timeout, Catch for " + std::to_string(pid_); in ForkAndDumpStackTrace()
H A Dffrt_catcher.cpp31 pid_ = intParam1; in Initialize()
38 FileUtil::SaveStringToFd(fd, "ffrt fump pid=" + std::to_string(pid_) + ":\n"); in Catch()
39 LogCatcherUtils::DumpStackFfrt(fd, std::to_string(pid_)); in Catch()
H A Devent_log_task.cpp61 pid_ = pid ? pid : event_->GetPid(); in EventLogTask()
249 capture->Initialize(event_->GetEventValue("PACKAGE_NAME"), pid_, 0); in AppStackCapture()
272 if (pid_ > 0) { in FfrtCapture()
274 capture->Initialize("", pid_, 0); in FfrtCapture()
301 StringUtil::StrToInt(cmdList[BP_CMD_LAYER_INDEX]), pid_); in PeerBinderCapture()
310 capture->Initialize("hidumper --cpuusage", ShellCatcher::CATCHER_CPU, pid_); in CpuUsageCapture()
317 capture->Initialize("hidumper -s WindowManagerService -a -a", ShellCatcher::CATCHER_WMS, pid_); in WMSUsageCapture()
324 capture->Initialize("hidumper -s AbilityManagerService -a -a", ShellCatcher::CATCHER_AMS, pid_); in AMSUsageCapture()
331 capture->Initialize("hidumper -s PowerManagerService -a -s", ShellCatcher::CATCHER_PMS, pid_); in PMSUsageCapture()
338 capture->Initialize("hidumper -s DisplayPowerManagerService", ShellCatcher::CATCHER_DPMS, pid_); in DPMSUsageCapture()
[all...]
/base/inputmethod/imf/services/adapter/focus_monitor/src/
H A Dfocus_change_listener.cpp28 IMSA_HILOGD("pid: %{public}d, uid: %{public}d", focusChangeInfo->pid_, focusChangeInfo->uid_); in OnFocused()
29 focusHandle_(true, focusChangeInfo->pid_, focusChangeInfo->uid_); in OnFocused()
38 IMSA_HILOGD("pid: %{public}d, uid: %{public}d", focusChangeInfo->pid_, focusChangeInfo->uid_); in OnUnfocused()
39 focusHandle_(false, focusChangeInfo->pid_, focusChangeInfo->uid_); in OnUnfocused()
/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/
H A Dapp_trace_context.cpp48 int32_t pid = appCallerEvent->pid_; in InnerMakeTraceFileName()
66 appArgs.append("appPid:").append(std::to_string(appCallerEvent->pid_)); in InnerStartAppTrace()
70 appCallerEvent->uid_, appCallerEvent->pid_, retCode); in InnerStartAppTrace()
80 appCallerEvent->uid_, appCallerEvent->pid_, retCode); in InnerStartAppTrace()
94 appCallerEvent->uid_, appCallerEvent->pid_, result.retCode); in InnerDumpAppTrace()
103 appCallerEvent->uid_, appCallerEvent->pid_); in InnerDumpAppTrace()
116 eventJson[UCollectUtil::APP_EVENT_PARAM_PID] = appCallerEvent->pid_; in InnerShareAppEvent()
128 HIVIEW_LOGI("send for uid=%{public}d pid=%{public}d", appCallerEvent->uid_, appCallerEvent->pid_); in InnerShareAppEvent()
151 appCallerEvent->uid_, appCallerEvent->pid_); in InnerHasCallAppTrace()
160 : pid_( in AppTraceContext()
[all...]
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
H A Dtraffic_dumper.cpp35 pid_ = parameter->GetOpts().netPid_; in PreExecute()
44 pid_ >= 0 ? GetApplicationUidBytes() : GetAllBytes(); in Execute()
88 currentPidInfo.pid_ = pid_; in GetApplicationUidBytes()
90 if (!DumpCommonUtils::GetProcessInfo(pid_, currentPidInfo)) { in GetApplicationUidBytes()
92 pid_, currentPidInfo.uid_); in GetApplicationUidBytes()
124 pid_, currentPidInfo.uid_); in GetApplicationUidBytes()
H A Dmemory_dumper.cpp34 pid_ = parameter->GetOpts().memPid_; in PreExecute()
58 if (pid_ >= 0) { in Execute()
61 DUMPER_HILOGI(MODULE_SERVICE, "get mem smaps end,pid:%{public}d", pid_); in Execute()
86 if (!pfn(pid_, dumpDatas_)) { in GetMemByPid()
89 DUMPER_HILOGE(MODULE_SERVICE, "MemoryDumper Execute failed, pid:%{public}d", pid_); in GetMemByPid()
126 if (!pfn(pid_, dumpDatas_, isShowSmapsInfo_)) { in GetMemSmapsByPid()
129 DUMPER_HILOGE(MODULE_SERVICE, "GetMemSmapsByPid failed, pid:%{public}d", pid_); in GetMemSmapsByPid()
H A Dipc_stat_dumper.cpp62 pid_ = parameter->GetOpts().ipcStatPid_; in PreExecute()
88 if (pid_ == sysProcessInfo.pid) { in CheckPidIsSa()
95 DUMPER_HILOGE(MODULE_SERVICE, "pid:%{public}d is not in systemProcessInfos!", pid_); in CheckPidIsSa()
120 if (pid_ == runningProcessInfo.pid_) { in CheckPidIsApp()
121 args.push_back(std::to_string(pid_)); in CheckPidIsApp()
127 DUMPER_HILOGE(MODULE_SERVICE, "pid:%{public}d is not in app runningProcessInfos!", pid_); in CheckPidIsApp()
156 const auto& iter = std::find(pidList.begin(), pidList.end(), pid_); in CheckPidIsDriver()
158 DUMPER_HILOGE(MODULE_SERVICE, "pid:%{public}d is not in hdf host runningProcessInfos!", pid_); in CheckPidIsDriver()
162 args.push_back(std::to_string(pid_)); in CheckPidIsDriver()
[all...]
/base/location/interfaces/inner_api/include/
H A Dapp_identity.h32 return pid_; in GetPid()
37 pid_ = pid; in SetPid()
92 pid_ = parcel.ReadInt32(); in ReadFromParcel()
102 parcel.WriteInt32(pid_) && in Marshalling()
119 pid_t pid_; member in OHOS::Location::AppIdentity
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_info.cpp119 string path = MEMORY_LEAK_PATH + "/memleak-native-" + processName_ + "-" + to_string(pid_) + "-sample.txt"; in GetSampleFilePath()
125 string path = MEMORY_LEAK_PATH + "/memleak-temp-" + processName_ + "-" + to_string(pid_) + "-" + in GetLogFilePath()
132 string path = MEMORY_LEAK_PATH + "/memleak-temp-" + processName_ + "-" + to_string(pid_) + "-rsMem.txt"; in GetRsMemPath()
138 string path = MEMORY_LEAK_PATH + "/memleak-temp-" + processName_ + "-" + to_string(pid_) + "-rsGpu.txt"; in GetRsGpuPath()
144 string path = MEMORY_LEAK_PATH + "/memleak-native-" + processName_ + "-" + to_string(pid_) + "-smaps.txt"; in GetSmapsPath()
/base/location/frameworks/location_common/common/source/
H A 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/msdp/device_status/intention/ipc/socket/src/
H A Dsocket_session.cpp34 : fd_(fd), uid_(uid), pid_(pid), tokenType_(tokenType), programName_(programName) in SocketSession()
77 FI_HILOGD("Send message to client (%{public}d, %{public}d)", fd_, pid_); in SendMsg()
82 FI_HILOGW("Continue for errno EAGAIN|EINTR|EWOULDBLOCK, errno:%{public}d, pid:%{public}d", errno, pid_); in SendMsg()
85 FI_HILOGE("Send return failed, error:%{public}d, fd:%{public}d, pid:%{public}d", errno, fd_, pid_); in SendMsg()
96 "pid:%{public}d", retryCount, SEND_RETRY_LIMIT, idx, bufSize, fd_, pid_); in SendMsg()
107 << ", pid = " << pid_ in ToString()
/base/hiviewdfx/hidumper/frameworks/native/include/common/
H A Ddumper_parameter.h56 pid_ = pid; in SetPid()
60 return pid_; in GetPid()
64 int pid_ {-1};
/base/hiviewdfx/hidumper/frameworks/native/src/common/
H A 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/sensors/sensor/utils/common/src/
H A Dactive_info.cpp28 :pid_(pid), sensorId_(sensorId), samplingPeriodNs_(samplingPeriodNs), maxReportDelayNs_(maxReportDelayNs) in ActiveInfo()
33 return pid_; in GetPid()
38 pid_ = pid; in SetPid()
73 if (!parcel.WriteInt32(pid_)) { in Marshalling()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dwatch_point.cpp23 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in WatchPoint()
30 pid_(builder.pid_), in WatchPoint()
46 : seq_(0), timestamp_(0), pid_(0), uid_(0), tid_(0), domain_(""), stringId_(""), msg_("") in Builder()
66 pid_ = pid; in InitPid()
154 return pid_; in GetPid()
/base/inputmethod/imf/services/include/
H A Dfreeze_manager.h28 explicit FreezeManager(pid_t pid) : pid_(pid) in FreezeManager()
43 pid_t pid_; member in OHOS::MiscServices::FreezeManager
/base/hiviewdfx/hidumper/services/native/src/
H A Draw_param.cpp34 : uid_(calllingUid), pid_(calllingPid), canceled_(false), finished_(false), reqId_(reqId), outfd_(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()
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Dcppcrash_reporter.cpp52 pid_ = process_->processInfo_.pid; in Format()
105 info.pid = pid_; in ReportToHiview()
113 DFXLOGI("Finish report fault to FaultLogger %{public}s(%{public}d,%{public}d)", cmdline_.c_str(), pid_, uid_); in ReportToHiview()
183 "PID", pid_, "PROCESS_NAME", cmdline_.c_str(), "MSG", KILL_REASON_CPP_CRASH); in ReportToAbilityManagerService()
185 " processName=%{public}s, msg=%{public}s", result, pid_, cmdline_.c_str(), KILL_REASON_CPP_CRASH); in ReportToAbilityManagerService()
/base/hiviewdfx/faultloggerd/test/utils/
H A Ddfx_test_util.h56 explicit TestScopedPidReaper(pid_t pid) : pid_(pid) {} in TestScopedPidReaper()
57 ~TestScopedPidReaper() { Kill(pid_); } in ~TestScopedPidReaper()
68 pid_t pid_; member in OHOS::HiviewDFX::TestScopedPidReaper
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/include/
H A Dunique_stack_table.h86 explicit UniqueStackTable(pid_t pid) : pid_(pid) in UniqueStackTable()
90 UniqueStackTable(pid_t pid, uint32_t size) : pid_(pid), tableSize_(size) in UniqueStackTable()
117 return pid_; in GetPid()
138 int32_t pid_ = 0; member in OHOS::HiviewDFX::UniqueStackTable
/base/notification/distributed_notification_service/services/ans/include/
H A Dreminder_timer_info.h41 pid_ = pid; in SetPid()
81 int32_t pid_ {-1};
/base/msdp/device_status/utils/ipc/include/
H A Dstream_session.h48 return pid_; in GetPid()
68 const int32_t pid_ { -1 };
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_entity.h31 : componentInfo_(component), tokenId_(token), scId_(scId), pid_(pid), uid_(uid) {}; in SecCompEntity()
54 int32_t pid_; member in OHOS::Security::SecurityComponent::SecCompEntity
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/
H A Dfaultlog_info.cpp40 return pid_; in GetProcessId()
80 pid_ = pid; in SetProcessId()

Completed in 10 milliseconds

12345