Searched refs:allocator (Results 1 - 12 of 12) sorted by relevance

/frameworks/native/include/binder/
H A DMemoryDealer.h50 SimpleBestFitAllocator* allocator() const;
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp104 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get());
105 allocator.free(handle);
135 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get());
136 allocator.free(handle);
145 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); local
146 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride);
/frameworks/base/libs/hwui/
H A DDeferredDisplayList.h52 static void* operator new(size_t size, LinearAllocator& allocator) { argument
53 return allocator.alloc(size);
H A DDisplayListRenderer.h199 LinearAllocator& alloc() { return mDisplayListData->allocator; }
211 T* dstBuffer = (T*) mDisplayListData->allocator.alloc(count * sizeof(T));
H A DDisplayList.cpp165 mSize = mDisplayListData->allocator.usedSize();
172 LinearAllocator& alloc = mDisplayListData->allocator;
H A DDisplayList.h92 LinearAllocator allocator; member in class:android::uirenderer::DisplayListData
H A DDisplayListOp.h65 static void* operator new(size_t size, LinearAllocator& allocator) { argument
66 return allocator.alloc(size);
/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/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp251 JavaPixelAllocator* allocator = (JavaPixelAllocator*) decoder->getAllocator(); local
252 jbyteArray buff = allocator->getStorageObjAndReset();
H A DBitmap.cpp327 JavaPixelAllocator allocator(env);
329 if (!src->copyTo(&result, dstConfig, &allocator)) {
332 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(),
586 JavaPixelAllocator allocator(env);
588 src->extractAlpha(dst, paint, &allocator, &offset);
603 return GraphicsJNI::createBitmap(env, dst, allocator.getStorageObj(),
/frameworks/native/include/gui/
H A DBufferQueue.h80 // producers and consumers. allocator is used to allocate all the
82 BufferQueue(const sp<IGraphicBufferAlloc>& allocator = NULL);
/frameworks/native/libs/gui/
H A DBufferQueue.cpp68 BufferQueue::BufferQueue(const sp<IGraphicBufferAlloc>& allocator) : argument
89 if (allocator == NULL) {
96 mGraphicBufferAlloc = allocator;

Completed in 174 milliseconds