/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
D | ipc_helper.h | 40 Status<void> SendAll(SendInterface* sender, const BorrowedHandle& socket_fd, 42 Status<void> SendMsgAll(SendInterface* sender, const BorrowedHandle& socket_fd, 44 Status<void> RecvAll(RecvInterface* receiver, const BorrowedHandle& socket_fd, 47 const BorrowedHandle& socket_fd, msghdr* msg); 61 Status<void> Send(const BorrowedHandle& socket_fd); 62 Status<void> Send(const BorrowedHandle& socket_fd, const ucred* cred, 71 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override; 90 Status<void> Receive(const BorrowedHandle& socket_fd); 91 Status<void> Receive(const BorrowedHandle& socket_fd, ucred* cred); 163 inline Status<void> SendData(const BorrowedHandle& socket_fd, const T& data, [all …]
|
D | channel_event_set.h | 20 BorrowedHandle pollin_event_fd() const { return pollin_event_fd_.Borrow(); } in pollin_event_fd() 21 BorrowedHandle pollhup_event_fd() const { return pollhup_event_fd_.Borrow(); } in pollhup_event_fd() 51 BorrowedHandle event_fd() const { return epoll_fd_.Borrow(); } in event_fd() 53 BorrowedHandle pollin_event_fd() const { return pollin_event_fd_.Borrow(); } in pollin_event_fd() 54 BorrowedHandle pollhup_event_fd() const { return pollhup_event_fd_.Borrow(); } in pollhup_event_fd() 55 BorrowedHandle data_fd() const { return data_fd_.Borrow(); } in data_fd()
|
D | service_endpoint.h | 68 const BorrowedHandle& handle) override; 134 Status<void> ReceiveMessageForChannel(const BorrowedHandle& channel_fd, 140 Status<void> ReenableEpollEvent(const BorrowedHandle& channel_fd); 142 BorrowedHandle GetChannelSocketFd(int32_t channel_id); 143 Status<std::pair<BorrowedHandle, BorrowedHandle>> GetChannelEventFd( 145 int32_t GetChannelId(const BorrowedHandle& channel_fd);
|
D | client_channel.h | 70 const BorrowedHandle& handle) override;
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | client_channel.cpp | 46 FileReference PushFileHandle(BorrowedHandle handle) { in PushFileHandle() 59 ChannelInfo<BorrowedHandle> channel_info{ in PushChannelHandle() 69 RequestHeader<BorrowedHandle> request; 73 Status<void> ReadAndDiscardData(const BorrowedHandle& socket_fd, size_t size) { in ReadAndDiscardData() 89 Status<void> SendRequest(const BorrowedHandle& socket_fd, in SendRequest() 104 Status<void> ReceiveResponse(const BorrowedHandle& socket_fd, in ReceiveResponse() 166 android::pdx::uds::RequestHeader<BorrowedHandle> request; in SendImpulse() 175 return SendData(BorrowedHandle{channel_handle_.value()}, request); in SendImpulse() 194 auto status = SendRequest(BorrowedHandle{channel_handle_.value()}, state, in SendAndReceive() 197 status = ReceiveResponse(BorrowedHandle{channel_handle_.value()}, state, in SendAndReceive() [all …]
|
D | ipc_helper.cpp | 54 Status<void> SendAll(SendInterface* sender, const BorrowedHandle& socket_fd, in SendAll() 73 Status<void> SendMsgAll(SendInterface* sender, const BorrowedHandle& socket_fd, in SendMsgAll() 112 const BorrowedHandle& socket_fd, msghdr* msg) { in RecvMsgAll() 145 Status<void> RecvAll(RecvInterface* receiver, const BorrowedHandle& socket_fd, in RecvAll() 176 Status<void> SendPayload::Send(const BorrowedHandle& socket_fd) { in Send() 180 Status<void> SendPayload::Send(const BorrowedHandle& socket_fd, in Send() 252 const BorrowedHandle& handle) { in PushFileHandle() 279 Status<void> ReceivePayload::Receive(const BorrowedHandle& socket_fd) { in Receive() 283 Status<void> ReceivePayload::Receive(const BorrowedHandle& socket_fd, in Receive() 368 Status<void> SendData(const BorrowedHandle& socket_fd, const void* data, in SendData() [all …]
|
D | service_endpoint.cpp | 24 using android::pdx::BorrowedHandle; 61 Status<FileReference> PushFileHandle(BorrowedHandle handle) { in PushFileHandle() 74 ChannelInfo<BorrowedHandle> channel_info{ in PushChannelHandle() 84 Status<ChannelReference> PushChannelHandle(BorrowedHandle data_fd, in PushChannelHandle() 85 BorrowedHandle pollin_event_fd, in PushChannelHandle() 86 BorrowedHandle pollhup_event_fd) { in PushChannelHandle() 89 ChannelInfo<BorrowedHandle> channel_info{std::move(data_fd), in PushChannelHandle() 121 android::pdx::uds::ResponseHeader<BorrowedHandle> response; 237 BorrowedHandle channel_handle = local_socket.Borrow(); in AcceptConnection() 309 Status<void> Endpoint::ReenableEpollEvent(const BorrowedHandle& fd) { in ReenableEpollEvent() [all …]
|
D | remote_method_tests.cpp | 23 using android::pdx::BorrowedHandle; 909 EXPECT_TRUE((IsConvertible<LocalHandle, BorrowedHandle>::value)); in TEST() 915 TestTemplateType<BorrowedHandle>>::value)); in TEST() 918 EXPECT_FALSE((IsConvertible<TestTemplateType<BorrowedHandle>, in TEST() 927 EXPECT_TRUE(HasSerializableMembers<TestTemplateType<BorrowedHandle>>::value); in TEST() 934 TestTemplateType<BorrowedHandle>>>::value); in TEST() 942 EXPECT_TRUE(HasSerializableMembers<TestTemplateType<BorrowedHandle>>::value); in TEST()
|
D | client_channel_factory.cpp | 140 RequestHeader<BorrowedHandle> request; in Connect()
|
D | ipc_helper_tests.cpp | 10 using android::pdx::BorrowedHandle; 23 static const BorrowedHandle kSocket{kSocketFd};
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | consumer_channel.h | 14 using BorrowedHandle = pdx::BorrowedHandle; 36 pdx::Status<BufferDescription<BorrowedHandle>> OnGetBuffer(Message& message);
|
D | producer_channel.h | 27 using BorrowedHandle = pdx::BorrowedHandle; variable 54 BufferDescription<BorrowedHandle> GetBuffer(uint32_t client_state_mask); 107 pdx::Status<BufferDescription<BorrowedHandle>> OnGetBuffer(Message& message);
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | bufferhub_rpc.h | 153 using BorrowedNativeBufferHandle = NativeBufferHandle<pdx::BorrowedHandle>; 173 FenceHandle<pdx::BorrowedHandle> borrow() const { in borrow() 174 return FenceHandle<pdx::BorrowedHandle>(fence_.Borrow()); in borrow() 187 using BorrowedFence = FenceHandle<pdx::BorrowedHandle>;
|
/frameworks/native/services/vr/bufferhubd/ |
D | consumer_channel.cpp | 9 using android::pdx::BorrowedHandle; 98 Status<BufferDescription<BorrowedHandle>> ConsumerChannel::OnGetBuffer( in OnGetBuffer()
|
D | producer_channel.cpp | 16 using android::pdx::BorrowedHandle; 228 BufferDescription<BorrowedHandle> ProducerChannel::GetBuffer( in GetBuffer() 239 Status<BufferDescription<BorrowedHandle>> ProducerChannel::OnGetBuffer( in OnGetBuffer()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | mock_message_writer.h | 15 Status<FileReference>(const BorrowedHandle& handle));
|
D | message_writer.h | 15 const BorrowedHandle& handle) = 0;
|
D | mock_client_channel.h | 40 const BorrowedHandle& handle));
|
D | client_channel.h | 57 const BorrowedHandle& handle) = 0;
|
D | file_handle.h | 130 using BorrowedHandle = FileHandle<FileHandleMode::Borrowed>; variable
|
D | mock_service_endpoint.h | 48 const BorrowedHandle& handle));
|
D | service_endpoint.h | 115 Message* message, const BorrowedHandle& handle) = 0;
|
D | utility.h | 159 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override { 293 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override {
|
/frameworks/native/libs/vr/libpdx/ |
D | service_tests.cpp | 10 using android::pdx::BorrowedHandle; 438 BorrowedHandle handle{kFakeFd}; in TEST_F() 445 BorrowedHandle handle{-EACCES}; in TEST_F() 581 BorrowedHandle handle{kFakeFd}; in TEST_F() 583 PushFileHandle(message_.get(), Matcher<const BorrowedHandle&>( in TEST_F()
|
D | client_tests.cpp | 11 using android::pdx::BorrowedHandle; 524 PushFileHandle(kTransactionState, A<const BorrowedHandle&>())) in TEST_F() 526 EXPECT_EQ(2, transaction_.PushFileHandle(BorrowedHandle{-1}).get()); in TEST_F()
|