Home
last modified time | relevance | path

Searched refs:GetChannel (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/vr/libpdx/
Dclient.cpp131 if (state_allocated_ && client_.GetChannel()) in ~Transaction()
132 client_.GetChannel()->FreeTransactionState(state_); in ~Transaction()
136 if (!state_allocated_ && client_.GetChannel()) { in EnsureStateAllocated()
137 state_ = client_.GetChannel()->AllocateTransactionState(); in EnsureStateAllocated()
156 auto status = client_.GetChannel()->SendWithInt( in SendTransaction()
182 *ret = client_.GetChannel()->SendWithInt( in SendTransaction()
203 *ret = client_.GetChannel()->SendWithFileHandle( in SendTransaction()
224 *ret = client_.GetChannel()->SendWithChannelHandle( in SendTransaction()
232 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
239 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
[all …]
Dclient_tests.cpp77 using BASE::GetChannel;
97 return static_cast<MockClientChannel*>(client_->GetChannel()); in mock_channel()
114 return static_cast<MockClientChannel*>(client_->GetChannel()); in mock_channel()
Dservice.cpp433 std::shared_ptr<Channel> Message::GetChannel() const { return channel_.lock(); } in GetChannel() function in android::pdx::Message
503 std::shared_ptr<Channel> Service::GetChannel(int channel_id) const { in GetChannel() function in android::pdx::Service
Dservice_tests.cpp187 EXPECT_EQ(test_channel, message.GetChannel()); in TEST_F()
209 EXPECT_EQ(test_channel, message.GetChannel()); in TEST_F()
/frameworks/native/libs/vr/libvrflinger/
Dvsync_service.cpp138 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnGetLastTimestamp()
148 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnGetSchedInfo()
185 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnAcknowledge()
Ddisplay_service.cpp228 if (message.GetChannel()) in OnCreateSurface()
317 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel()); in HandleSurfaceMessage()
329 return std::static_pointer_cast<DisplaySurface>(GetChannel(surface_id)); in GetDisplaySurface()
Ddisplay_manager_service.cpp77 auto channel = std::static_pointer_cast<DisplayManager>(message.GetChannel()); in HandleMessage()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_client.h28 using pdx::Client::GetChannel;
88 if (auto* client_channel = GetChannel()) { in GetEventMask()
96 if (auto* client_channel = GetChannel()) { in GetEventSources()
Ddetached_buffer.h45 if (auto* channel = client_.GetChannel()) { in GetEventMask()
/frameworks/native/services/vr/bufferhubd/
Dbuffer_hub.cpp226 if (auto channel = message.GetChannel<BufferHubChannel>()) in HandleImpulse()
232 auto channel = message.GetChannel<BufferHubChannel>(); in HandleMessage()
294 if (const auto channel = message.GetChannel<BufferHubChannel>()) { in OnCreateBuffer()
327 if (const auto channel = message.GetChannel<BufferHubChannel>()) { in OnCreateDetachedBuffer()
359 if (const auto channel = message.GetChannel<BufferHubChannel>()) { in OnCreateProducerQueue()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_manager_client.h30 if (auto* client_channel = GetChannel()) in GetEventMask()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h303 std::shared_ptr<Channel> GetChannel() const;
311 std::shared_ptr<C> GetChannel() const { in GetChannel() function
312 return std::static_pointer_cast<C>(GetChannel()); in GetChannel()
410 std::shared_ptr<Channel> GetChannel(int channel_id) const;
Dclient.h126 ClientChannel* GetChannel() const { return channel_.get(); } in GetChannel() function
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h89 bool is_connected() const { return !!GetChannel(); } in is_connected()
101 if (auto* client_channel = GetChannel()) { in GetEventMask()
/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp106 test_channel_ = message.GetChannel<TestChannel>(); in HandleImpulse()
131 test_channel_ = message.GetChannel<TestChannel>(); in HandleMessage()
385 if (auto* client_channel = GetChannel()) { in GetEventMask()
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp136 consumer_queue->GetChannel()->TakeChannelParcelable()); in CreateConsumerQueueParcelable()