Searched refs:epoll_fd (Results 1 - 7 of 7) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_event_set.cpp74 LocalHandle epoll_fd; local
75 if (!SetupHandle(epoll_create1(EPOLL_CLOEXEC), &epoll_fd, "epoll")) {
82 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, data_fd.Get(), &event) < 0) {
91 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, pollin_event_fd.Get(), &event) <
101 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, pollhup_event_fd.Get(), &event) <
113 epoll_fd_ = std::move(epoll_fd);
/frameworks/native/libs/vr/libpdx/
H A Dservice_dispatcher.cpp78 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, service->endpoint()->epoll_fd(),
96 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, service->endpoint()->epoll_fd(),
133 service->endpoint()->epoll_fd());
165 service->endpoint()->epoll_fd());
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dmock_service_endpoint.h69 MOCK_CONST_METHOD0(epoll_fd, int());
H A Dservice_endpoint.h142 virtual int epoll_fd() const = 0;
/frameworks/native/libs/vr/libbufferhub/
H A Dbuffer_hub-test.cpp120 LocalHandle epoll_fd{epoll_create1(EPOLL_CLOEXEC)};
121 ASSERT_TRUE(epoll_fd.IsValid());
132 ASSERT_EQ(0, epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, event_source.event_fd,
142 ASSERT_EQ(0, epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, event_source.event_fd,
147 ASSERT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(), 0));
151 ASSERT_EQ(1, epoll_wait(epoll_fd.Get(), events.data(), events.size(),
160 EXPECT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(),
162 EXPECT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(),
164 EXPECT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(),
166 EXPECT_EQ(0, epoll_wait(epoll_fd
[all...]
/frameworks/native/libs/vr/libpdx_uds/private/uds/
H A Dservice_endpoint.h108 int epoll_fd() const override { return epoll_fd_.Get(); }
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp1233 int epoll_fd; local
1240 epoll_fd = epoll_create1(0);
1241 if (epoll_fd == -1) {
1246 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) {
1260 int numEvents = epoll_wait(epoll_fd, events, 1, 1000);

Completed in 64 milliseconds