Home
last modified time | relevance | path

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

12

/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel.h21 LocalChannelHandle channel_handle);
43 LocalChannelHandle& GetChannelHandle() override { return channel_handle_; } in GetChannelHandle()
59 Status<LocalChannelHandle> SendWithChannelHandle(
69 const LocalChannelHandle& handle) override;
75 LocalChannelHandle* handle) const override;
78 explicit ClientChannel(LocalChannelHandle channel_handle);
84 LocalChannelHandle channel_handle_;
Dservice_endpoint.h56 Message* message, const LocalChannelHandle& handle) override;
72 Message* message, const LocalChannelHandle& handle) override;
78 LocalChannelHandle GetChannelHandle(Message* message,
Dchannel_manager.h19 LocalChannelHandle CreateHandle(LocalHandle data_fd,
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_client.h22 using LocalChannelHandle = pdx::LocalChannelHandle; variable
28 Status<LocalChannelHandle> CreateConsumer();
119 explicit BufferHubBuffer(LocalChannelHandle channel);
178 static std::unique_ptr<BufferProducer> Import(LocalChannelHandle channel);
180 Status<LocalChannelHandle> status);
283 explicit BufferProducer(LocalChannelHandle channel);
300 static std::unique_ptr<BufferConsumer> Import(LocalChannelHandle channel);
302 Status<LocalChannelHandle> status);
361 explicit BufferConsumer(LocalChannelHandle channel);
Dbufferhub_rpc.h389 using LocalChannelHandle = pdx::LocalChannelHandle; member
405 PDX_REMOTE_METHOD(NewConsumer, kOpNewConsumer, LocalChannelHandle(Void));
423 LocalChannelHandle(bool silent_queue));
427 std::vector<std::pair<LocalChannelHandle, size_t>>(
433 std::vector<std::pair<LocalChannelHandle, size_t>>(Void));
/frameworks/native/libs/vr/libpdx/private/pdx/
Dmock_client_channel.h16 MOCK_METHOD0(GetChannelHandle, LocalChannelHandle&());
31 Status<LocalChannelHandle>(void* transaction_state, int opcode,
42 const LocalChannelHandle& handle));
51 LocalChannelHandle* handle));
Dclient_channel.h34 virtual LocalChannelHandle& GetChannelHandle() = 0;
48 virtual Status<LocalChannelHandle> SendWithChannelHandle(
57 void* transaction_state, const LocalChannelHandle& handle) = 0;
63 LocalChannelHandle* handle) const = 0;
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,
Dclient.h51 LocalChannelHandle& GetChannelHandle();
260 const LocalChannelHandle& handle) override;
269 LocalChannelHandle* handle) override;
282 void SendTransaction(int opcode, Status<LocalChannelHandle>* ret,
Dmock_message_reader.h14 bool(ChannelReference ref, LocalChannelHandle* handle));
Dutility.h168 const LocalChannelHandle& handle) override {
191 LocalChannelHandle* handle) override {
192 *handle = LocalChannelHandle{nullptr, ref};
308 const LocalChannelHandle& handle) override {
Dmessage_reader.h16 LocalChannelHandle* handle) = 0;
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp30 bool GetLocalChannelHandle(int index, LocalChannelHandle* handle) { in GetLocalChannelHandle()
32 *handle = LocalChannelHandle{nullptr, index}; in GetLocalChannelHandle()
139 ClientChannel::ClientChannel(LocalChannelHandle channel_handle) in ClientChannel()
145 LocalChannelHandle channel_handle) { in Create()
238 Status<LocalChannelHandle> ClientChannel::SendWithChannelHandle( in SendWithChannelHandle()
244 Status<LocalChannelHandle> status; in SendWithChannelHandle()
249 LocalChannelHandle handle; in SendWithChannelHandle()
271 void* transaction_state, const LocalChannelHandle& handle) { in PushChannelHandle()
290 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/libdisplay/include/private/dvr/
Ddisplay_protocol.h214 using LocalChannelHandle = pdx::LocalChannelHandle; member
234 LocalChannelHandle(const ProducerQueueConfig& producer_config));
250 using LocalChannelHandle = pdx::LocalChannelHandle; member
257 LocalChannelHandle(int surface_id, int queue_id));
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_client.cpp15 using android::pdx::LocalChannelHandle;
22 BufferHubBuffer::BufferHubBuffer(LocalChannelHandle channel_handle) in BufferHubBuffer()
37 Status<LocalChannelHandle> BufferHubBuffer::CreateConsumer() { in CreateConsumer()
38 Status<LocalChannelHandle> status = in CreateConsumer()
225 BufferConsumer::BufferConsumer(LocalChannelHandle channel) in BufferConsumer()
236 LocalChannelHandle channel) { in Import()
243 Status<LocalChannelHandle> status) { in Import()
245 : LocalChannelHandle{nullptr, -status.error()}); in Import()
581 BufferProducer::BufferProducer(LocalChannelHandle channel) in BufferProducer()
728 LocalChannelHandle channel) { in Import()
[all …]
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h54 pdx::Status<pdx::LocalChannelHandle> CreateConsumerQueueHandle(
115 BufferHubQueue(pdx::LocalChannelHandle channel);
284 static std::unique_ptr<ProducerQueue> Import(pdx::LocalChannelHandle handle) { in Import()
346 explicit ProducerQueue(pdx::LocalChannelHandle handle);
366 static std::unique_ptr<ConsumerQueue> Import(pdx::LocalChannelHandle handle) { in Import()
401 ConsumerQueue(pdx::LocalChannelHandle handle);
/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/
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()
Dclient.cpp118 LocalChannelHandle& Client::GetChannelHandle() { in GetChannelHandle()
205 void Transaction::SendTransaction(int opcode, Status<LocalChannelHandle>* ret, in SendTransaction()
244 const LocalChannelHandle& handle) { in PushChannelHandle()
268 LocalChannelHandle* handle) { in GetChannelHandle()
Dservice_tests.cpp15 using android::pdx::LocalChannelHandle;
464 LocalChannelHandle handle{nullptr, 12345}; in TEST_F()
466 message_.get(), A<const LocalChannelHandle&>())) in TEST_F()
605 LocalChannelHandle handle{nullptr, kValue}; in TEST_F()
607 Matcher<const LocalChannelHandle&>( in TEST_F()
676 return LocalChannelHandle{nullptr, ref}; in TEST_F()
680 LocalChannelHandle handle; in TEST_F()
688 LocalChannelHandle handle; in TEST_F()
698 return LocalChannelHandle{nullptr, -EIO}; in TEST_F()
700 LocalChannelHandle handle; in TEST_F()
/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(
Ddisplay_manager_service.cpp14 using android::pdx::LocalChannelHandle;
106 pdx::Status<pdx::LocalChannelHandle> DisplayManagerService::OnGetSurfaceQueue( in OnGetSurfaceQueue()
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp25 using android::pdx::LocalChannelHandle;
61 BufferHubQueue::BufferHubQueue(LocalChannelHandle channel_handle) in BufferHubQueue()
126 Status<LocalChannelHandle> BufferHubQueue::CreateConsumerQueueHandle( in CreateConsumerQueueHandle()
407 ProducerQueue::ProducerQueue(LocalChannelHandle handle) in ProducerQueue()
443 Status<std::vector<std::pair<LocalChannelHandle, size_t>>> status = in AllocateBuffers()
558 ConsumerQueue::ConsumerQueue(LocalChannelHandle handle) in ConsumerQueue()

12