summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yu Shan <shanyu@google.com> 2021-09-14 17:39:00 -0700
committer Yu Shan <shanyu@google.com> 2021-09-14 17:40:18 -0700
commitab033dfa03d202fde73a06ab4c4a1a19a54c59d0 (patch)
tree8971811c7cc9c11ed7683bee9a0084f05275d13a
parent79abc0518eab5d832b1088faea291b48d921f1c7 (diff)
Add API level to comment to marshal/unmarshal.
Test: None Bug: None Change-Id: Icf4c46ed33b17edfdc65e8ebe695b7880ce0defe
-rw-r--r--libs/binder/ndk/include_ndk/android/binder_parcel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/binder/ndk/include_ndk/android/binder_parcel.h b/libs/binder/ndk/include_ndk/android/binder_parcel.h
index a2f5c93cb9..84575811f0 100644
--- a/libs/binder/ndk/include_ndk/android/binder_parcel.h
+++ b/libs/binder/ndk/include_ndk/android/binder_parcel.h
@@ -1167,6 +1167,8 @@ AParcel* AParcel_create() __INTRODUCED_IN(31);
/**
* Marshals the raw bytes of the Parcel to a buffer.
*
+ * Available since API level 33.
+ *
* The parcel must not contain any binders or file descriptors.
*
* The data you retrieve here must not be placed in any kind of persistent storage. (on local disk,
@@ -1189,6 +1191,8 @@ binder_status_t AParcel_marshal(const AParcel* parcel, uint8_t* buffer, size_t s
/**
* Set the data in the parcel to the raw bytes from the buffer.
*
+ * Available since API level 33.
+ *
* \param parcel The parcel to set data.
* \param buffer The data buffer to set.
* \param len The size of the data to set.