/hardware/google/gfxstream/guest/vulkan_enc/ |
D | HostVisibleMemoryVirtualization.cpp | 37 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()
|
D | HostVisibleMemoryVirtualization.h | 68 SubAllocatorPtr mAllocator; variable
|
/hardware/interfaces/graphics/mapper/3.0/utils/vts/ |
D | MapperVts.cpp | 38 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/ |
D | MapperVts.cpp | 31 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/ |
D | single.cpp | 55 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
|
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 __anon2f68fe1c0111::BufferpoolMultiTest
|
D | cond.cpp | 98 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/ |
D | VtsHalGraphicsAllocatorAidl_TargetTest.cpp | 133 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/ |
D | QCameraStream.cpp | 369 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 …]
|
D | QCameraStream.h | 184 QCameraAllocator &mAllocator; variable
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/ |
D | MapperVts.h | 81 sp<IAllocator> mAllocator; variable
|
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/ |
D | MapperVts.h | 93 sp<IAllocator> mAllocator; variable
|
/hardware/google/gchips/include/ |
D | GrallocWrapper.h | 118 sp<IAllocator> mAllocator; variable
|
/hardware/interfaces/media/bufferpool/aidl/default/ |
D | Accessor.h | 201 const std::shared_ptr<BufferPoolAllocator> mAllocator; member
|
D | Accessor.cpp | 186 : 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/ |
D | VtsHalGraphicsMapperStableC_TargetTest.cpp | 154 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()
|