binder_ndk_sys

Function AIBinder_debugGetRefCount

Source
pub unsafe extern "C" fn AIBinder_debugGetRefCount(
    binder: *mut AIBinder,
) -> i32
Expand description

For debugging only!

Available since API level 29.

\param binder the binder object to retrieve the refcount of.

\return the number of strong-refs on this binder in this process. If binder is null, this will be -1.