summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIan Pedowitz <ijpedowitz@google.com>2015-10-22 22:08:10 +0000
committerIan Pedowitz <ijpedowitz@google.com>2015-10-22 22:09:16 +0000
commit6880307e8e35a6c484942443fb4ddd6173126152 (patch)
tree1e84f71a43565025c885ad562b73bc6f87500cf1 /include
parente2f499fb734bc30a1e1c947112caa0727349b6ed (diff)
downloadframeworks_native-6880307e8e35a6c484942443fb4ddd6173126152.zip
frameworks_native-6880307e8e35a6c484942443fb4ddd6173126152.tar.gz
frameworks_native-6880307e8e35a6c484942443fb4ddd6173126152.tar.bz2
Revert "Track ashmem memory usage in Parcel"
This reverts commit e2f499fb734bc30a1e1c947112caa0727349b6ed. Bug: 25169267 Bug: 25191602 Bug: 25004154 Change-Id: I24bb0da4e8739ee5a0c251e4adac9904827144e0
Diffstat (limited to 'include')
-rw-r--r--include/binder/Parcel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/binder/Parcel.h b/include/binder/Parcel.h
index 220a935..3ada1e9 100644
--- a/include/binder/Parcel.h
+++ b/include/binder/Parcel.h
@@ -342,11 +342,9 @@ public:
private:
size_t mBlobAshmemSize;
- size_t mOpenAshmemSize;
public:
size_t getBlobAshmemSize() const;
- size_t getOpenAshmemSize() const;
};
// ---------------------------------------------------------------------------
@@ -414,9 +412,9 @@ inline TextOutput& operator<<(TextOutput& to, const Parcel& parcel)
// Generic acquire and release of objects.
void acquire_object(const sp<ProcessState>& proc,
- const flat_binder_object& obj, const void* who, size_t* outAshmemSize);
+ const flat_binder_object& obj, const void* who);
void release_object(const sp<ProcessState>& proc,
- const flat_binder_object& obj, const void* who, size_t* outAshmemSize);
+ const flat_binder_object& obj, const void* who);
void flatten_binder(const sp<ProcessState>& proc,
const sp<IBinder>& binder, flat_binder_object* out);