Searched refs:lockedIdx (Results 1 – 3 of 3) sorted by relevance
175 size_t lockedIdx = 0; in lockNextBuffer() local176 for (; lockedIdx < mMaxLockedBuffers; lockedIdx++) { in lockNextBuffer()177 if (mAcquiredBuffers[lockedIdx].mSlot == in lockNextBuffer()182 assert(lockedIdx < mMaxLockedBuffers); in lockNextBuffer()184 AcquiredBuffer &ab = mAcquiredBuffers.editItemAt(lockedIdx); in lockNextBuffer()217 size_t lockedIdx = 0; in unlockBuffer() local221 for (; lockedIdx < mMaxLockedBuffers; lockedIdx++) { in unlockBuffer()222 if (bufPtr == mAcquiredBuffers[lockedIdx].mBufferPointer) break; in unlockBuffer()224 if (lockedIdx == mMaxLockedBuffers) { in unlockBuffer()229 return releaseAcquiredBufferLocked(lockedIdx); in unlockBuffer()[all …]
115 status_t releaseAcquiredBufferLocked(int lockedIdx);
124 size_t lockedIdx = 0; in lockNextBuffer() local