binder_ndk_sys

Function AServiceManager_openDeclaredPassthroughHal

Source
pub unsafe extern "C" fn AServiceManager_openDeclaredPassthroughHal(
    interface: *const c_char,
    instance: *const c_char,
    flag: c_int,
) -> *mut c_void
Expand description

Opens a declared passthrough HAL.

\param instance identifier of the passthrough service (e.g. “mapper”) \param instance identifier of the implemenatation (e.g. “default”) \param flag passed to dlopen()

\return the result of dlopen of the specified HAL