Lines Matching defs:AshmemMemory
34 struct AshmemMemory : public IMemory { struct
35 AshmemMemory(const hidl_memory& memory, void* data) : mMemory(memory), mData(data) {} in AshmemMemory() function
37 ~AshmemMemory() { munmap(mData, mMemory.size()); } in ~AshmemMemory() argument
40 Return<void*> getPointer() override { return mData; } in getPointer()
41 Return<uint64_t> getSize() override { return mMemory.size(); } in getSize()
43 Return<void> update() override { return Void(); } in update()
44 Return<void> updateRange(uint64_t /*start*/, uint64_t /*length*/) override { return Void(); } in updateRange()
45 Return<void> read() override { return Void(); } in read()
46 Return<void> readRange(uint64_t /*start*/, uint64_t /*length*/) override { return Void(); } in readRange()
47 Return<void> commit() override { return Void(); } in commit()
56 void* mData;