Home
last modified time | relevance | path

Searched refs:mFreeSlots (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/gui/
DBufferQueueCore.cpp70 mFreeSlots(), in BufferQueueCore()
104 mFreeSlots.insert(s); in BufferQueueCore()
169 for (int s : mFreeSlots) { in dumpState()
232 for (int s : mFreeSlots) { in freeAllBuffersLocked()
237 mFreeSlots.insert(s); in freeAllBuffersLocked()
243 mFreeSlots.insert(s); in freeAllBuffersLocked()
264 mFreeSlots.insert(s); in discardFreeBuffersLocked()
284 mFreeSlots.insert(slot); in adjustAvailableSlotsLocked()
289 if (-delta > static_cast<int>(mFreeSlots.size() + in adjustAvailableSlotsLocked()
294 if (!mFreeSlots.empty()) { in adjustAvailableSlotsLocked()
[all …]
DBufferQueueProducer.cpp242 if (mCore->mFreeSlots.empty()) { in getFreeSlotLocked()
245 int slot = *(mCore->mFreeSlots.begin()); in getFreeSlotLocked()
246 mCore->mFreeSlots.erase(slot); in getFreeSlotLocked()
438 mCore->mFreeSlots.insert(found); in dequeueBuffer()
533 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer()
540 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer()
622 mCore->mFreeSlots.insert(slot); in detachBuffer()
676 mCore->mFreeSlots.insert(found); in detachNextBuffer()
1363 newBufferCount = mCore->mFreeSlots.empty() ? 0 : 1; in allocateBuffers()
1413 if (mCore->mFreeSlots.empty()) { in allocateBuffers()
[all …]
DBufferQueueConsumer.cpp312 mCore->mFreeSlots.insert(slot); in detachBuffer()
363 if (!mCore->mFreeSlots.empty()) { in attachBuffer()
364 auto slot = mCore->mFreeSlots.begin(); in attachBuffer()
366 mCore->mFreeSlots.erase(slot); in attachBuffer()
/frameworks/ml/nn/common/
DExecutionBurstController.cpp401 mFreeSlots.push(slot); in freeMemory()
423 if (mFreeSlots.size() > 0) { in allocateSlotLocked()
424 const int32_t slot = mFreeSlots.top(); in allocateSlotLocked()
425 mFreeSlots.pop(); in allocateSlotLocked()
/frameworks/native/libs/gui/include/gui/
DBufferQueueCore.h207 std::set<int> mFreeSlots; variable
/frameworks/ml/nn/common/include/
DExecutionBurstController.h249 std::stack<int32_t, std::vector<int32_t>> mFreeSlots; variable