summaryrefslogtreecommitdiffstats
path: root/include/binder/IMemory.h
diff options
context:
space:
mode:
authorAnu Sundararajan <sanuradha@ti.com>2011-06-22 15:58:59 -0500
committerIliyan Malchev <malchev@google.com>2011-06-27 13:48:51 -0700
commitf24c4cd0f204068a17f61f1c195ccf140c6c1d67 (patch)
tree8bba9602587565eeb9c475f4ccad2e20727ffd41 /include/binder/IMemory.h
parented9bbf27babc7e90a81b229cade498e931ff3dd2 (diff)
downloadframeworks_base-f24c4cd0f204068a17f61f1c195ccf140c6c1d67.zip
frameworks_base-f24c4cd0f204068a17f61f1c195ccf140c6c1d67.tar.gz
frameworks_base-f24c4cd0f204068a17f61f1c195ccf140c6c1d67.tar.bz2
MemoryHeapBase: Save and binderize the offset
The offset that is used in the creation of the MemoryHeapBase must be saved, so that it can be used to recreate the Heap when an IMemory object is passed across process boundary through the binder. Change-Id: Ie618fb5c0718e6711f55ed9235616fd801e648dc Signed-off-by: Anu Sundararajan <sanuradha@ti.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'include/binder/IMemory.h')
-rw-r--r--include/binder/IMemory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/binder/IMemory.h b/include/binder/IMemory.h
index 74d2cc7..2d0db00 100644
--- a/include/binder/IMemory.h
+++ b/include/binder/IMemory.h
@@ -43,6 +43,7 @@ public:
virtual void* getBase() const = 0;
virtual size_t getSize() const = 0;
virtual uint32_t getFlags() const = 0;
+ virtual uint32_t getOffset() const = 0;
// these are there just for backward source compatibility
int32_t heapID() const { return getHeapID(); }