Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab033dfa authored by Yu Shan's avatar Yu Shan
Browse files

Add API level to comment to marshal/unmarshal.

Test: None
Bug: None
Change-Id: Icf4c46ed33b17edfdc65e8ebe695b7880ce0defe
parent 79abc051
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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.