Home
last modified time | relevance | path

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

/hardware/interfaces/media/bufferpool/aidl/default/tests/
Dallocator.cpp83 class AllocationAshmem { class
85 AllocationAshmem(int ashmemFd, size_t capacity, bool res) in AllocationAshmem() function in __anon8535dd720211::AllocationAshmem
90 static AllocationAshmem *Alloc(size_t size) { in Alloc()
93 return new AllocationAshmem(ashmemFd, size, ashmemFd >= 0); in Alloc()
96 ~AllocationAshmem() { in ~AllocationAshmem()
113 AllocationDtor(const std::shared_ptr<AllocationAshmem> &alloc) in AllocationDtor()
118 const std::shared_ptr<AllocationAshmem> mAlloc;
149 std::shared_ptr<AllocationAshmem> ashmemAlloc = in allocate()
150 std::shared_ptr<AllocationAshmem>( in allocate()
151 AllocationAshmem::Alloc(ashmemParams.data.capacity)); in allocate()