summaryrefslogtreecommitdiffstats
path: root/include/binder
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2015-04-10 10:08:45 -0400
committerDaniel Sandler <dsandler@android.com>2015-04-16 04:08:53 +0000
commitaa5c2346c7291465aaca53f59878582dccbe4835 (patch)
tree5e174252b660c88e6abbd90b402789e80b654aea /include/binder
parent668285721ba81fc4fb6f5e223b382f5e604c64c2 (diff)
downloadframeworks_native-aa5c2346c7291465aaca53f59878582dccbe4835.zip
frameworks_native-aa5c2346c7291465aaca53f59878582dccbe4835.tar.gz
frameworks_native-aa5c2346c7291465aaca53f59878582dccbe4835.tar.bz2
Add ashmem stats to Parcels
Requires change Ifaf115da in frameworks/base. Bug: 20079551 Change-Id: Ifaf115dabd1a59cdb1b46e2d49c41f64ac107de4
Diffstat (limited to 'include/binder')
-rw-r--r--include/binder/Parcel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/binder/Parcel.h b/include/binder/Parcel.h
index 0ba3abe..da960aa 100644
--- a/include/binder/Parcel.h
+++ b/include/binder/Parcel.h
@@ -337,6 +337,12 @@ public:
public:
inline void* data() { return mData; }
};
+
+private:
+ size_t mBlobAshmemSize;
+
+public:
+ size_t getBlobAshmemSize() const;
};
// ---------------------------------------------------------------------------