Lines Matching refs:newBuffer
56 return localBufferPool->newBuffer(capacity); in AllocateGraphicBuffer()
171 sp<ABuffer> LocalBufferPool::newBuffer(size_t capacity) { in newBuffer() function in android::LocalBufferPool
499 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
500 if (newBuffer == nullptr) { in requestNewBuffer()
503 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
504 *buffer = newBuffer; in requestNewBuffer()
671 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
672 if (newBuffer == nullptr) { in requestNewBuffer()
675 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
676 *buffer = newBuffer; in requestNewBuffer()
740 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
741 if (newBuffer == nullptr) { in requestNewBuffer()
744 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
745 handleImageData(newBuffer); in requestNewBuffer()
746 *buffer = newBuffer; in requestNewBuffer()
901 return lbp->newBuffer(capacity); in realloc()
929 sp<Codec2Buffer> newBuffer = wrap(buffer); in registerBuffer() local
930 if (newBuffer == nullptr) { in registerBuffer()
933 newBuffer->setFormat(mFormat); in registerBuffer()
934 *index = mImpl.assignSlot(newBuffer); in registerBuffer()
935 handleImageData(newBuffer); in registerBuffer()
936 *clientBuffer = newBuffer; in registerBuffer()
945 sp<Codec2Buffer> newBuffer = new LocalLinearBuffer( in registerCsd() local
947 *index = mImpl.assignSlot(newBuffer); in registerCsd()
948 *clientBuffer = newBuffer; in registerCsd()
1044 return lbp->newBuffer(capacity); in wrap()
1057 return lbp->newBuffer(capacity); in wrap()
1067 return lbp->newBuffer(capacity); in getAlloc()