summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2023-06-28 23:55:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-06-28 23:55:45 +0000
commit8a04aa9e901b2ae0c38edb70d50ba0a8961eb7ba (patch)
treeb54718eb6b735670df9095419bdac7ec6e1063a0 /libs/binder/Parcel.cpp
parentc9f6048ef846ac3f7d7eb668c89c9cc036ca5ae4 (diff)
parent418914a7c54f4aa0418b6ddbb5096b66286cd80e (diff)
Merge "libbinder_ndk: fwd fuzzing status to NDK binders"
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r--libs/binder/Parcel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index 2c2a1b636e..9b685f9145 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -992,6 +992,10 @@ void Parcel::setServiceFuzzing() {
mServiceFuzzing = true;
}
+bool Parcel::isServiceFuzzing() const {
+ return mServiceFuzzing;
+}
+
binder::Status Parcel::enforceNoDataAvail() const {
if (!mEnforceNoDataAvail) {
return binder::Status::ok();