Home
last modified time | relevance | path

Searched refs:ShellCatcher (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Devent_log_task.cpp291 auto capture = std::make_shared<ShellCatcher>(); in CpuUsageCapture()
298 auto capture = std::make_shared<ShellCatcher>(); in WMSUsageCapture()
305 auto capture = std::make_shared<ShellCatcher>(); in AMSUsageCapture()
312 auto capture = std::make_shared<ShellCatcher>(); in PMSUsageCapture()
319 auto capture = std::make_shared<ShellCatcher>(); in DPMSUsageCapture()
326 auto capture = std::make_shared<ShellCatcher>(); in RSUsageCapture()
333 auto capture = std::make_shared<ShellCatcher>(); in MMIUsageCapture()
349 ShellCatcher::CATCHER_EEC, pid_); in EECStateCapture()
357 ShellCatcher::CATCHER_GEC, pid_); in GECStateCapture()
424 ShellCatcher::CATCHER_SCBSESSION, pid_); in SCBSessionCapture()
[all …]
H A Dshell_catcher.cpp28 ShellCatcher::ShellCatcher() : EventLogCatcher() in ShellCatcher() function in OHOS::HiviewDFX::ShellCatcher
42 void ShellCatcher::SetEvent(std::shared_ptr<SysEvent> event) in SetEvent()
48 int ShellCatcher::DoOtherChildProcesscatcher(int writeFd) in DoOtherChildProcesscatcher()
65 int ShellCatcher::DoChildProcesscatcher(int writeFd) in DoChildProcesscatcher()
101 int ShellCatcher::CaDoInChildProcesscatcher(int writeFd) in CaDoInChildProcesscatcher()
152 void ShellCatcher::DoChildProcess(int writeFd) in DoChildProcess()
200 std::string ShellCatcher::GetFocusWindowId() in GetFocusWindowId()
208 void ShellCatcher::ParseFocusWindowId() in ParseFocusWindowId()
235 bool ShellCatcher::ReadShellToFile(int writeFd, const std::string& cmd) in ReadShellToFile()
253 int ShellCatcher::Catch(int fd, int jsonFd) in Catch()
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
H A Devent_logger_catcher_test.cpp571 auto shellCatcher = std::make_shared<ShellCatcher>();
574 bool res = shellCatcher->Initialize("", ShellCatcher::CATCHER_WMS, pid);
586 shellCatcher->Initialize("hidumper --cpuusage", ShellCatcher::CATCHER_CPU, pid);
595 shellCatcher->Initialize("hidumper -s RenderService -a allInfo", ShellCatcher::CATCHER_RS, pid);
598 shellCatcher->Initialize("hilog -x", ShellCatcher::CATCHER_HILOG, 0);
601 shellCatcher->Initialize("hilog -z", ShellCatcher::CATCHER_LIGHT_HILOG, 0);
604 shellCatcher->Initialize("snapshot_display -f", ShellCatcher::CATCHER_SNAPSHOT, 0);
623 shellCatcher->Initialize("hilog -T InputKeyFlow -z 1000", ShellCatcher::CATCHER_INPUT_HILOG, 0);
625 ShellCatcher::CATCHER_INPUT_EVENT_HILOG, 0);
661 auto shellCatcher = std::make_shared<ShellCatcher>();
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/include/
H A Dshell_catcher.h26 class ShellCatcher : public EventLogCatcher {
28 explicit ShellCatcher();
29 ~ShellCatcher() override {}; in ~ShellCatcher()