Searched refs:mBufferSlots (Results 1 – 2 of 2) sorted by relevance
946 ssize_t bsi = mBufferSlots.indexOfKey(bi.mSlot); in acquireBuffer_l()953 bsi = mBufferSlots.add(bi.mSlot, nullptr); in acquireBuffer_l()956 mBufferSlots.replaceValueAt(bsi, buffer); in acquireBuffer_l()958 buffer = mBufferSlots.valueAt(bsi); in acquireBuffer_l()1078 ssize_t bsi = mBufferSlots.indexOfKey(i); in discardBufferInSlot_l()1083 mBufferSlots.removeItemsAt(bsi); in discardBufferInSlot_l()1089 const std::shared_ptr<CachedBuffer>& buffer = mBufferSlots.valueAt(bsi); in discardBufferAtSlotIndex_l()1094 mBufferSlots.keyAt(bsi), buffer.use_count(), latestBufferSlot); in discardBufferAtSlotIndex_l()1095 mBufferSlots.valueAt(bsi)->onDroppedFromCache(); in discardBufferAtSlotIndex_l()1106 mBufferSlots.editValueAt(bsi).reset(); in discardBufferAtSlotIndex_l()
266 KeyedVector<slot_id, std::shared_ptr<CachedBuffer>> mBufferSlots; variable