Searched refs:AddSignalEvent (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | workload_test.cpp | 30 ASSERT_TRUE(loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })); in TEST() 48 ASSERT_TRUE(loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })); in run_signaled_workload() 68 ASSERT_TRUE(loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })); in run_exit_nonzero_workload()
|
D | IOEventLoop.h | 62 bool AddSignalEvent(int sig, const std::function<bool()>& callback,
|
D | IOEventLoop.cpp | 122 bool IOEventLoop::AddSignalEvent(int sig, const std::function<bool()>& callback, in AddSignalEvent() function in simpleperf::IOEventLoop 130 if (!AddSignalEvent(sig, callback, priority)) { in AddSignalEvents()
|
D | IOEventLoop_test.cpp | 110 ASSERT_TRUE(loop.AddSignalEvent(SIGINT, [&]() { in TEST()
|
D | cmd_monitor.cpp | 276 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback, IOEventHighPriority)) { in PrepareMonitoring()
|
D | environment.cpp | 669 if (!loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })) { in RunCmdInApp()
|
D | cmd_record.cpp | 699 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback, IOEventHighPriority)) { in PrepareRecording()
|