summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-06 18:09:45 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-01-06 18:09:45 -0800
commit1656f6ba8334eeba3823f0669eccd07a464d1654 (patch)
treec8cc5748be45e08ad4fe8453f7a943a506f67f29 /libs/binder/Parcel.cpp
parente963fbdf70dc9eb223bf53060e294bd89282d111 (diff)
parent3494c4fd971fc6ed99a177f0523d71d50c5eaee0 (diff)
Merge "libbinder: remove obsolete getBlobAshmemSize" into main
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 03c174bf45..a97d111b97 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -3279,14 +3279,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();