Lines Matching defs:buffer
103 BufferItem buffer;
104 status_t ret = mBIC->acquireBuffer(&buffer, 0, false);
107 ALOGV("acquireBuffer: slot=%d", buffer.mSlot);
108 *outSlot = buffer.mSlot;
113 BufferItem buffer;
114 buffer.mSlot = slot;
115 buffer.mGraphicBuffer = mBuffers[slot];
116 status_t ret = mBIC->releaseBuffer(buffer, Fence::NO_FENCE);
131 // Test that detaching buffer from consumer side triggers onBufferFreed.
134 // Producer: generate a dummy buffer.
139 // Consumer: acquire the buffer and then detach it.
149 // Test that detaching buffer from producer side triggers onBufferFreed.
152 // Let buffer go through the cycle at least once.
160 // Producer: generate the buffer again.
163 // Producer: detach the buffer.
175 // Let buffer go through the cycle at least once.
192 // Let buffer go through the cycle at least once.