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

/frameworks/native/include/binder/
H A DMemoryDealer.h50 SimpleBestFitAllocator* allocator() const;
/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/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp258 JavaPixelAllocator* allocator = (JavaPixelAllocator*) decoder->getAllocator(); local
259 jbyteArray buff = allocator->getStorageObjAndReset();
H A DBitmap.cpp245 JavaPixelAllocator allocator(env);
247 if (!src->copyTo(&result, dstConfig, &allocator)) {
251 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(), isMutable, NULL, NULL);
490 JavaPixelAllocator allocator(env);
492 src->extractAlpha(dst, paint, &allocator, &offset);
507 return GraphicsJNI::createBitmap(env, dst, allocator.getStorageObj(), true, NULL, NULL);
/frameworks/compile/mclinker/include/mcld/LD/
H A DStringUnorderedMap.h60 typename Allocator = std::allocator<std::pair<KeyType, ValueType> > >
/frameworks/native/include/gui/
H A DBufferQueue.h101 // synchronous mode can be enabled by the producer. allocator is used to
104 const sp<IGraphicBufferAlloc>& allocator = NULL);
/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 2038 milliseconds