APersistableBundle_writeToParcel

Function APersistableBundle_writeToParcel 

Source
pub unsafe extern "C" fn APersistableBundle_writeToParcel(
    pBundle: *const APersistableBundle,
    parcel: *mut AParcel,
) -> binder_status_t
Expand description

Write an APersistableBundle to an AParcel.

Available since API level 202404.

\param pBundle bundle to write to the parcel \param parcel to write to

\return STATUS_OK on success. STATUS_BAD_VALUE if either pBundle or parcel is null, or if the APersistableBundle* fails to serialize (eg, internally corrupted) STATUS_NO_MEMORY if the parcel runs out of space to store the pBundle & is unable to allocate more STATUS_FDS_NOT_ALLOWED if the parcel does not allow storing FDs