Home
last modified time | relevance | path

Searched refs:producer_channel (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/vr/bufferhubd/
Dproducer_queue_channel.cpp239 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 …]
Dconsumer_queue_channel.cpp83 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()
DAndroid.bp33 "producer_channel.cpp",
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dconsumer_queue_channel.h31 const std::shared_ptr<ProducerChannel>& producer_channel,
49 producer_channel = channel; in PendingBuffer()
55 std::weak_ptr<ProducerChannel> producer_channel; member