Searched defs:allocator (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp258 JavaPixelAllocator* allocator = (JavaPixelAllocator*) decoder->getAllocator(); local
259 jbyteArray buff = allocator->getStorageObjAndReset();
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp105 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get());
106 allocator.free(handle);
136 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get());
137 allocator.free(handle);
146 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); local
147 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride);
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp181 * they're special as they don't have any record in the allocator
242 const ssize_t offset = allocator()->allocate(size);
251 allocator()->deallocate(offset);
256 allocator()->dump(what);
263 SimpleBestFitAllocator* MemoryDealer::allocator() const { function in class:android::MemoryDealer
/frameworks/native/libs/gui/
H A DBufferQueue.cpp68 const sp<IGraphicBufferAlloc>& allocator) :
88 if (allocator == NULL) {
95 mGraphicBufferAlloc = allocator;
67 BufferQueue(bool allowSynchronousMode, const sp<IGraphicBufferAlloc>& allocator) argument

Completed in 80 milliseconds