Home
last modified time | relevance | path

Searched refs:requestorName (Results 1 – 20 of 20) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp101 rec.layerCount, rec.format, rec.usage, rec.requestorName.c_str()); in dump()
146 result.status = mAllocator->allocate(request.requestorName, request.width, request.height, in allocate()
183 rec.requestorName = request.requestorName; in allocate()
192 std::string requestorName, bool importBuffer) { in allocateHelper() argument
216 status_t error = mAllocator->allocate(requestorName, width, height, format, layerCount, usage, in allocateHelper()
249 rec.requestorName = std::move(requestorName); in allocateHelper()
257 std::string requestorName) { in allocate() argument
258 return allocateHelper(width, height, format, layerCount, usage, handle, stride, requestorName, in allocate()
265 uint32_t* stride, std::string requestorName) { in allocateRawHandle() argument
266 return allocateHelper(width, height, format, layerCount, usage, handle, stride, requestorName, in allocateRawHandle()
[all …]
DGraphicBuffer.cpp111 PixelFormat inFormat, uint32_t inUsage, std::string requestorName) in GraphicBuffer() argument
112 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName) in GraphicBuffer()
117 uint32_t inLayerCount, uint64_t inUsage, std::string requestorName) in GraphicBuffer() argument
120 std::move(requestorName)); in GraphicBuffer()
238 std::string requestorName) in initWithSize() argument
244 std::move(requestorName)); in initWithSize()
DGralloc5.cpp199 static std::optional<BufferDescriptorInfo> makeDescriptor(std::string requestorName, uint32_t width, in makeDescriptor() argument
215 auto nameLength = std::min(requestorName.length(), descriptorInfo.name.size() - 1); in makeDescriptor()
216 memcpy(descriptorInfo.name.data(), requestorName.data(), nameLength); in makeDescriptor()
217 requestorName.data()[nameLength] = 0; in makeDescriptor()
225 status_t Gralloc5Allocator::allocate(std::string requestorName, uint32_t width, uint32_t height, in allocate() argument
236 .requestorName = requestorName, in allocate()
246 auto descriptorInfo = makeDescriptor(request.requestorName, request.width, request.height, in allocate()
DGralloc4.cpp1041 status_t Gralloc4Allocator::allocate(std::string requestorName, uint32_t width, uint32_t height, in allocate() argument
1046 if (auto error = sBufferDescriptorInfo(requestorName, width, height, format, layerCount, usage, in allocate()
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferAllocator.h58 std::string requestorName; member
82 std::string requestorName);
93 std::string requestorName);
101 std::string requestorName);
121 std::string requestorName; member
126 std::string requestorName, bool importBuffer);
DGraphicBuffer.h105 std::string requestorName = "<Unknown>");
156 uint32_t inUsage, std::string requestorName = "<Unknown>");
260 uint64_t inUsage, std::string requestorName);
/frameworks/native/libs/ui/include/ui/
DGraphicBufferAllocator.h58 std::string requestorName; member
82 std::string requestorName);
93 std::string requestorName);
101 std::string requestorName);
121 std::string requestorName; member
126 std::string requestorName, bool importBuffer);
DGraphicBuffer.h105 std::string requestorName = "<Unknown>");
156 uint32_t inUsage, std::string requestorName = "<Unknown>");
260 uint64_t inUsage, std::string requestorName);
DGralloc2.h83 status_t allocate(std::string requestorName, uint32_t width, uint32_t height,
DGralloc3.h84 status_t allocate(std::string requestorName, uint32_t width, uint32_t height,
DGralloc.h220 virtual status_t allocate(std::string requestorName, uint32_t width, uint32_t height,
DGralloc5.h173 [[nodiscard]] status_t allocate(std::string requestorName, uint32_t width, uint32_t height,
DGralloc4.h176 status_t allocate(std::string requestorName, uint32_t width, uint32_t height,
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerDefaultFactory.cpp61 uint64_t usage, std::string requestorName) { in createGraphicBuffer() argument
62 return sp<GraphicBuffer>::make(width, height, format, layerCount, usage, requestorName); in createGraphicBuffer()
DSurfaceFlingerDefaultFactory.h35 std::string requestorName) override;
DSurfaceFlingerFactory.h76 uint64_t usage, std::string requestorName) = 0;
/frameworks/native/libs/ui/tests/mock/
DMockGrallocAllocator.h37 (std::string requestorName, uint32_t width, uint32_t height, PixelFormat format,
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h106 std::string requestorName) override { in createGraphicBuffer() argument
107 return sp<GraphicBuffer>::make(width, height, format, layerCount, usage, requestorName); in createGraphicBuffer()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp619 .requestorName = std::string("AHardwareBuffer pid [") + std::to_string(getpid()) + "]", in AHardwareBuffer_allocateWithOptions()
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp605 .requestorName = {mConsumerName.c_str(), mConsumerName.size()}, in dequeueBuffer()
1561 .requestorName = allocName, in allocateBuffers()