/frameworks/av/media/codec2/hal/client/ |
D | GraphicBufferAllocator.cpp | 31 std::weak_ptr<GraphicBufferAllocator> mAllocator; 35 const std::shared_ptr<GraphicBufferAllocator> &allocator) in OnBufferReleasedListener() 47 ::ndk::ScopedAStatus GraphicBufferAllocator::allocate( in allocate() 63 ::ndk::ScopedAStatus GraphicBufferAllocator::deallocate(int64_t in_id, bool* _aidl_return) { in deallocate() 68 ::ndk::ScopedAStatus GraphicBufferAllocator::getWaitableFd( in getWaitableFd() 79 bool GraphicBufferAllocator::configure( in configure() 100 void GraphicBufferAllocator::updateMaxDequeueBufferCount(int count) { in updateMaxDequeueBufferCount() 107 void GraphicBufferAllocator::reset() { in reset() 111 const ::android::sp<::android::IProducerListener> GraphicBufferAllocator::createReleaseListener( in createReleaseListener() 113 return new OnBufferReleasedListener(generation, ref<GraphicBufferAllocator>()); in createReleaseListener() [all …]
|
D | Android.bp | 26 "GraphicBufferAllocator.cpp",
|
D | client.cpp | 103 implementation::GraphicBufferAllocator;
|
/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 45 ANDROID_SINGLETON_STATIC_INSTANCE( GraphicBufferAllocator ) 47 Mutex GraphicBufferAllocator::sLock; 49 GraphicBufferAllocator::alloc_rec_t> GraphicBufferAllocator::sAllocList; 51 GraphicBufferAllocator::GraphicBufferAllocator() : mMapper(GraphicBufferMapper::getInstance()) { in GraphicBufferAllocator() function in android::GraphicBufferAllocator 75 GraphicBufferAllocator::~GraphicBufferAllocator() {} in ~GraphicBufferAllocator() 77 uint64_t GraphicBufferAllocator::getTotalSize() const { in getTotalSize() 86 void GraphicBufferAllocator::dump(std::string& result, bool less) const { in dump() 110 void GraphicBufferAllocator::dumpToSystemLog(bool less) { in dumpToSystemLog() 112 GraphicBufferAllocator::getInstance().dump(s, less); in dumpToSystemLog() 116 auto GraphicBufferAllocator::allocate(const AllocationRequest& request) -> AllocationResult { in allocate() [all …]
|
D | GraphicBuffer.cpp | 141 GraphicBuffer::GraphicBuffer(const GraphicBufferAllocator::AllocationRequest& request) in GraphicBuffer() 143 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); in GraphicBuffer() 177 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in free_handle() 189 GraphicBufferAllocator::dumpToSystemLog(); in dumpAllocationsToSystemLog() 217 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in reallocate() 240 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); in initWithSize()
|
D | Gralloc5.cpp | 229 auto result = allocate(GraphicBufferAllocator::AllocationRequest{ in allocate() 244 GraphicBufferAllocator::AllocationResult Gralloc5Allocator::allocate( in allocate() 245 const GraphicBufferAllocator::AllocationRequest& request) const { in allocate() 249 return GraphicBufferAllocator::AllocationResult{BAD_VALUE}; in allocate() 277 return GraphicBufferAllocator::AllocationResult{error}; in allocate() 280 GraphicBufferAllocator::AllocationResult ret{OK}; in allocate() 286 return GraphicBufferAllocator::AllocationResult{error}; in allocate() 291 return GraphicBufferAllocator::AllocationResult{NO_MEMORY}; in allocate()
|
D | Android.bp | 137 "GraphicBufferAllocator.cpp",
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBufferAllocator.h | 41 class GraphicBufferAllocator : public Singleton<GraphicBufferAllocator> 44 static inline GraphicBufferAllocator& get() { return getInstance(); } in get() 131 friend class Singleton<GraphicBufferAllocator>; 132 GraphicBufferAllocator(); 133 ~GraphicBufferAllocator();
|
D | Gralloc.h | 225 virtual GraphicBufferAllocator::AllocationResult allocate( in allocate() 226 const GraphicBufferAllocator::AllocationRequest&) const { in allocate() 227 return GraphicBufferAllocator::AllocationResult(UNKNOWN_TRANSACTION); in allocate()
|
D | Gralloc5.h | 178 [[nodiscard]] GraphicBufferAllocator::AllocationResult allocate( 179 const GraphicBufferAllocator::AllocationRequest&) const override;
|
D | GraphicBuffer.h | 107 GraphicBuffer(const GraphicBufferAllocator::AllocationRequest&);
|
D | Gralloc4.h | 128 friend class GraphicBufferAllocator;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferAllocator.h | 41 class GraphicBufferAllocator : public Singleton<GraphicBufferAllocator> 44 static inline GraphicBufferAllocator& get() { return getInstance(); } in get() 131 friend class Singleton<GraphicBufferAllocator>; 132 GraphicBufferAllocator(); 133 ~GraphicBufferAllocator();
|
D | GraphicBuffer.h | 107 GraphicBuffer(const GraphicBufferAllocator::AllocationRequest&);
|
/frameworks/av/media/codec2/hal/client/include/codec2/aidl/ |
D | GraphicBufferAllocator.h | 33 struct GraphicBufferAllocator : public BnGraphicBufferAllocator { struct 133 ~GraphicBufferAllocator(); 144 static std::shared_ptr<GraphicBufferAllocator> CreateGraphicBufferAllocator( 147 GraphicBufferAllocator(int maxDequeueCount);
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferAllocator_test.cpp | 45 class TestableGraphicBufferAllocator : public GraphicBufferAllocator {
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 604 std::vector<GraphicBufferAllocator::AdditionalOptions> extras; in AHardwareBuffer_allocateWithOptions() 607 extras.push_back(GraphicBufferAllocator::AdditionalOptions{additionalOptions[i].name, in AHardwareBuffer_allocateWithOptions() 612 auto gbuffer = sp<GraphicBuffer>::make(GraphicBufferAllocator::AllocationRequest{ in AHardwareBuffer_allocateWithOptions()
|
/frameworks/native/libs/gui/ |
D | BufferQueueProducer.cpp | 593 std::vector<GraphicBufferAllocator::AdditionalOptions> tempOptions; in dequeueBuffer() 598 const GraphicBufferAllocator::AllocationRequest allocRequest = { in dequeueBuffer() 1549 std::vector<GraphicBufferAllocator::AdditionalOptions> tempOptions; in allocateBuffers() 1554 const GraphicBufferAllocator::AllocationRequest allocRequest = { in allocateBuffers() 1868 if (!GraphicBufferAllocator::get().supportsAdditionalOptions()) { in setAdditionalOptions()
|
D | Surface.cpp | 2645 if (!GraphicBufferAllocator::get().supportsAdditionalOptions()) { in setAdditionalOptions()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 338 GraphicBufferAllocator::getInstance().dump(grallocInfo); in dumpGraphicsMemory()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 1221 status_t err = GraphicBufferAllocator::get().allocateRawHandle(width, height, format, in newGraphicAllocation()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 3347 ATRACE_INT64("Total Buffer Size", GraphicBufferAllocator::get().getTotalSize()); in onCompositionPresented() 6988 const GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in dumpAll()
|