Lines Matching refs:callbacks
117 static const NativeBridgeCallbacks* callbacks = nullptr; variable
185 if (callbacks == nullptr || callbacks->version == 0 || version == 0) { in isCompatibleWith()
190 if (callbacks->version >= SIGNAL_VERSION) { in isCompatibleWith()
191 return callbacks->isCompatibleWith(version); in isCompatibleWith()
229 callbacks = reinterpret_cast<NativeBridgeCallbacks*>(dlsym(handle, in LoadNativeBridge()
231 if (callbacks != nullptr) { in LoadNativeBridge()
236 callbacks = nullptr; in LoadNativeBridge()
247 if (callbacks == nullptr) { in LoadNativeBridge()
336 return callbacks->preZygoteFork(); in PreZygoteForkNativeBridge()
452 if (callbacks->initialize(runtime_callbacks, app_code_cache_dir, instruction_set)) { in InitializeNativeBridge()
453 SetupEnvironment(callbacks, env, instruction_set); in InitializeNativeBridge()
512 return callbacks->loadLibrary(libpath, flag); in NativeBridgeLoadLibrary()
520 return callbacks->getTrampoline(handle, name, shorty, len); in NativeBridgeGetTrampoline()
527 return callbacks->isSupported(libpath); in NativeBridgeIsSupported()
534 return callbacks->version; in NativeBridgeGetVersion()
542 return callbacks->getSignalHandler(signal); in NativeBridgeGetSignalHandler()
553 return callbacks->unloadLibrary(handle); in NativeBridgeUnloadLibrary()
564 return callbacks->getError(); in NativeBridgeGetError()
575 return callbacks->isPathSupported(path); in NativeBridgeIsPathSupported()
587 return callbacks->initAnonymousNamespace(public_ns_sonames, anon_ns_library_path); in NativeBridgeInitAnonymousNamespace()
604 return callbacks->createNamespace(name, in NativeBridgeCreateNamespace()
622 return callbacks->linkNamespaces(from, to, shared_libs_sonames); in NativeBridgeLinkNamespaces()
637 return callbacks->getExportedNamespace(name); in NativeBridgeGetExportedNamespace()
643 return callbacks->getVendorNamespace(); in NativeBridgeGetExportedNamespace()
652 return callbacks->loadLibraryExt(libpath, flag, ns); in NativeBridgeLoadLibraryExt()