Home
last modified time | relevance | path

Searched refs:onReadable (Results 1 – 3 of 3) sorted by relevance

/developtools/profiler/device/base/src/
Depoll_event_poller.cpp44 const OnReadableCallback& onReadable, in AddFileDescriptor() argument
50 ctx->onReadable = onReadable; in AddFileDescriptor()
100 if (ctx->onReadable) { in UpdateEvent()
143 if (ctx.onReadable) { in HandleEvent()
144 ctx.onReadable(); in HandleEvent()
184 eventFdCtx->onReadable = std::bind(&EpollEventPoller::OnNotify, this); in Init()
/developtools/profiler/device/base/test/unittest/
Depoll_event_poller_test.cpp161 auto onReadable = [&readValue, &eventFd]() { in __anon0fa63c4b0302() variable
165 EXPECT_TRUE(eventPoller->AddFileDescriptor(eventFd, onReadable));
191 auto onReadable = [&readValue, &notifier]() { in __anon0fa63c4b0402() variable
195 EXPECT_TRUE(eventPoller->AddFileDescriptor(notifier->GetFd(), onReadable));
/developtools/profiler/device/base/include/
Depoll_event_poller.h36 …bool AddFileDescriptor(int fd, const OnReadableCallback& onReadable, const OnWritableCallback& onW…
54 OnReadableCallback onReadable; member