Home
last modified time | relevance | path

Searched refs:LocalChannelHandle (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel.h21 LocalChannelHandle channel_handle);
43 LocalChannelHandle& GetChannelHandle() override { return channel_handle_; } in GetChannelHandle()
44 const LocalChannelHandle& GetChannelHandle() const override { in GetChannelHandle()
62 Status<LocalChannelHandle> SendWithChannelHandle(
72 const LocalChannelHandle& handle) override;
78 LocalChannelHandle* handle) const override;
83 explicit ClientChannel(LocalChannelHandle channel_handle);
89 LocalChannelHandle channel_handle_;
Dservice_endpoint.h56 Message* message, const LocalChannelHandle& handle) override;
72 Message* message, const LocalChannelHandle& handle) override;
78 LocalChannelHandle GetChannelHandle(Message* message,
/frameworks/native/libs/vr/libpdx/private/pdx/
Dmock_client_channel.h16 MOCK_METHOD0(GetChannelHandle, LocalChannelHandle&());
17 MOCK_CONST_METHOD0(GetChannelHandle, const LocalChannelHandle&());
32 Status<LocalChannelHandle>(void* transaction_state, int opcode,
43 const LocalChannelHandle& handle));
52 LocalChannelHandle* handle));
Dclient_channel.h35 virtual LocalChannelHandle& GetChannelHandle() = 0;
36 virtual const LocalChannelHandle& GetChannelHandle() const = 0;
50 virtual Status<LocalChannelHandle> SendWithChannelHandle(
59 void* transaction_state, const LocalChannelHandle& handle) = 0;
65 LocalChannelHandle* handle) const = 0;
Dclient.h51 LocalChannelHandle& GetChannelHandle();
52 const LocalChannelHandle& GetChannelHandle() const;
261 const LocalChannelHandle& handle) override;
270 LocalChannelHandle* handle) override;
283 void SendTransaction(int opcode, Status<LocalChannelHandle>* ret,
Dmock_service_endpoint.h30 const LocalChannelHandle& handle));
54 const LocalChannelHandle& handle));
64 LocalChannelHandle(Message* message,
Dservice_endpoint.h92 Message* message, const LocalChannelHandle& handle) = 0;
119 Message* message, const LocalChannelHandle& handle) = 0;
129 virtual LocalChannelHandle GetChannelHandle(Message* message,
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dproducer_buffer.h23 static std::unique_ptr<ProducerBuffer> Import(LocalChannelHandle channel);
25 Status<LocalChannelHandle> status);
74 Status<LocalChannelHandle> Detach();
91 explicit ProducerBuffer(LocalChannelHandle channel);
Dconsumer_buffer.h18 static std::unique_ptr<ConsumerBuffer> Import(LocalChannelHandle channel);
20 Status<LocalChannelHandle> status);
62 explicit ConsumerBuffer(LocalChannelHandle channel);
Dbuffer_hub_base.h16 using LocalChannelHandle = pdx::LocalChannelHandle; variable
22 Status<LocalChannelHandle> CreateConsumer();
104 explicit BufferHubBase(LocalChannelHandle channel);
Dbufferhub_rpc.h327 using LocalChannelHandle = pdx::LocalChannelHandle; member
337 PDX_REMOTE_METHOD(NewConsumer, kOpNewConsumer, LocalChannelHandle(Void));
352 LocalChannelHandle(Void));
359 LocalChannelHandle(bool silent_queue));
363 std::vector<std::pair<LocalChannelHandle, size_t>>(
371 std::vector<std::pair<LocalChannelHandle, size_t>>(Void));
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp31 bool GetLocalChannelHandle(int index, LocalChannelHandle* handle) { in GetLocalChannelHandle()
33 *handle = LocalChannelHandle{nullptr, index}; in GetLocalChannelHandle()
140 ClientChannel::ClientChannel(LocalChannelHandle channel_handle) in ClientChannel()
146 LocalChannelHandle channel_handle) { in Create()
239 Status<LocalChannelHandle> ClientChannel::SendWithChannelHandle( in SendWithChannelHandle()
245 Status<LocalChannelHandle> status; in SendWithChannelHandle()
250 LocalChannelHandle handle; in SendWithChannelHandle()
272 void* transaction_state, const LocalChannelHandle& handle) { in PushChannelHandle()
291 LocalChannelHandle* handle) const { in GetChannelHandle()
Dchannel_manager.cpp24 LocalChannelHandle ChannelManager::CreateHandle(LocalHandle data_fd, in CreateHandle()
34 return LocalChannelHandle(this, handle); in CreateHandle()
40 return LocalChannelHandle(nullptr, -1); in CreateHandle()
/frameworks/native/libs/vr/libbufferhub/
Dconsumer_buffer.cpp3 using android::pdx::LocalChannelHandle;
10 ConsumerBuffer::ConsumerBuffer(LocalChannelHandle channel) in ConsumerBuffer()
21 LocalChannelHandle channel) { in Import()
28 Status<LocalChannelHandle> status) { in Import()
30 : LocalChannelHandle{nullptr, -status.error()}); in Import()
Dproducer_buffer.cpp3 using android::pdx::LocalChannelHandle;
66 ProducerBuffer::ProducerBuffer(LocalChannelHandle channel) in ProducerBuffer()
275 LocalChannelHandle channel) { in Import()
281 Status<LocalChannelHandle> status) { in Import()
283 : LocalChannelHandle{nullptr, -status.error()}); in Import()
286 Status<LocalChannelHandle> ProducerBuffer::Detach() { in Detach()
Dbuffer_hub_base.cpp8 using android::pdx::LocalChannelHandle;
17 BufferHubBase::BufferHubBase(LocalChannelHandle channel_handle) in BufferHubBase()
36 Status<LocalChannelHandle> BufferHubBase::CreateConsumer() { in CreateConsumer()
37 Status<LocalChannelHandle> status = in CreateConsumer()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h216 using LocalChannelHandle = pdx::LocalChannelHandle; member
236 LocalChannelHandle(const ProducerQueueConfig& producer_config));
252 using LocalChannelHandle = pdx::LocalChannelHandle; member
259 LocalChannelHandle(int surface_id, int queue_id));
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h67 pdx::Status<pdx::LocalChannelHandle> CreateConsumerQueueHandle(
134 explicit BufferHubQueue(pdx::LocalChannelHandle channel);
306 static std::unique_ptr<ProducerQueue> Import(pdx::LocalChannelHandle handle) { in Import()
399 explicit ProducerQueue(pdx::LocalChannelHandle handle);
429 static std::unique_ptr<ConsumerQueue> Import(pdx::LocalChannelHandle handle);
461 explicit ConsumerQueue(pdx::LocalChannelHandle handle);
/frameworks/native/libs/vr/libpdx/
Dclient.cpp118 LocalChannelHandle& Client::GetChannelHandle() { in GetChannelHandle()
122 const LocalChannelHandle& Client::GetChannelHandle() const { in GetChannelHandle()
209 void Transaction::SendTransaction(int opcode, Status<LocalChannelHandle>* ret, in SendTransaction()
248 const LocalChannelHandle& handle) { in PushChannelHandle()
272 LocalChannelHandle* handle) { in GetChannelHandle()
Dclient_tests.cpp16 using android::pdx::LocalChannelHandle;
54 PDX_REMOTE_METHOD(PushChannel, kOpPushChannel, LocalChannelHandle(Void));
278 .WillOnce(Return(ByMove(LocalChannelHandle{nullptr, kHandleValue}))); in TEST_F()
280 Status<LocalChannelHandle> status = in TEST_F()
296 Status<LocalChannelHandle> status = in TEST_F()
430 .WillOnce(Return(ByMove(LocalChannelHandle{nullptr, 1}))); in TEST_F()
431 EXPECT_TRUE(transaction_.Send<LocalChannelHandle>(3)); in TEST_F()
532 PushChannelHandle(kTransactionState, A<const LocalChannelHandle&>())) in TEST_F()
535 11, transaction_.PushChannelHandle(LocalChannelHandle{nullptr, 1}).get()); in TEST_F()
564 LocalChannelHandle channel_handle; in TEST_F()
Dservice_tests.cpp15 using android::pdx::LocalChannelHandle;
466 LocalChannelHandle handle{nullptr, 12345}; in TEST_F()
468 message_.get(), A<const LocalChannelHandle&>())) in TEST_F()
607 LocalChannelHandle handle{nullptr, kValue}; in TEST_F()
609 Matcher<const LocalChannelHandle&>( in TEST_F()
678 return LocalChannelHandle{nullptr, ref}; in TEST_F()
682 LocalChannelHandle handle; in TEST_F()
690 LocalChannelHandle handle; in TEST_F()
700 return LocalChannelHandle{nullptr, -EIO}; in TEST_F()
702 LocalChannelHandle handle; in TEST_F()
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_parcelable.cpp15 pdx::LocalChannelHandle BufferHubQueueParcelable<Magic>::TakeChannelHandle() { in TakeChannelHandle()
23 pdx::LocalChannelHandle handle = channel_parcelable_->TakeChannelHandle(); in TakeChannelHandle()
/frameworks/native/libs/vr/libvrsensor/
Dpose_client.cpp19 using android::pdx::LocalChannelHandle;
147 Status<LocalChannelHandle> status = trans.Send<LocalChannelHandle>( in GetTangoReaderHandle()
217 Status<LocalChannelHandle> status = trans.Send<LocalChannelHandle>( in GetControllerRingBuffer()
/frameworks/native/libs/vr/libpdx/fuzz/
Dhelpers.h179 const LocalChannelHandle& handle) { in MessageReplyChannelHandle()
243 const LocalChannelHandle& handle) { in PushChannelHandle()
271 LocalChannelHandle GetChannelHandle(Message* message, in GetChannelHandle()
275 return LocalChannelHandle(); in GetChannelHandle()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_surface.h67 virtual pdx::Status<pdx::LocalChannelHandle> OnCreateQueue(
129 pdx::Status<pdx::LocalChannelHandle> OnCreateQueue(
156 pdx::Status<pdx::LocalChannelHandle> OnCreateQueue(

123