From 3494c4fd971fc6ed99a177f0523d71d50c5eaee0 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 30 Dec 2024 20:02:13 +0000 Subject: 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 --- libs/binder/Parcel.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libs/binder/Parcel.cpp') 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(); -- cgit v1.2.3-59-g8ed1b