/hardware/google/aemu/host-common/ |
D | address_space_shared_slots_host_memory_allocator_unittests.cpp | 120 TEST(MemBlock, allocate) { in TEST() argument 130 EXPECT_EQ(block.allocate(110), 0); // too large in TEST() 134 off = block.allocate(50); in TEST() 137 off = block.allocate(47); in TEST() 140 off = block.allocate(2); in TEST() 143 off = block.allocate(2); in TEST() 146 off = block.allocate(1); in TEST() 149 off = block.allocate(1); in TEST() 163 uint32_t off60 = block.allocate(60); in TEST() 166 uint32_t off20 = block.allocate(20); in TEST() [all …]
|
/hardware/google/gchips/include/ |
D | GrallocWrapper.h | 90 Error allocate(BufferDescriptor descriptor, uint32_t count, 93 Error allocate(BufferDescriptor descriptor, in allocate() function 96 return allocate(descriptor, 1, outStride, outBufferHandle); in allocate() 99 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, in allocate() function 105 error = allocate(descriptor, count, outStride, outBufferHandles); in allocate() 110 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate() function 113 return allocate(descriptorInfo, 1, outStride, outBufferHandle); in allocate()
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/ |
D | MapperVts.h | 90 std::vector<const native_handle_t*> allocate( 94 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, 97 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate() function 99 return allocate(descriptorInfo, import, Tolerance::kToleranceStrict); in allocate() 102 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate() function 104 return allocate(descriptorInfo, import, tolerance, nullptr); in allocate() 107 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate() function 109 return allocate(descriptorInfo, import, Tolerance::kToleranceStrict, outStride); in allocate()
|
/hardware/interfaces/graphics/mapper/2.0/vts/functional/ |
D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 79 mGralloc->allocate(descriptor, count, false, &stride)); in TEST_P() 97 mGralloc->getAllocator()->allocate(descriptor, 1, in TEST_P() 112 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() 128 mGralloc->getAllocator()->allocate( in TEST_P() 170 ASSERT_NO_FATAL_FAILURE(bufferHandle = mGralloc->allocate(mDummyDescriptorInfo, true)); in TEST_P() 179 ASSERT_NO_FATAL_FAILURE(clonedBufferHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P() 197 ASSERT_NO_FATAL_FAILURE(rawHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P() 224 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() 262 ASSERT_NO_FATAL_FAILURE(clonedBufferHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P() 278 ASSERT_NO_FATAL_FAILURE(bufferHandle = mGralloc->allocate(info, true, &stride)); in TEST_P() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_NV_descriptor_pool_overallocation.adoc | 17 many descriptor sets it may need to allocate from a descriptor pool, or how 18 many descriptors of any of the descriptor types it may need to allocate from 26 lets the application allocate more than 29 application allocate more descriptors than initially specified by
|
/hardware/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 80 mGralloc->allocate(descriptor, count, false, &stride)); in TEST_P() 98 mGralloc->getAllocator()->allocate(descriptor, 1, in TEST_P() 113 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() 129 mGralloc->getAllocator()->allocate( in TEST_P() 171 ASSERT_NO_FATAL_FAILURE(bufferHandle = mGralloc->allocate(mDummyDescriptorInfo, true)); in TEST_P() 180 ASSERT_NO_FATAL_FAILURE(clonedBufferHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P() 198 ASSERT_NO_FATAL_FAILURE(rawHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P() 225 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() 263 ASSERT_NO_FATAL_FAILURE(clonedBufferHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P() 279 ASSERT_NO_FATAL_FAILURE(bufferHandle = mGralloc->allocate(info, true, &stride)); in TEST_P() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | alloc_controller.h | 44 virtual int allocate(alloc_data& data, int usage) = 0; 60 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.h | 44 virtual int allocate(alloc_data& data, int usage) = 0; 60 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | alloc_controller.h | 44 virtual int allocate(alloc_data& data, int usage) = 0; 60 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.h | 44 virtual int allocate(alloc_data& data, int usage) = 0; 60 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.h | 55 virtual int allocate(alloc_data& data, int usage) = 0; 73 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | alloc_controller.h | 55 virtual int allocate(alloc_data& data, int usage) = 0; 73 virtual int allocate(alloc_data& data, int usage);
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.h | 55 virtual int allocate(alloc_data& data, int usage) = 0; 73 virtual int allocate(alloc_data& data, int usage);
|
/hardware/interfaces/graphics/mapper/2.1/vts/functional/ |
D | VtsHalGraphicsMapperV2_1TargetTest.cpp | 66 ASSERT_NO_FATAL_FAILURE(bufferHandle = mGralloc->allocate(mDummyDescriptorInfo, true, &stride)); in TEST_P() 92 mGralloc->allocate(mDummyDescriptorInfo, false))); in TEST_P() 113 bufferHandle = const_cast<native_handle_t*>(mGralloc->allocate(info, true, &stride))); in TEST_P() 154 ASSERT_NO_FATAL_FAILURE(bufferHandle = mGralloc->allocate(mDummyDescriptorInfo, true)); in TEST_P() 180 mGralloc->allocate(mDummyDescriptorInfo, false))); in TEST_P()
|
/hardware/interfaces/graphics/allocator/4.0/ |
D | IAllocator.hal | 28 * @param descriptor Properties of the buffers to allocate. This must be 30 * @param count The number of buffers to allocate. 42 allocate(BufferDescriptor descriptor, uint32_t count)
|
/hardware/interfaces/graphics/allocator/aidl/vts/ |
D | VtsHalGraphicsAllocatorAidl_TargetTest.cpp | 177 std::unique_ptr<BufferHandle> allocate(const BufferDescriptorInfo& descriptorInfo) { in allocate() function in GraphicsTestsBase 189 status = mAllocator->allocate(descriptor, 1, &result); in allocate() 302 auto buffer = allocate({ in TEST_P() 342 EXPECT_TRUE(allocate(info)); in TEST_P() 347 EXPECT_FALSE(allocate(info)) << "allocate succeeded for unknown-to-HAL usage"; in TEST_P() 368 EXPECT_FALSE(allocate(info)) << "allocate succeeded for unknown-to-HAL option"; in TEST_P() 383 auto buffer = allocate(info); in TEST_P() 425 auto buffer = allocate(info); in TEST_P()
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/ |
D | MapperVts.h | 54 std::vector<const native_handle_t*> allocate(const BufferDescriptor& descriptor, uint32_t count, 56 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
|
/hardware/interfaces/graphics/allocator/3.0/ |
D | IAllocator.hal | 36 * @param descriptor Properties of the buffers to allocate. This must be 38 * @param count The number of buffers to allocate. 50 allocate(BufferDescriptor descriptor, uint32_t count)
|
/hardware/interfaces/graphics/allocator/2.0/ |
D | IAllocator.hal | 36 * @param descriptor specifies the properties of the buffers to allocate. 37 * @param count is the number of buffers to allocate. 53 allocate(BufferDescriptor descriptor, uint32_t count)
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.h | 109 virtual int allocate(uint8_t count, size_t size) = 0; 193 virtual int allocate(uint8_t count, size_t size); 226 virtual int allocate(uint8_t count, size_t size); 249 virtual int allocate(uint8_t count, size_t size); 287 virtual int allocate(uint8_t count, size_t size);
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
D | MapperVts.cpp | 76 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate() function in android::hardware::graphics::mapper::V2_0::vts::Gralloc 81 mAllocator->allocate( in allocate() 107 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate() function in android::hardware::graphics::mapper::V2_0::vts::Gralloc 114 auto buffers = allocate(descriptor, 1, import, outStride); in allocate()
|
/hardware/google/gfxstream/guest/android/ |
D | GrallocEmulated.h | 71 int allocate(uint32_t width, uint32_t height, uint32_t format, uint64_t usage, 74 AHardwareBuffer* allocate(uint32_t width, uint32_t height, uint32_t format);
|
D | GrallocEmulated.cpp | 219 auto ahb = allocate(width, height, *drmFormat); in createColorBuffer() 228 int EmulatedGralloc::allocate(uint32_t width, uint32_t height, uint32_t ahbFormat, uint64_t usage, in allocate() function in gfxstream::EmulatedGralloc 238 *outputAhb = allocate(width, height, *drmFormat); in allocate() 246 AHardwareBuffer* EmulatedGralloc::allocate(uint32_t width, uint32_t height, uint32_t drmFormat) { in allocate() function in gfxstream::EmulatedGralloc
|
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/ |
D | MapperVts.h | 54 std::vector<const native_handle_t*> allocate(const BufferDescriptor& descriptor, 57 const native_handle_t* allocate(const IMapper::BufferDescriptorInfo& descriptorInfo,
|
/hardware/interfaces/media/bufferpool/aidl/default/tests/ |
D | single.cpp | 99 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer[i]); in TEST_F() 125 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &buffer); in TEST_F() 152 status = mManager->allocate(mConnectionId, vecParams, &allocHandle, &sbuffer); in TEST_F()
|