diff options
author | Anu Sundararajan <sanuradha@ti.com> | 2011-06-22 15:58:59 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-06-27 13:48:51 -0700 |
commit | 5728a92e29c1c9729017a82c5d0bc18fc1069923 (patch) | |
tree | f4f3b360d51155bacd5623286ba2f507b914a3ac /include/binder/IMemory.h | |
parent | 35766cfcc4c9ea07b6ae375ced2b292789382621 (diff) | |
download | frameworks_native-5728a92e29c1c9729017a82c5d0bc18fc1069923.zip frameworks_native-5728a92e29c1c9729017a82c5d0bc18fc1069923.tar.gz frameworks_native-5728a92e29c1c9729017a82c5d0bc18fc1069923.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.h | 1 |
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(); } |