Revert "Track ashmem memory usage in Parcel"
This reverts commit e2f499fb734bc30a1e1c947112caa0727349b6ed.
Bug: 25169267
Bug: 25191602
Bug: 25004154
Change-Id: I24bb0da4e8739ee5a0c251e4adac9904827144e0
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 @@
private:
size_t mBlobAshmemSize;
- size_t mOpenAshmemSize;
public:
size_t getBlobAshmemSize() const;
- size_t getOpenAshmemSize() const;
};
// ---------------------------------------------------------------------------
@@ -414,9 +412,9 @@
// 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);