Home
last modified time | relevance | path

Searched refs:AddSignalEvent (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Dworkload_test.cpp29 ASSERT_TRUE(loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })); in TEST()
46 ASSERT_TRUE(loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })); in run_signaled_workload()
65 ASSERT_TRUE(loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })); in run_exit_nonzero_workload()
DIOEventLoop.h56 bool AddSignalEvent(int sig, const std::function<bool()>& callback);
DIOEventLoop.cpp127 bool IOEventLoop::AddSignalEvent(int sig, const std::function<bool()>& callback) { in AddSignalEvent() function in simpleperf::IOEventLoop
133 if (!AddSignalEvent(sig, callback)) { in AddSignalEvents()
DIOEventLoop_test.cpp107 ASSERT_TRUE(loop.AddSignalEvent(SIGINT, [&]() { in TEST()
Dcmd_monitor.cpp276 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback)) { in PrepareMonitoring()
Denvironment.cpp646 if (!loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })) { in RunCmdInApp()
Dcmd_record.cpp599 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback)) { in PrepareRecording()