Home
last modified time | relevance | path

Searched refs:buffer_slots (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp473 std::vector<size_t> buffer_slots; in AllocateBuffers() local
474 buffer_slots.reserve(buffer_count); in AllocateBuffers()
487 buffer_slots.push_back(buffer_slot); in AllocateBuffers()
491 if (buffer_slots.size() != buffer_count) { in AllocateBuffers()
496 buffer_count, buffer_slots.size()); in AllocateBuffers()
500 return {std::move(buffer_slots)}; in AllocateBuffers()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp717 std::vector<size_t> buffer_slots = status.take(); in TEST_F() local
718 ASSERT_EQ(buffer_slots.size(), 2); in TEST_F()
729 std::vector<size_t> buffer_slots = status.take(); in TEST_F() local
730 ASSERT_EQ(buffer_slots.size(), 0); in TEST_F()