Home
last modified time | relevance | path

Searched refs:libpath (Results 1 – 4 of 4) sorted by relevance

/art/libnativebridge/include/nativebridge/
Dnative_bridge.h81 void* NativeBridgeLoadLibrary(const char* libpath, int flag);
91 bool NativeBridgeIsSupported(const char* libpath);
173 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag,
206 void* (*loadLibrary)(const char* libpath, int flag);
228 bool (*isSupported)(const char* libpath);
366 void* (*loadLibraryExt)(const char* libpath, int flag, struct native_bridge_namespace_t* ns);
/art/test/115-native-bridge/
Dnativebridge.cc441 extern "C" void* native_bridge_loadLibrary(const char* libpath, int flag) { in native_bridge_loadLibrary() argument
442 if (strstr(libpath, "libinvalid.so") != nullptr) { in native_bridge_loadLibrary()
446 size_t len = strlen(libpath); in native_bridge_loadLibrary()
448 strncpy(tmp, libpath, len); in native_bridge_loadLibrary()
459 printf("Was looking for %s.\n", libpath); in native_bridge_loadLibrary()
483 extern "C" bool native_bridge_isSupported(const char* libpath) { in native_bridge_isSupported() argument
486 if (libpath == nullptr) { in native_bridge_isSupported()
490 return strcmp(libpath, "libjavacore.so") != 0; in native_bridge_isSupported()
644 extern "C" void* native_bridge_loadLibraryExt(const char* libpath ATTRIBUTE_UNUSED, in native_bridge_loadLibraryExt()
/art/libnativebridge/
Dnative_bridge.cc563 void* NativeBridgeLoadLibrary(const char* libpath, int flag) { in NativeBridgeLoadLibrary() argument
565 return callbacks->loadLibrary(libpath, flag); in NativeBridgeLoadLibrary()
578 bool NativeBridgeIsSupported(const char* libpath) { in NativeBridgeIsSupported() argument
580 return callbacks->isSupported(libpath); in NativeBridgeIsSupported()
702 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag, native_bridge_namespace_t* ns) { in NativeBridgeLoadLibraryExt() argument
705 return callbacks->loadLibraryExt(libpath, flag, ns); in NativeBridgeLoadLibraryExt()
/art/libnativeloader/
Dnative_loader_test.h173 bool NativeBridgeIsSupported(const char* libpath) { in NativeBridgeIsSupported() argument
174 return mock->NativeBridgeIsSupported(libpath); in NativeBridgeIsSupported()
194 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag, in NativeBridgeLoadLibraryExt() argument
196 return mock->mock_dlopen_ext(true, libpath, flag, TO_MOCK_NAMESPACE(ns)); in NativeBridgeLoadLibraryExt()