Home
last modified time | relevance | path

Searched refs:monitorInfo (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_detector.cpp134 grayList_.insert(make_pair(pid, monitorInfo)); in UpdateUserMonitorInfo()
305 int32_t pid = monitorInfo->GetPid(); in AddMonitorToList()
307 monitorInfo->RecordLeakedTime(); in AddMonitorToList()
310 monitoredPidsList_.insert(make_pair(pid, monitorInfo->GetLeakedTime())); in AddMonitorToList()
311 monitoredPidsInfo_.insert(make_pair(pid, monitorInfo)); in AddMonitorToList()
339 OnChangeState(monitorInfo, stateType); in ExeNextStateProcess()
340 ErrCode ret = GetStateObj(stateType)->StateProcess(monitorInfo, *this); in ExeNextStateProcess()
362 if (monitorInfo->GetState() == stateType) { in OnChangeState()
368 monitorInfo->SetState(stateType); in OnChangeState()
408 shared_ptr<FaultInfoBase> monitorInfo = make_shared<NativeLeakInfo>(); in ProcessUserEvent() local
[all …]
H A Dnative_leak_state.h40 …ErrCode ChangeNextState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorOb…
41 …ErrCode StateProcess(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorObj) …
49 …ErrCode ChangeNextState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorOb…
50 …ErrCode StateProcess(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorObj) …
63 …ErrCode ChangeNextState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorOb…
64 …ErrCode StateProcess(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorObj) …
94 …ErrCode ChangeNextState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorOb…
95 …ErrCode StateProcess(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorObj) …
98 void PostEvent(std::shared_ptr<FaultInfoBase> &monitorInfo);
104 …ErrCode ChangeNextState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detectorOb…
[all …]
H A Dnative_leak_state.cpp104 auto userMonitorInfo = static_pointer_cast<NativeLeakInfo>(monitorInfo); in StateProcess()
171 auto userMonitorInfo = static_pointer_cast<NativeLeakInfo>(monitorInfo); in StateProcess()
266 auto userMonitorInfo = static_pointer_cast<NativeLeakInfo>(monitorInfo); in StateProcess()
272 if (ChangeNextState(monitorInfo, detectorObj)) { in StateProcess()
596 auto userMonitorInfo = static_pointer_cast<NativeLeakInfo>(monitorInfo); in ChangeNextState()
598 int ret = detectorObj.ExeNextStateProcess(monitorInfo, nextState); in ChangeNextState()
601 FaultStateName[monitorInfo->GetState()].c_str(), ret); in ChangeNextState()
610 PostEvent(monitorInfo); in StateProcess()
612 if (ChangeNextState(monitorInfo, detectorObj)) { in StateProcess()
653 int ret = detectorObj.ExeNextStateProcess(monitorInfo, nextState); in ChangeNextState()
[all …]
H A Dnative_leak_detector.h39 …void OnChangeState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultStateType stateType) override;
40 …ErrCode ExeNextStateProcess(std::shared_ptr<FaultInfoBase> monitorInfo, FaultStateType stateType) …
53 bool JudgeNativeLeak(std::shared_ptr<FaultInfoBase> &monitorInfo);
54 void AddMonitorToList(std::shared_ptr<FaultInfoBase> &monitorInfo);
H A Dnative_leak_util.cpp49 void NativeLeakUtil::RemoveInvalidFile(shared_ptr<FaultInfoBase> monitorInfo) in RemoveInvalidFile() argument
52 auto userMonitorInfo = static_pointer_cast<NativeLeakInfo>(monitorInfo); in RemoveInvalidFile()
H A Dnative_leak_util.h69 static void RemoveInvalidFile(std::shared_ptr<FaultInfoBase> monitorInfo);
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/base/
H A Dfault_state_base.h38 …virtual ErrCode ChangeNextState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &de…
39 …virtual ErrCode StateProcess(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultDetectorBase &detec…
H A Dfault_detector_base.h36 …virtual void OnChangeState(std::shared_ptr<FaultInfoBase> &monitorInfo, FaultStateType stateType) …
37 …virtual ErrCode ExeNextStateProcess(std::shared_ptr<FaultInfoBase> monitorInfo, FaultStateType sta…
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp193 static bool MatchCombinationKeys(sptr<KeyEventMonitorInfo> monitorInfo, std::shared_ptr<KeyEvent> k… in MatchCombinationKeys() argument
196 CHKPF(monitorInfo); in MatchCombinationKeys()
198 auto keyOption = monitorInfo->keyOption; in MatchCombinationKeys()
257 auto monitorInfo = *infoIter; in SubKeyEventCallback() local
258 if (MatchCombinationKeys(monitorInfo, keyEvent)) { in SubKeyEventCallback()
259 EmitAsyncCallbackWork(monitorInfo); in SubKeyEventCallback()
H A Djs_register_util.cpp150 sptr<KeyEventMonitorInfo> monitorInfo = *iter; in DelEventCallbackRef() local
153 subscribeId = monitorInfo->subscribeId; in DelEventCallbackRef()
161 sptr<KeyEventMonitorInfo> monitorInfo = *iter; in DelEventCallbackRef() local
164 subscribeId = monitorInfo->subscribeId; in DelEventCallbackRef()
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor.cpp96 void CleanData(MonitorInfo** monitorInfo, uv_work_t** work) in CleanData() argument
98 if (*monitorInfo != nullptr) { in CleanData()
99 delete *monitorInfo; in CleanData()
100 *monitorInfo = nullptr; in CleanData()
1156 MonitorInfo *monitorInfo = new (std::nothrow) MonitorInfo(); in OnPointerEvent() local
1157 if (monitorInfo == nullptr) { in OnPointerEvent()
1163 monitorInfo->monitorId = monitorId_; in OnPointerEvent()
1164 monitorInfo->fingers = fingers_; in OnPointerEvent()
1165 work->data = monitorInfo; in OnPointerEvent()
1170 CleanData(&monitorInfo, &work); in OnPointerEvent()
[all …]