Home
last modified time | relevance | path

Searched refs:producer_slot (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/vr/bufferhubd/
Dconsumer_queue_channel.cpp84 size_t producer_slot) { in RegisterNewBuffer() argument
87 producer_slot, silent_); in RegisterNewBuffer()
101 pending_buffer_slots_.emplace(producer_channel, producer_slot, in RegisterNewBuffer()
121 size_t producer_slot = pending_buffer_slots_.front().producer_slot; in OnConsumerQueueImportBuffers() local
151 buffer_handles.emplace_back(status.take(), producer_slot); in OnConsumerQueueImportBuffers()
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dconsumer_queue_channel.h32 size_t producer_slot);
50 producer_slot = slot; in PendingBuffer()
56 size_t producer_slot; member
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp138 size_t producer_slot, consumer_slot; in TEST_F() local
146 producer_queue_->Dequeue(kTimeoutMs, &producer_slot, &mo, &fence, true); in TEST_F()
154 std::find(posted_slots.begin(), posted_slots.end(), producer_slot); in TEST_F()
156 posted_slots.push_back(producer_slot); in TEST_F()
179 producer_queue_->Dequeue(kTimeoutMs, &producer_slot, &mo, &fence, true); in TEST_F()
186 EXPECT_NE(posted_slots[1], producer_slot); in TEST_F()
194 producer_queue_->Dequeue(kTimeoutMs, &producer_slot, &mo, &fence, true); in TEST_F()
200 EXPECT_EQ(posted_slots[1], producer_slot); in TEST_F()