Lines Matching refs:C2DmaBufAllocation

102 class C2DmaBufAllocation : public C2LinearAllocation {  class
108 virtual ~C2DmaBufAllocation() override;
125 C2DmaBufAllocation(BufferAllocator& alloc, size_t allocSize, size_t capacity,
135 C2DmaBufAllocation(size_t size, int shareFd, C2Allocator::id_t id);
167 C2_DO_NOT_COPY(C2DmaBufAllocation);
170 c2_status_t C2DmaBufAllocation::map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence* fence, in map()
207 c2_status_t C2DmaBufAllocation::unmap(void* addr, size_t size, C2Fence* fence) { in unmap()
233 c2_status_t C2DmaBufAllocation::status() const { in status()
237 C2Allocator::id_t C2DmaBufAllocation::getAllocatorId() const { in getAllocatorId()
241 bool C2DmaBufAllocation::equals(const std::shared_ptr<C2LinearAllocation>& other) const { in equals()
246 std::shared_ptr<C2DmaBufAllocation> otherAsBuf = in equals()
247 std::static_pointer_cast<C2DmaBufAllocation>(other); in equals()
251 const C2Handle* C2DmaBufAllocation::handle() const { in handle()
255 C2DmaBufAllocation::~C2DmaBufAllocation() { in ~C2DmaBufAllocation()
268 C2DmaBufAllocation::C2DmaBufAllocation(BufferAllocator& alloc, size_t allocSize, size_t capacity, in C2DmaBufAllocation() function in android::C2DmaBufAllocation
285 C2DmaBufAllocation::C2DmaBufAllocation(size_t size, int shareFd, C2Allocator::id_t id) in C2DmaBufAllocation() function in android::C2DmaBufAllocation
402 std::shared_ptr<C2DmaBufAllocation> alloc = std::make_shared<C2DmaBufAllocation>( in newLinearAllocation()
424 std::shared_ptr<C2DmaBufAllocation> alloc = in priorLinearAllocation()
425 std::make_shared<C2DmaBufAllocation>(h->size(), h->bufferFd(), getId()); in priorLinearAllocation()