/frameworks/native/libs/ui/tests/ |
D | GraphicBufferAllocator_test.cpp | 48 mAllocator = std::make_unique<const mock::MockGrallocAllocator>(); in TestableGraphicBufferAllocator() 52 EXPECT_CALL(*(reinterpret_cast<const mock::MockGrallocAllocator*>(mAllocator.get())), in setUpAllocateExpectations() 56 std::unique_ptr<const GrallocAllocator>& getAllocator() { return mAllocator; } in getAllocator() 61 GraphicBufferAllocatorTest() : mAllocator() {} in GraphicBufferAllocatorTest() 62 const TestableGraphicBufferAllocator& getAllocator() { return mAllocator; } in getAllocator() 65 TestableGraphicBufferAllocator mAllocator; member in android::GraphicBufferAllocatorTest 69 mAllocator.setUpAllocateExpectations(NO_ERROR, kTestWidth); in TEST_F() 73 status_t err = mAllocator.allocate(kTestWidth, kTestHeight, format, kTestLayerCount, kTestUsage, in TEST_F() 83 mAllocator.setUpAllocateExpectations(NO_ERROR, expectedStride); in TEST_F() 87 status_t err = mAllocator.allocate(kTestWidth, kTestHeight, format, kTestLayerCount, kTestUsage, in TEST_F() [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2BufferPriv.h | 32 return mAllocator->getId(); in getAllocatorId() 47 const std::shared_ptr<C2Allocator> mAllocator; 57 return mAllocator->getId(); in getAllocatorId() 72 const std::shared_ptr<C2Allocator> mAllocator; 82 return mAllocator->getId(); in getAllocatorId() 118 const std::shared_ptr<C2Allocator> mAllocator;
|
D | C2BqBufferPriv.h | 33 return mAllocator->getId(); in getAllocatorId() 71 const std::shared_ptr<C2Allocator> mAllocator;
|
/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 50 mAllocator = std::make_unique<const Gralloc3Allocator>( in GraphicBufferAllocator() 52 if (!mAllocator->isLoaded()) { in GraphicBufferAllocator() 53 mAllocator = std::make_unique<const Gralloc2Allocator>( in GraphicBufferAllocator() 57 if (!mAllocator->isLoaded()) { in GraphicBufferAllocator() 96 result.append(mAllocator->dumpDebugInfo()); in dump() 134 mAllocator->allocate(width, height, format, layerCount, usage, 1, stride, handle); in allocate()
|
D | Gralloc2.cpp | 361 mAllocator = IAllocator::getService(); in Gralloc2Allocator() 362 if (mAllocator == nullptr) { in Gralloc2Allocator() 369 return mAllocator != nullptr; in isLoaded() 375 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { in dumpDebugInfo() 399 auto ret = mAllocator->allocate(descriptor, bufferCount, in allocate()
|
D | Gralloc3.cpp | 344 mAllocator = IAllocator::getService(); in Gralloc3Allocator() 345 if (mAllocator == nullptr) { in Gralloc3Allocator() 352 return mAllocator != nullptr; in isLoaded() 358 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); in dumpDebugInfo() 376 auto ret = mAllocator->allocate(descriptor, bufferCount, in allocate()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | BitmapShaders.cpp | 30 : TestScene(), mAllocator(allocator) {} in BitmapShaders() 36 mAllocator(200, 200, kRGBA_8888_SkColorType, [](SkBitmap& skBitmap) { in createContent() 63 BitmapAllocationTestUtils::BitmapAllocator mAllocator; member in BitmapShaders
|
D | BitmapFillrate.cpp | 35 : TestScene(), mAllocator(allocator) {} in BitmapFillrate() 63 mAllocator(itemWidth, itemHeight, kRGBA_8888_SkColorType, in createNode() 71 BitmapAllocationTestUtils::BitmapAllocator mAllocator; member in BitmapFillrate
|
D | TvApp.cpp | 53 : TestScene(), mAllocator(allocator) {} in TvApp() 61 BitmapAllocationTestUtils::BitmapAllocator mAllocator; member in TvApp 71 mSingleBitmap = mAllocator(dp(160), dp(120), kRGBA_8888_SkColorType, in createContent() 100 mAllocator(width, height, kRGBA_8888_SkColorType, in createBitmapNode() 161 : mAllocator(width, dp(120), kRGBA_8888_SkColorType, in createCard()
|
/frameworks/av/media/bufferpool/1.0/vts/ |
D | single.cpp | 60 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp() 61 ASSERT_TRUE((bool)mAllocator); in SetUp() 63 status = mManager->create(mAllocator, &mConnectionId); in SetUp() 85 std::shared_ptr<BufferPoolAllocator> mAllocator; member in __anon2ed7fd040111::BufferpoolSingleTest
|
D | multi.cpp | 94 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp() 95 ASSERT_TRUE((bool)mAllocator); in SetUp() 97 status = mManager->create(mAllocator, &mConnectionId); in SetUp() 120 std::shared_ptr<BufferPoolAllocator> mAllocator; member in __anon32f7160d0111::BufferpoolMultiTest
|
/frameworks/av/media/bufferpool/2.0/tests/ |
D | single.cpp | 60 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp() 61 ASSERT_TRUE((bool)mAllocator); in SetUp() 63 status = mManager->create(mAllocator, &mConnectionId); in SetUp() 85 std::shared_ptr<BufferPoolAllocator> mAllocator; member in __anon953acadb0111::BufferpoolSingleTest
|
D | multi.cpp | 94 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp() 95 ASSERT_TRUE((bool)mAllocator); in SetUp() 97 status = mManager->create(mAllocator, &mConnectionId); in SetUp() 120 std::shared_ptr<BufferPoolAllocator> mAllocator; member in __anone0bc05040111::BufferpoolMultiTest
|
/frameworks/av/media/codec2/vndk/ |
D | C2Buffer.cpp | 328 : mAllocator(allocator) { } in C2BasicLinearBlockPool() 337 c2_status_t err = mAllocator->newLinearAllocation(capacity, usage, &alloc); in fetchLinearBlock() 436 : mAllocator(allocator) {} in _C2BufferPoolAllocator() 515 const std::shared_ptr<C2Allocator> mAllocator; member in _C2BufferPoolAllocator 548 status = mAllocator->newLinearAllocation( in allocate() 567 status = mAllocator->newGraphicAllocation( in allocate() 630 return mAllocator->priorLinearAllocation(handle, c2Allocation); in priorLinearAllocation() 636 return mAllocator->priorGraphicAllocation(handle, c2Allocation); in priorGraphicAllocation() 644 mAllocator(std::make_shared<_C2BufferPoolAllocator>(allocator)) { in Impl() 645 if (mAllocator && mBufferPoolManager) { in Impl() [all …]
|
/frameworks/base/libs/hwui/ |
D | DamageAccumulator.h | 70 LinearAllocator mAllocator; variable
|
D | DamageAccumulator.cpp | 48 mHead = mAllocator.create_trivial<DirtyStack>(); in DamageAccumulator() 82 DirtyStack* nextFrame = mAllocator.create_trivial<DirtyStack>(); in pushCommon()
|
/frameworks/native/libs/binder/include/binder/ |
D | MemoryDealer.h | 57 SimpleBestFitAllocator* mAllocator; variable
|
/frameworks/native/include/binder/ |
D | MemoryDealer.h | 57 SimpleBestFitAllocator* mAllocator; variable
|
/frameworks/ml/nn/runtime/ |
D | Memory.cpp | 466 mAllocator = nullptr; in finish() 468 mAllocator = *devices.begin(); in finish() 469 VLOG(MEMORY) << "Using " << mAllocator->getName() << " as allocator."; in finish() 472 mAllocator = nullptr; in finish() 498 if (mAllocator != nullptr) { in allocate() 499 std::tie(n, memory) = mAllocator->allocate(mDesc, mOperand->type); in allocate()
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBufferAllocator.h | 77 std::unique_ptr<const GrallocAllocator> mAllocator; variable
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferAllocator.h | 77 std::unique_ptr<const GrallocAllocator> mAllocator; variable
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 232 mAllocator(new SimpleBestFitAllocator(size)) in MemoryDealer() 238 delete mAllocator; in ~MemoryDealer() 266 return mAllocator; in allocator()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 464 c2_status_t err = mAllocator->priorGraphicAllocation(c2Handle, &alloc); in fetchFromIgbp_l() 488 mAllocator(allocator) { in Impl() 533 c2_status_t err = mAllocator->newGraphicAllocation( in fetchGraphicBlock() 656 const std::shared_ptr<C2Allocator> mAllocator; member in C2BufferQueueBlockPool::Impl 766 : mAllocator(allocator), mLocalId(localId), mImpl(new Impl(allocator)) {} in C2BufferQueueBlockPool()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.h | 96 sp<IAllocator> mAllocator; member
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 175 &mAllocator); in init() 201 c2_status_t err = mAllocator->priorGraphicAllocation(handle, &alloc); in submitBuffer() 440 std::shared_ptr<C2Allocator> mAllocator; member
|