Searched refs:AddSignalEvent (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | workload_test.cpp | 29 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()
|
D | IOEventLoop.h | 56 bool AddSignalEvent(int sig, const std::function<bool()>& callback);
|
D | IOEventLoop.cpp | 127 bool IOEventLoop::AddSignalEvent(int sig, const std::function<bool()>& callback) { in AddSignalEvent() function in simpleperf::IOEventLoop 133 if (!AddSignalEvent(sig, callback)) { in AddSignalEvents()
|
D | IOEventLoop_test.cpp | 107 ASSERT_TRUE(loop.AddSignalEvent(SIGINT, [&]() { in TEST()
|
D | cmd_monitor.cpp | 276 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback)) { in PrepareMonitoring()
|
D | environment.cpp | 646 if (!loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })) { in RunCmdInApp()
|
D | cmd_record.cpp | 599 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback)) { in PrepareRecording()
|