summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2024-12-30 20:02:13 +0000
committer Steven Moreland <smoreland@google.com> 2024-12-30 20:02:13 +0000
commit3494c4fd971fc6ed99a177f0523d71d50c5eaee0 (patch)
treebd98bbe4704ffb6400c56b924babab20a11d819c /libs/binder/Parcel.cpp
parent38a4ab9f6e7a58abefb2f4f0f2672f1cf51885bd (diff)
libbinder: remove obsolete getBlobAshmemSize
This used to be referenced by some prebuilts, but should be able to remove now. Bug: N/A Test: N/A Change-Id: I77306c123bf3535d7a0cb7857e1e1d99d3c1c7d4
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r--libs/binder/Parcel.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index 2d65cf53c8..a7bad4ef78 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -3287,14 +3287,6 @@ void Parcel::scanForFds() const {
}
#ifdef BINDER_WITH_KERNEL_IPC
-size_t Parcel::getBlobAshmemSize() const
-{
- // This used to return the size of all blobs that were written to ashmem, now we're returning
- // the ashmem currently referenced by this Parcel, which should be equivalent.
- // TODO(b/202029388): Remove method once ABI can be changed.
- return getOpenAshmemSize();
-}
-
size_t Parcel::getOpenAshmemSize() const
{
auto* kernelFields = maybeKernelFields();