Home
last modified time | relevance | path

Searched refs:event_fd (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp70 ret = epoll_fd_.Control(EPOLL_CTL_ADD, event_fd(), &event); in Initialize()
180 int32_t event_fd; in WaitForBuffers() local
182 std::tie(event_fd, index) = Unstuff(events[i].data.u64); in WaitForBuffers()
187 id(), num_events, i, event_fd, index); in WaitForBuffers()
191 i, event_fd, index); in WaitForBuffers()
194 HandleBufferEvent(static_cast<size_t>(index), event_fd, in WaitForBuffers()
202 event_fd, index); in WaitForBuffers()
210 Status<void> BufferHubQueue::HandleBufferEvent(size_t slot, int event_fd, in HandleBufferEvent() argument
229 id(), buffers_[slot]->id(), slot, event_fd, poll_events, events); in HandleBufferEvent()
237 slot, buffers_[slot]->event_fd(), buffers_[slot]->id()); in HandleBufferEvent()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dclient_channel.h23 virtual int event_fd() const = 0;
27 int event_fd; member
Dmock_client_channel.h13 MOCK_CONST_METHOD0(event_fd, int());
Dclient.h121 int event_fd() const;
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel.h25 int event_fd() const override { in event_fd() function
26 return channel_data_ ? channel_data_->event_fd().Get() : -1; in event_fd()
Dchannel_event_set.h51 BorrowedHandle event_fd() const { return epoll_fd_.Borrow(); } in event_fd() function
/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp392 using ClientBase<TestClient>::event_fd;
563 EXPECT_NE(client1->event_fd(), client2->event_fd()); in TEST_F()
571 EXPECT_NE(client1->event_fd(), client3->event_fd()); in TEST_F()
647 pollfd pfd{client->event_fd(), POLLIN, 0}; in TEST_F()
668 pollfd pfd{client->event_fd(), POLLIN, 0}; in TEST_F()
Dremote_method_tests.cpp326 int GetFd() const { return event_fd(); } in GetFd()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_manager_client.h27 using Client::event_fd;
/frameworks/native/libs/vr/libpdx/
Dclient.cpp114 int Client::event_fd() const { in event_fd() function in android::pdx::Client
115 return IsConnected() ? channel_->event_fd() : -1; in event_fd()
Dclient_tests.cpp76 using BASE::event_fd;
178 TEST_F(ClientChannelTest, event_fd) { in TEST_F() argument
179 EXPECT_CALL(*mock_channel(), event_fd()).WillOnce(Return(12)); in TEST_F()
180 EXPECT_EQ(12, client_->event_fd()); in TEST_F()
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue_internal.h73 int event_fd() const { return consumer_queue_->queue_fd(); } in event_fd() function
Ddvr_display_manager.cpp117 return client->client->event_fd(); in dvrDisplayManagerGetEventFd()
Ddvr_buffer_queue.cpp480 return read_queue->event_fd(); in dvrReadBufferQueueGetEventFd()
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp50 pollfd p = {buffer->event_fd(), POLLIN, 0}; in PollBufferEvent()
125 .data = {.fd = p->event_fd()}}; in TEST_F()
126 ASSERT_EQ(0, epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, event_source.event_fd, in TEST_F()
135 .data = {.fd = c->event_fd()}}; in TEST_F()
136 ASSERT_EQ(0, epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, event_source.event_fd, in TEST_F()
149 ASSERT_EQ(c->event_fd(), events[0].data.fd); in TEST_F()
Dproducer_buffer.cpp17 event_fd(), width, height, format, usage, user_metadata_size); in ProducerBuffer()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_base.h42 using Client::event_fd;
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp667 const pdx::LocalHandle& event_fd, int requested_events, int timeout_ms) { in PostThreadPollInterruptible() argument
670 .fd = event_fd.Get(), in PostThreadPollInterruptible()
1254 LocalHandle& event_fd = display_info->driver_vsync_event_fd; in GetVsyncTime() local
1255 if (!event_fd) { in GetVsyncTime()
1270 int ret = lseek(event_fd.Get(), 0, SEEK_SET); in GetVsyncTime()
1281 ret = read(event_fd.Get(), data.data(), data.size()); in GetVsyncTime()
Dhardware_composer.h444 int PostThreadPollInterruptible(const pdx::LocalHandle& event_fd,
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp129 static int waitForDataOrSignal(int fd, int event_fd) { in waitForDataOrSignal() argument
130 struct pollfd pfds[2] = {{fd, POLLIN, 0}, {event_fd, POLLIN, 0}}; in waitForDataOrSignal()
138 return event_fd; in waitForDataOrSignal()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_buffer_queue-test.cpp374 int event_fd = api_.ReadBufferQueueGetEventFd(read_queue); in TEST_F() local
375 ASSERT_GT(event_fd, 0); in TEST_F()
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h168 pdx::Status<void> HandleBufferEvent(size_t slot, int event_fd,