Home
last modified time | relevance | path

Searched refs:ConsumerChannel (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/vr/bufferhubd/
Dconsumer_channel.cpp21 ConsumerChannel::ConsumerChannel(BufferHubService* service, int buffer_id, in ConsumerChannel() function in android::dvr::ConsumerChannel
30 ConsumerChannel::~ConsumerChannel() { in ~ConsumerChannel()
40 BufferHubChannel::BufferInfo ConsumerChannel::GetBufferInfo() const { in GetBufferInfo()
52 std::shared_ptr<ProducerChannel> ConsumerChannel::GetProducer() const { in GetProducer()
56 void ConsumerChannel::HandleImpulse(Message& message) { in HandleImpulse()
68 bool ConsumerChannel::HandleMessage(Message& message) { in HandleMessage()
77 *this, &ConsumerChannel::OnGetBuffer, message); in HandleMessage()
87 *this, &ConsumerChannel::OnConsumerAcquire, message); in HandleMessage()
92 *this, &ConsumerChannel::OnConsumerRelease, message); in HandleMessage()
97 *this, &ConsumerChannel::OnConsumerSetIgnore, message); in HandleMessage()
[all …]
Dconsumer_channel.h13 class ConsumerChannel : public BufferHubChannel {
19 ConsumerChannel(BufferHubService* service, int buffer_id, int channel_id,
22 ~ConsumerChannel() override;
49 ConsumerChannel(const ConsumerChannel&) = delete;
50 void operator=(const ConsumerChannel&) = delete;
Dproducer_channel.h55 void OnConsumerOrphaned(ConsumerChannel* channel);
57 void AddConsumer(ConsumerChannel* channel);
58 void RemoveConsumer(ConsumerChannel* channel);
71 std::vector<ConsumerChannel*> consumer_channels_;
Dproducer_channel.cpp141 for (const ConsumerChannel* consumer : consumer_channels_) { in GetBufferInfo()
244 std::make_shared<ConsumerChannel>(service(), buffer_id(), channel_id, in CreateConsumer()
437 void ProducerChannel::OnConsumerOrphaned(ConsumerChannel* channel) { in OnConsumerOrphaned()
506 void ProducerChannel::AddConsumer(ConsumerChannel* channel) { in AddConsumer()
510 void ProducerChannel::RemoveConsumer(ConsumerChannel* channel) { in RemoveConsumer()
Dbuffer_hub.h16 class ConsumerChannel; variable