diff options
Diffstat (limited to 'include/binder/Parcel.h')
| -rw-r--r-- | include/binder/Parcel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/binder/Parcel.h b/include/binder/Parcel.h index ae76ffbb38..430c3ff00c 100644 --- a/include/binder/Parcel.h +++ b/include/binder/Parcel.h @@ -125,6 +125,8 @@ public: status_t writeCharVector(const std::vector<char16_t>& val); status_t writeString16Vector(const std::vector<String16>& val); + status_t writeStrongBinderVector(const std::vector<sp<IBinder>>& val); + template<typename T> status_t write(const Flattenable<T>& val); @@ -202,7 +204,9 @@ public: wp<IBinder> readWeakBinder() const; template<typename T> - status_t readStrongBinder(sp<T>* val) const; + status_t readStrongBinder(sp<T>* val) const; + + status_t readStrongBinderVector(std::vector<sp<IBinder>>* val) const; status_t readByteVector(std::vector<int8_t>* val) const; status_t readInt32Vector(std::vector<int32_t>* val) const; |