Searched refs:event_source (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/vr/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 296 for (const auto& event_source : buffer->GetEventSources()) { in AddBuffer() local 297 epoll_event event = {.events = event_source.event_mask | EPOLLET, in AddBuffer() 300 epoll_fd_.Control(EPOLL_CTL_ADD, event_source.event_fd, &event); in AddBuffer() 317 for (const auto& event_source : buffers_[slot]->GetEventSources()) { in RemoveBuffer() local 319 epoll_fd_.Control(EPOLL_CTL_DEL, event_source.event_fd, nullptr); in RemoveBuffer()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub-test.cpp | 123 for (const auto& event_source : event_sources) { in TEST_F() local 124 event = {.events = event_source.event_mask | EPOLLET, in TEST_F() 126 ASSERT_EQ(0, epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, event_source.event_fd, in TEST_F() 133 for (const auto& event_source : event_sources) { in TEST_F() local 134 event = {.events = event_source.event_mask | EPOLLET, in TEST_F() 136 ASSERT_EQ(0, epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, event_source.event_fd, in TEST_F()
|