Searched refs:producer_channel (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/vr/bufferhubd/ |
D | producer_queue_channel.cpp | 239 auto producer_channel = producer_channel_status.take(); in AllocateBuffer() local 247 service()->SetChannel(buffer_id, producer_channel); in AllocateBuffer() 270 buffers_[slot] = producer_channel; in AllocateBuffer() 279 consumer_channel->RegisterNewBuffer(producer_channel, slot); in AllocateBuffer() 296 auto producer_channel = std::static_pointer_cast<ProducerChannel>( in OnProducerQueueInsertBuffer() local 298 if (producer_channel == nullptr || in OnProducerQueueInsertBuffer() 299 producer_channel->channel_type() != BufferHubChannel::kProducerType) { in OnProducerQueueInsertBuffer() 305 buffer_cid, producer_channel.get(), in OnProducerQueueInsertBuffer() 306 producer_channel == nullptr ? -1 : producer_channel->channel_type()); in OnProducerQueueInsertBuffer() 309 if (producer_channel->GetActiveProcessId() != message.GetProcessId()) { in OnProducerQueueInsertBuffer() [all …]
|
D | consumer_queue_channel.cpp | 83 const std::shared_ptr<ProducerChannel>& producer_channel, in RegisterNewBuffer() argument 86 __FUNCTION__, buffer_id(), producer_channel->buffer_id(), in RegisterNewBuffer() 93 auto status = producer_channel->CreateConsumerStateMask(); in RegisterNewBuffer() 101 pending_buffer_slots_.emplace(producer_channel, producer_slot, in RegisterNewBuffer() 119 auto producer_channel = in OnConsumerQueueImportBuffers() local 120 pending_buffer_slots_.front().producer_channel.lock(); in OnConsumerQueueImportBuffers() 128 if (producer_channel == nullptr) { in OnConsumerQueueImportBuffers() 134 producer_channel->CreateConsumer(message, consumer_state_mask); in OnConsumerQueueImportBuffers()
|
D | Android.bp | 33 "producer_channel.cpp",
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | consumer_queue_channel.h | 31 const std::shared_ptr<ProducerChannel>& producer_channel, 49 producer_channel = channel; in PendingBuffer() 55 std::weak_ptr<ProducerChannel> producer_channel; member
|