Home
last modified time | relevance | path

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

/frameworks/base/include/binder/
DMemoryHeapPmem.h37 class MemoryPmem : public BnMemory {
39 MemoryPmem(const sp<MemoryHeapPmem>& heap);
40 ~MemoryPmem();
67 virtual sp<MemoryPmem> createMemory(size_t offset, size_t size);
68 void remove(const wp<MemoryPmem>& memory);
73 SortedVector< wp<MemoryPmem> > mAllocations;
/frameworks/base/libs/binder/
DMemoryHeapPmem.cpp41 MemoryHeapPmem::MemoryPmem::MemoryPmem(const sp<MemoryHeapPmem>& heap) in MemoryPmem() function in android::MemoryHeapPmem::MemoryPmem
46 MemoryHeapPmem::MemoryPmem::~MemoryPmem() { in ~MemoryPmem()
54 class SubRegionMemory : public MemoryHeapPmem::MemoryPmem {
68 : MemoryHeapPmem::MemoryPmem(heap), mSize(size), mOffset(offset) in SubRegionMemory()
171 sp<MemoryPmem> memory = createMemory(offset, size); in mapMemory()
179 sp<MemoryHeapPmem::MemoryPmem> MemoryHeapPmem::createMemory( in createMemory()
226 SortedVector< wp<MemoryPmem> > allocations; in revoke()
235 sp<MemoryPmem> memory(allocations[i].promote()); in revoke()
241 void MemoryHeapPmem::remove(const wp<MemoryPmem>& memory) in remove()