diff options
author | 2024-12-30 20:08:53 +0000 | |
---|---|---|
committer | 2024-12-30 20:52:46 +0000 | |
commit | 8aeb1def33ded8c0ec72faa5f47b6d72aabbdd68 (patch) | |
tree | a62e912dff78522b77f1aa39638fbc879f09342f /libs/binder/Parcel.cpp | |
parent | 38a4ab9f6e7a58abefb2f4f0f2672f1cf51885bd (diff) |
libbinder: remove unique_ptr FD APIs.
There are many deprecated APIs here, and mkate@'s data
indicates they aren't used. Going ahead and trying to
remove one of them to see what happens.
Bug: N/A
Test: N/A
Change-Id: I91b38fbe88a6e4ece3d261f32e93f45de2a6a0fb
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r-- | libs/binder/Parcel.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index 2d65cf53c8..03c174bf45 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp @@ -1314,10 +1314,6 @@ status_t Parcel::writeUniqueFileDescriptorVector(const std::vector<unique_fd>& v status_t Parcel::writeUniqueFileDescriptorVector(const std::optional<std::vector<unique_fd>>& val) { return writeData(val); } -status_t Parcel::writeUniqueFileDescriptorVector( - const std::unique_ptr<std::vector<unique_fd>>& val) { - return writeData(val); -} status_t Parcel::writeStrongBinderVector(const std::vector<sp<IBinder>>& val) { return writeData(val); } status_t Parcel::writeStrongBinderVector(const std::optional<std::vector<sp<IBinder>>>& val) { return writeData(val); } @@ -1373,10 +1369,6 @@ status_t Parcel::readUtf8VectorFromUtf16Vector(std::vector<std::string>* val) co status_t Parcel::readUniqueFileDescriptorVector(std::optional<std::vector<unique_fd>>* val) const { return readData(val); } -status_t Parcel::readUniqueFileDescriptorVector( - std::unique_ptr<std::vector<unique_fd>>* val) const { - return readData(val); -} status_t Parcel::readUniqueFileDescriptorVector(std::vector<unique_fd>* val) const { return readData(val); } |