Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dworkload_test.cpp30 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()
DIOEventLoop.h62 bool AddSignalEvent(int sig, const std::function<bool()>& callback,
DIOEventLoop.cpp122 bool IOEventLoop::AddSignalEvent(int sig, const std::function<bool()>& callback, in AddSignalEvent() function in simpleperf::IOEventLoop
130 if (!AddSignalEvent(sig, callback, priority)) { in AddSignalEvents()
DIOEventLoop_test.cpp110 ASSERT_TRUE(loop.AddSignalEvent(SIGINT, [&]() { in TEST()
Dcmd_monitor.cpp276 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback, IOEventHighPriority)) { in PrepareMonitoring()
Denvironment.cpp669 if (!loop.AddSignalEvent(SIGCHLD, [&]() { return loop.ExitLoop(); })) { in RunCmdInApp()
Dcmd_record.cpp699 if (!loop->AddSignalEvent(SIGHUP, exit_loop_callback, IOEventHighPriority)) { in PrepareRecording()