Home
last modified time | relevance | path

Searched refs:process_ (Results 1 - 10 of 10) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_stack_info_formatter.cpp68 if ((process_ == nullptr) || (request_ == nullptr)) { in GetStackInfo()
85 jsonInfo["pid"] = process_->processInfo_.pid; in GetNativeCrashInfo()
86 jsonInfo["uid"] = process_->processInfo_.uid; in GetNativeCrashInfo()
100 exception["message"] = process_->GetFatalMessage(); in GetNativeCrashInfo()
101 exception["thread_name"] = process_->keyThread_->threadInfo_.threadName; in GetNativeCrashInfo()
102 exception["tid"] = process_->keyThread_->threadInfo_.tid; in GetNativeCrashInfo()
104 if (process_->vmThread_ != nullptr) { in GetNativeCrashInfo()
105 FillFrames(process_->vmThread_, frames); in GetNativeCrashInfo()
107 FillFrames(process_->keyThread_, frames); in GetNativeCrashInfo()
113 auto otherThreads = process_ in GetNativeCrashInfo()
[all...]
H A Dprocess_dumper.cpp303 if (process_ == nullptr) { in Dump()
306 if (isCrash_ && process_->vmThread_ != nullptr) { in Dump()
307 process_->vmThread_->Detach(); in Dump()
309 if (process_->keyThread_ != nullptr) { in Dump()
310 process_->keyThread_->Detach(); in Dump()
322 DfxStackInfoFormatter formatter(process_, request); in Dump()
406 if (!DfxUnwindRemote::GetInstance().InitProcessAllThreadRegs(request, process_)) { in InitRegs()
487 if (process_ != nullptr) { in GetCrashObj()
488 process_->SetFatalMessage(process_ in GetCrashObj()
[all...]
H A Dcppcrash_reporter.cpp47 if (process_ == nullptr) { in Format()
51 cmdline_ = process_->processInfo_.processName; in Format()
52 pid_ = process_->processInfo_.pid; in Format()
53 uid_ = process_->processInfo_.uid; in Format()
54 reason_ = process_->reason; in Format()
55 auto msg = process_->GetFatalMessage(); in Format()
59 std::shared_ptr<DfxThread> thread = dumpMode_ == FUSION_MODE ? process_->keyThread_ : process_->vmThread_; in Format()
73 registers_ = GetRegsString(process_->regs_); in Format()
84 if (process_ in ReportToHiview()
[all...]
H A Ddfx_stack_info_formatter.h37 : process_(process), request_(request) {}; in DfxStackInfoFormatter()
53 std::shared_ptr<DfxProcess> process_ = nullptr; member in OHOS::HiviewDFX::DfxStackInfoFormatter
H A Dcppcrash_reporter.h32 : time_(time), dumpMode_(dumpMode), process_(process) in CppCrashReporter()
74 std::shared_ptr<DfxProcess> process_; member in OHOS::HiviewDFX::CppCrashReporter
H A Dprocess_dumper.h68 std::shared_ptr<DfxProcess> process_ = nullptr; member in OHOS::HiviewDFX::final
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Ddfx_processdump_test.cpp482 ins.process_ = nullptr; in HWTEST_F()
488 ins.process_ = DfxProcess::Create(request->pid, request->nsPid); in HWTEST_F()
493 ins.process_->keyThread_ = nullptr; in HWTEST_F()
497 ins.process_->keyThread_ = std::make_shared<DfxThread>(); in HWTEST_F()
504 ins.process_->keyThread_ = nullptr; in HWTEST_F()
510 ins.process_->keyThread_->threadInfo_.threadName = ""; in HWTEST_F()
568 ins.process_ = nullptr; in HWTEST_F()
574 ins.process_ = DfxProcess::Create(request->pid, request->nsPid); in HWTEST_F()
586 ins.process_->vmThread_ = nullptr; in HWTEST_F()
590 ins.process_ in HWTEST_F()
[all...]
/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dcooperate_in.cpp189 parent_.process_.StartCooperate(context, startEvent); in OnRelay()
190 FI_HILOGI("[relay cooperate] To \'%{public}s\'", Utility::Anonymize(parent_.process_.Peer()).c_str()); in OnRelay()
421 if (parent_.process_.IsPeer(notice.networkId)) { in OnRemoteStart()
480 if (!context.IsPeer(notice.networkId) && !parent_.process_.IsPeer(notice.networkId)) { in OnBoardOffline()
496 !parent_.process_.IsPeer(notice.networkId))) { in OnSwitchChanged()
510 if (!context.IsPeer(notice.networkId) && !parent_.process_.IsPeer(notice.networkId)) { in OnSoftbusSessionClosed()
540 Utility::Anonymize(parent_.process_.Peer()).c_str()); in OnNormal()
549 context.dsoftbus_.StartCooperate(parent_.process_.Peer(), notice); in OnNormal()
554 context.OnRelayCooperation(parent_.process_.Peer(), context.NormalizedCursorPosition()); in OnNormal()
559 std::string remoteNetworkId = parent_.process_ in OnProgress()
[all...]
/base/msdp/device_status/intention/cooperate/plugin/include/
H A Di_cooperate_state.h98 Process process_; member in OHOS::Msdp::DeviceStatus::Cooperate::ICooperateState
/base/msdp/device_status/test/unittest/intention/cooperate/src/
H A Dcooperate_plugin_test.cpp2226 std::string remoteNetworkId = stateIn.process_.Peer(); in HWTEST_F()
2227 bool isPeer = stateIn.process_.IsPeer(remoteNetworkId); in HWTEST_F()
2229 int32_t startDeviceId = stateIn.process_.StartDeviceId(); in HWTEST_F()
2234 stateIn.process_.StartCooperate(cooperateContext, startEvent); in HWTEST_F()
2238 stateIn.process_.RemoteStart(cooperateContext, dSoftbusStartCooperate); in HWTEST_F()
2242 stateIn.process_.RelayCooperate(cooperateContext, dSoftbusRelayCooperate); in HWTEST_F()

Completed in 9 milliseconds