Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DBufferQueueCore.cpp71 mFreeSlots(), in BufferQueueCore()
105 mFreeSlots.insert(s); in BufferQueueCore()
170 for (int s : mFreeSlots) { in dumpState()
233 for (int s : mFreeSlots) { in freeAllBuffersLocked()
238 mFreeSlots.insert(s); in freeAllBuffersLocked()
244 mFreeSlots.insert(s); in freeAllBuffersLocked()
271 mFreeSlots.insert(s); in discardFreeBuffersLocked()
291 mFreeSlots.insert(slot); in adjustAvailableSlotsLocked()
296 if (-delta > static_cast<int>(mFreeSlots.size() + in adjustAvailableSlotsLocked()
301 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()
1371 newBufferCount = mCore->mFreeSlots.empty() ? 0 : 1; in allocateBuffers()
1421 if (mCore->mFreeSlots.empty()) { in allocateBuffers()
[all …]
DBufferQueueConsumer.cpp314 mCore->mFreeSlots.insert(slot); in detachBuffer()
365 if (!mCore->mFreeSlots.empty()) { in attachBuffer()
366 auto slot = mCore->mFreeSlots.begin(); in attachBuffer()
368 mCore->mFreeSlots.erase(slot); in attachBuffer()
/frameworks/ml/nn/common/
DExecutionBurstController.cpp438 mFreeSlots.push(slot); in freeMemory()
460 if (mFreeSlots.size() > 0) { in allocateSlotLocked()
461 const int32_t slot = mFreeSlots.top(); in allocateSlotLocked()
462 mFreeSlots.pop(); in allocateSlotLocked()
/frameworks/native/libs/gui/include/gui/
DBufferQueueCore.h211 std::set<int> mFreeSlots; variable
/frameworks/ml/nn/common/include/
DExecutionBurstController.h276 std::stack<int32_t, std::vector<int32_t>> mFreeSlots; variable