Searched refs:AddReadEvent (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | IOEventLoop.h | 45 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback);
|
D | IOEventLoop_test.cpp | 33 ASSERT_NE(nullptr, loop.AddReadEvent(fd[0], [&]() { in TEST() 164 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST()
|
D | UnixSocket.cpp | 111 read_event_ = loop.AddReadEvent(fd_, [&]() { return ReadData(); }); in PrepareForIO()
|
D | IOEventLoop.cpp | 112 IOEventRef IOEventLoop::AddReadEvent(int fd, in AddReadEvent() function in IOEventLoop
|
D | event_fd.cpp | 256 ioevent_ref_ = loop.AddReadEvent(perf_event_fd_, callback); in StartPolling()
|
D | RecordReadThread.cpp | 237 if (!loop.AddReadEvent(read_data_fd_, data_callback)) { in RegisterDataCallback() 299 CHECK(loop.AddReadEvent(read_cmd_fd_, [&]() { return HandleCmd(loop); })); in RunReadThread()
|
D | cmd_stat.cpp | 484 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in Run()
|
D | cmd_record.cpp | 505 if (!loop->AddReadEvent(stop_signal_fd_, exit_loop_callback)) { in PrepareRecording() 517 if (!loop->AddReadEvent(0, [&]() { return ProcessControlCmd(loop); })) { in PrepareRecording()
|