binder_ndk_sys

Function AParcel_markSensitive

Source
pub unsafe extern "C" fn AParcel_markSensitive(parcel: *const AParcel)
Expand description

Data written to the parcel will be zero’d before being deleted or realloced.

The main use of this is marking a parcel that will be used in a transaction with FLAG_CLEAR_BUF. When FLAG_CLEAR_BUF is used, the reply parcel will automatically be marked as sensitive when it is created.

\param parcel The parcel to clear associated data from.