/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_queue_channel.cpp | 18 int channel_id, 22 : BufferHubChannel(service, channel_id, channel_id, kProducerQueueType), 38 BufferHubService* service, int channel_id, 53 service, channel_id, config, usage_policy, &error)); 94 return BufferInfo(channel_id(), consumer_channels_.size(), capacity_, 103 "ProducerQueueChannel::OnCreateConsumerQueue: channel_id=%d slient=%d", 104 channel_id(), silent); 106 int channel_id; local 107 auto status = message.PushChannel(0, nullptr, &channel_id); 17 ProducerQueueChannel(BufferHubService* service, int channel_id, const ProducerQueueConfig& config, const UsagePolicy& usage_policy, int* error) argument 37 Create( BufferHubService* service, int channel_id, const ProducerQueueConfig& config, const UsagePolicy& usage_policy) argument [all...] |
H A D | consumer_queue_channel.cpp | 17 BufferHubService* service, int buffer_id, int channel_id, 19 : BufferHubChannel(service, buffer_id, channel_id, kConsumerQueueType), 27 ALOGD_IF(TRACE, "ConsumerQueueChannel::~ConsumerQueueChannel: channel_id=%d", 28 channel_id()); 16 ConsumerQueueChannel( BufferHubService* service, int buffer_id, int channel_id, const std::shared_ptr<Channel>& producer, bool silent) argument
|
H A D | producer_channel.cpp | 37 ProducerChannel::ProducerChannel(BufferHubService* service, int channel_id, argument 42 : BufferHubChannel(service, channel_id, channel_id, kProducerType), 116 BufferHubService* service, int channel_id, uint32_t width, uint32_t height, 121 new ProducerChannel(service, channel_id, width, height, layer_count, 131 "ProducerChannel::~ProducerChannel: channel_id=%d buffer_id=%d " 133 channel_id(), buffer_id(), buffer_state_->load()); 222 int channel_id; local 223 auto status = message.PushChannel(0, nullptr, &channel_id); 244 std::make_shared<ConsumerChannel>(service(), buffer_id(), channel_id, 115 Create( BufferHubService* service, int channel_id, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage, size_t user_metadata_size) argument [all...] |
H A D | producer_queue_channel.h | 15 BufferHubService* service, int channel_id, 50 ProducerQueueChannel(BufferHubService* service, int channel_id, 71 // Provides access to the |channel_id| of all consumer channels associated
|
H A D | buffer_hub.cpp | 185 stream << (" channel_id=" + std::to_string(channel->channel_id())); 205 "BufferHubService::HandleMessage: channel=%p channel_id=%d opcode=%d", 281 const int channel_id = message.GetChannelId(); local 283 "BufferHubService::OnCreatePersistentBuffer: channel_id=%d name=%s " 286 channel_id, name.c_str(), user_id, group_id, width, height, format, 293 "to buffer: channel_id=%d buffer_id=%d", 294 channel_id, channel->buffer_id()); 322 buffer->Attach(channel_id); 327 auto status = ProducerChannel::Create(this, channel_id, widt 345 const int channel_id = message.GetChannelId(); local [all...] |
H A D | buffer_hub.h | 32 BufferHubChannel(BufferHubService* service, int buffer_id, int channel_id, argument 36 channel_id_(channel_id), 111 int channel_id() const { return channel_id_; } function 120 void Attach(int channel_id) { argument 122 channel_id_ = channel_id;
|
H A D | consumer_channel.cpp | 22 int channel_id, uint64_t consumer_state_bit, 24 : BufferHubChannel(service, buffer_id, channel_id, kConsumerType), 32 "ConsumerChannel::~ConsumerChannel: channel_id=%d buffer_id=%d", 33 channel_id(), buffer_id()); 125 "ignored=%d acquired=%d released=%d channel_id=%d buffer_id=%d", 149 "ignored=%d acquired=%d released=%d channel_id=%d buffer_id=%d", 21 ConsumerChannel(BufferHubService* service, int buffer_id, int channel_id, uint64_t consumer_state_bit, const std::shared_ptr<Channel> producer) argument
|
H A D | consumer_channel.h | 19 ConsumerChannel(BufferHubService* service, int buffer_id, int channel_id,
|
H A D | consumer_queue_channel.h | 21 ConsumerQueueChannel(BufferHubService* service, int buffer_id, int channel_id,
|
H A D | producer_channel.h | 34 BufferHubService* service, int channel_id, uint32_t width,
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_manager_service.h | 20 DisplayManager(DisplayManagerService* service, int channel_id) argument 21 : service_(service), channel_id_(channel_id) {} 23 int channel_id() const { return channel_id_; } function in class:android::dvr::DisplayManager
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | mock_service_endpoint.h | 14 MOCK_METHOD2(SetChannel, Status<void>(int channel_id, Channel* channel)); 15 MOCK_METHOD1(CloseChannel, Status<void>(int channel_id)); 17 Status<void>(int channel_id, int clear_mask, int set_mask)); 20 Channel* channel, int* channel_id));
|
H A D | service_endpoint.h | 50 virtual Status<void> SetChannel(int channel_id, Channel* channel) = 0; 55 virtual Status<void> CloseChannel(int channel_id) = 0; 59 virtual Status<void> ModifyChannelEvents(int channel_id, int clear_mask, 68 // |channel_id|, which may also be nullptr if not needed. 71 int* channel_id) = 0;
|
H A D | service.h | 196 int flags, const std::shared_ptr<Channel>& channel, int* channel_id); 204 int* channel_id); 212 * channel_id - id of the channel if the |ref| is a valid reference to 218 * FAULT - |channel_id| or |channel| are non-nullptr and point to invalid 395 Status<void> SetChannel(int channel_id, 410 std::shared_ptr<Channel> GetChannel(int channel_id) const; 445 Status<void> CloseChannel(int channel_id); 454 Status<void> ModifyChannelEvents(int channel_id, int clear_mask, 464 * |channel_id|, which may also be nullptr if not needed. 477 int* channel_id); [all...] |
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | service_endpoint.h | 43 Status<void> SetChannel(int channel_id, Channel* channel) override; 44 Status<void> CloseChannel(int channel_id) override; 45 Status<void> ModifyChannelEvents(int channel_id, int clear_mask, 49 int* channel_id) override; 131 void BuildCloseMessage(int32_t channel_id, Message* message); 139 Status<void> CloseChannelLocked(int32_t channel_id); 141 Channel* GetChannelState(int32_t channel_id); 142 BorrowedHandle GetChannelSocketFd(int32_t channel_id); 144 int32_t channel_id);
|
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | service_endpoint.cpp | 265 Status<void> Endpoint::SetChannel(int channel_id, Channel* channel) { argument 267 auto channel_data = channels_.find(channel_id); 323 Status<void> Endpoint::CloseChannel(int channel_id) { argument 325 return CloseChannelLocked(channel_id); 328 Status<void> Endpoint::CloseChannelLocked(int32_t channel_id) { argument 329 ALOGD_IF(TRACE, "Endpoint::CloseChannelLocked: channel_id=%d", channel_id); 331 auto iter = channels_.find(channel_id); 353 Status<void> Endpoint::ModifyChannelEvents(int channel_id, int clear_mask, argument 357 auto search = channels_.find(channel_id); 425 PushChannel(Message* message, int , Channel* channel, int* channel_id) argument 464 GetChannelState(int32_t channel_id) argument 471 GetChannelSocketFd(int32_t channel_id) argument 480 GetChannelEventFd( int32_t channel_id) argument 500 int32_t channel_id = GetChannelId(channel_fd); local 557 BuildCloseMessage(int32_t channel_id, Message* message) argument 607 const int32_t channel_id = message->GetChannelId(); local [all...] |
H A D | service_framework_tests.cpp | 76 explicit TestChannel(int channel_id) : channel_id_(channel_id) {} argument 78 int channel_id() const { return channel_id_; } function in class:__anon1874::TestChannel 141 REPLY_MESSAGE_RETURN(message, test_channel_->channel_id(), {}); 167 REPLY_MESSAGE_RETURN(message, channel->channel_id(), {}); 300 // Checks whether the fd |channel_id| is a channel to the test service. 309 // Checks whether the fd |channel_id| is a channel to the test service. 460 const int channel_id = client->GetThisChannelId(); local 461 EXPECT_LE(0, channel_id); 468 EXPECT_EQ(channel_id, clien 482 const int channel_id = client->GetThisChannelId(); local [all...] |
/frameworks/native/libs/vr/libpdx/ |
H A D | service.cpp | 379 int flags, const std::shared_ptr<Channel>& channel, int* channel_id) { 382 return svc->PushChannel(this, flags, channel, channel_id); 390 int* channel_id) { 392 return service->PushChannel(this, flags, channel, channel_id); 479 Status<void> Service::SetChannel(int channel_id, argument 484 const auto status = endpoint_->SetChannel(channel_id, channel.get()); 493 channels_.erase(channel_id); 496 channels_[channel_id] = channel; 498 channels_.erase(channel_id); 503 std::shared_ptr<Channel> Service::GetChannel(int channel_id) cons 378 PushChannel( int flags, const std::shared_ptr<Channel>& channel, int* channel_id) argument 388 PushChannel( Service* service, int flags, const std::shared_ptr<Channel>& channel, int* channel_id) argument 514 CloseChannel(int channel_id) argument 527 ModifyChannelEvents(int channel_id, int clear_mask, int set_mask) argument 533 PushChannel( Message* message, int flags, const std::shared_ptr<Channel>& channel, int* channel_id) argument [all...] |
H A D | service_tests.cpp | 722 int channel_id = -1; local 723 auto status = message_->PushChannel(kFlags, nullptr, &channel_id); 726 EXPECT_EQ(kTestCid, channel_id); 734 int channel_id = -1; local 735 auto status = message_->PushChannel(kFlags, nullptr, &channel_id); 755 int channel_id = -1; local 757 message_->PushChannel(service2.get(), kFlags, nullptr, &channel_id); 760 EXPECT_EQ(kTestCid, channel_id);
|