binder_ndk_sys

Function AIBinder_ping

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

Built-in transaction for all binder objects. This sends a transaction that will immediately return. Usually this is used to make sure that a binder is alive, as a placeholder call, or as a consistency check.

Available since API level 29.

\param binder the binder being queried.

\return STATUS_OK if the ping succeeds.