binder_ndk_sys

Function AServiceManager_getUpdatableApexName

Source
pub unsafe extern "C" fn AServiceManager_getUpdatableApexName(
    instance: *const c_char,
    context: *mut c_void,
    callback: Option<unsafe extern "C" fn(arg1: *const c_char, arg2: *mut c_void)>,
)
Expand description

Returns the APEX name if a service is declared as updatable via an APEX module.

\param instance identifier of the service \param context to pass to callback \param callback taking the APEX name (e.g. ‘com.android.foo’) and context