Searched defs:AshmemMemory (Results 1 – 3 of 3) sorted by relevance
34 struct AshmemMemory : public IMemory { struct35 AshmemMemory(const hidl_memory& memory, void* data) : mMemory(memory), mData(data) {} in AshmemMemory() function37 ~AshmemMemory() { munmap(mData, mMemory.size()); } in ~AshmemMemory() argument40 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()[all …]
39 struct AshmemMemory : public IMemory { struct60 void* mData;
27 AshmemMemory::AshmemMemory(const hidl_memory& memory, void* data) in AshmemMemory() function in android::hidl::memory::V1_0::implementation::AshmemMemory