Home
last modified time | relevance | path

Searched refs:mAllocator (Results 1 – 16 of 16) sorted by relevance

/hardware/google/gfxstream/guest/vulkan_enc/
DHostVisibleMemoryVirtualization.cpp37 mAllocator = in CoherentMemory()
46 mAllocator = std::make_unique<gfxstream::guest::SubAllocator>(address, mSize, kLargestPageSize); in CoherentMemory()
58 auto address = mAllocator->alloc(size); in subAllocate()
62 offset = mAllocator->getOffset(address); in subAllocate()
67 mAllocator->free(ptr); in release()
DHostVisibleMemoryVirtualization.h68 SubAllocatorPtr mAllocator; variable
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp38 mAllocator = IAllocator::getService(allocatorServiceName); in init()
39 ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; in init()
48 mAllocator = IAllocator::getService(allocatorServiceName); in initNoErr()
72 return mAllocator; in getAllocator()
77 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); in dumpDebugInfo()
98 mAllocator->allocate( in allocate()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp31 mAllocator = IAllocator::getService(allocatorServiceName); in init()
32 ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; in init()
55 return mAllocator; in getAllocator()
60 mAllocator->dumpDebugInfo([&](const auto& tmpDebugInfo) { debugInfo = tmpDebugInfo.c_str(); }); in dumpDebugInfo()
81 mAllocator->allocate( in allocate()
/hardware/interfaces/media/bufferpool/aidl/default/tests/
Dsingle.cpp55 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp()
56 ASSERT_TRUE((bool)mAllocator); in SetUp()
58 status = mManager->create(mAllocator, &mConnectionId); in SetUp()
81 std::shared_ptr<BufferPoolAllocator> mAllocator; member in __anonb986e6f30111::BufferpoolSingleTest
Dmulti.cpp94 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 __anon2f68fe1c0111::BufferpoolMultiTest
Dcond.cpp98 mAllocator = std::make_shared<TestBufferPoolAllocator>(); in SetUp()
99 ASSERT_TRUE((bool)mAllocator); in SetUp()
101 status = mManager->create(mAllocator, &mConnectionId); in SetUp()
124 std::shared_ptr<BufferPoolAllocator> mAllocator; member in __anone5238cd50111::BufferpoolMultiTest
/hardware/interfaces/graphics/allocator/aidl/vts/
DVtsHalGraphicsAllocatorAidl_TargetTest.cpp133 std::shared_ptr<IAllocator> mAllocator; member in GraphicsTestsBase
139 mAllocator = IAllocator::fromBinder( in Initialize()
141 ASSERT_TRUE(mAllocator->getInterfaceVersion(&mIAllocatorVersion).isOk()); in Initialize()
144 auto status = mAllocator->getIMapperLibrarySuffix(&mapperSuffix); in Initialize()
161 ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; in Initialize()
181 status = mAllocator->allocate2(descriptorInfo, 1, &result); in allocate()
189 status = mAllocator->allocate(descriptor, 1, &result); in allocate()
210 EXPECT_TRUE(mAllocator->isSupported(descriptorInfo, &ret).isOk()); in isSupported()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStream.cpp369 mAllocator(allocator), in QCameraStream()
436 mAllocator.waitForBackgroundTask(mAllocTaskId); in ~QCameraStream()
437 mAllocator.waitForBackgroundTask(mMapTaskId); in ~QCameraStream()
761 mAllocTaskId = mAllocator.scheduleBackgroundTask(&mAllocTask); in init()
818 mMapTaskId = mAllocator.scheduleBackgroundTask(&mMapTask); in init()
964 mAllocator.waitForBackgroundTask(mAllocTaskId); in stop()
965 mAllocator.waitForBackgroundTask(mMapTaskId); in stop()
1402 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in getBufs()
1405 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs()
1543 rc = mAllocator.waitForBackgroundTask(mAllocTaskId); in getBufsDeferred()
[all …]
DQCameraStream.h184 QCameraAllocator &mAllocator; variable
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h81 sp<IAllocator> mAllocator; variable
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h93 sp<IAllocator> mAllocator; variable
/hardware/google/gchips/include/
DGrallocWrapper.h118 sp<IAllocator> mAllocator; variable
/hardware/interfaces/media/bufferpool/aidl/default/
DAccessor.h201 const std::shared_ptr<BufferPoolAllocator> mAllocator; member
DAccessor.cpp186 : mAllocator(allocator), mScheduleEvictTs(0) {} in Accessor()
209 if (!mBufferPool.getFreeBuffer(mAllocator, params, bufferId, handle)) { in allocate()
213 status = mAllocator->allocate(params, &alloc, &allocSize); in allocate()
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp154 std::shared_ptr<IAllocator> mAllocator; member in GraphicsTestsBase
161 mAllocator = allocator; in Initialize()
162 ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; in Initialize()
163 ASSERT_TRUE(mAllocator->getInterfaceVersion(&mIAllocatorVersion).isOk()); in Initialize()
166 auto status = mAllocator->getIMapperLibrarySuffix(&mapperSuffix); in Initialize()
185 ::ndk::ScopedAStatus status = mAllocator->allocate2(descriptorInfo, 1, &result); in allocate()
215 EXPECT_TRUE(mAllocator->isSupported(descriptorInfo, &ret).isOk()); in isSupported()