Lines Matching refs:ProducerChannel

28 ProducerChannel::ProducerChannel(BufferHubService* service, int buffer_id,  in ProducerChannel()  function in android::dvr::ProducerChannel
52 ProducerChannel::ProducerChannel(BufferHubService* service, int channel_id, in ProducerChannel() function in android::dvr::ProducerChannel
81 int ProducerChannel::InitializeBuffer() { in InitializeBuffer()
134 std::unique_ptr<ProducerChannel> ProducerChannel::Create( in Create()
138 std::unique_ptr<ProducerChannel> producer(new ProducerChannel( in Create()
148 Status<std::shared_ptr<ProducerChannel>> ProducerChannel::Create( in Create()
153 std::shared_ptr<ProducerChannel> producer( in Create()
154 new ProducerChannel(service, channel_id, width, height, layer_count, in Create()
162 ProducerChannel::~ProducerChannel() { in ~ProducerChannel()
174 BufferHubChannel::BufferInfo ProducerChannel::GetBufferInfo() const { in GetBufferInfo()
188 void ProducerChannel::HandleImpulse(Message& message) { in HandleImpulse()
200 bool ProducerChannel::HandleMessage(Message& message) { in HandleMessage()
205 *this, &ProducerChannel::OnGetBuffer, message); in HandleMessage()
210 *this, &ProducerChannel::OnNewConsumer, message); in HandleMessage()
215 *this, &ProducerChannel::OnProducerPost, message); in HandleMessage()
220 *this, &ProducerChannel::OnProducerGain, message); in HandleMessage()
228 BufferDescription<BorrowedHandle> ProducerChannel::GetBuffer( in GetBuffer()
239 Status<BufferDescription<BorrowedHandle>> ProducerChannel::OnGetBuffer( in OnGetBuffer()
247 Status<uint32_t> ProducerChannel::CreateConsumerStateMask() { in CreateConsumerStateMask()
295 void ProducerChannel::RemoveConsumerClientMask(uint32_t consumer_state_mask) { in RemoveConsumerClientMask()
308 Status<RemoteChannelHandle> ProducerChannel::CreateConsumer( in CreateConsumer()
382 Status<RemoteChannelHandle> ProducerChannel::OnNewConsumer(Message& message) { in OnNewConsumer()
392 Status<void> ProducerChannel::OnProducerPost(Message&, in OnProducerPost()
438 Status<LocalFence> ProducerChannel::OnProducerGain(Message& /*message*/) { in OnProducerGain()
507 Status<LocalFence> ProducerChannel::OnConsumerAcquire(Message& /*message*/) { in OnConsumerAcquire()
517 Status<void> ProducerChannel::OnConsumerRelease(Message&, in OnConsumerRelease()
557 void ProducerChannel::OnConsumerOrphaned(const uint32_t& consumer_state_mask) { in OnConsumerOrphaned()
588 void ProducerChannel::AddConsumer(ConsumerChannel* channel) { in AddConsumer()
592 void ProducerChannel::RemoveConsumer(ConsumerChannel* channel) { in RemoveConsumer()
655 bool ProducerChannel::CheckParameters(uint32_t width, uint32_t height, in CheckParameters()
665 bool ProducerChannel::IsBufferReleasedByAllActiveClientsExceptForOrphans() in IsBufferReleasedByAllActiveClientsExceptForOrphans()