Home
last modified time | relevance | path

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

/art/libnativebridge/include/nativebridge/
Dnative_bridge.h76 void* NativeBridgeLoadLibrary(const char* libpath, int flag);
86 bool NativeBridgeIsSupported(const char* libpath);
168 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag,
201 void* (*loadLibrary)(const char* libpath, int flag);
223 bool (*isSupported)(const char* libpath);
361 void* (*loadLibraryExt)(const char* libpath, int flag, struct native_bridge_namespace_t* ns);
/art/libnativebridge/
Dnative_bridge_lazy.cc88 void* NativeBridgeLoadLibrary(const char* libpath, int flag) { in NativeBridgeLoadLibrary() argument
90 return f(libpath, flag); in NativeBridgeLoadLibrary()
98 bool NativeBridgeIsSupported(const char* libpath) { in NativeBridgeIsSupported() argument
100 return f(libpath); in NativeBridgeIsSupported()
159 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag, in NativeBridgeLoadLibraryExt() argument
162 return f(libpath, flag, ns); in NativeBridgeLoadLibraryExt()
Dnative_bridge.cc510 void* NativeBridgeLoadLibrary(const char* libpath, int flag) { in NativeBridgeLoadLibrary() argument
512 return callbacks->loadLibrary(libpath, flag); in NativeBridgeLoadLibrary()
525 bool NativeBridgeIsSupported(const char* libpath) { in NativeBridgeIsSupported() argument
527 return callbacks->isSupported(libpath); in NativeBridgeIsSupported()
649 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag, native_bridge_namespace_t* ns) { in NativeBridgeLoadLibraryExt() argument
652 return callbacks->loadLibraryExt(libpath, flag, ns); in NativeBridgeLoadLibraryExt()
/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/libnativeloader/
Dnative_loader_test.cpp192 bool NativeBridgeIsSupported(const char* libpath) { in NativeBridgeIsSupported() argument
193 return mock->NativeBridgeIsSupported(libpath); in NativeBridgeIsSupported()
213 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag, in NativeBridgeLoadLibraryExt() argument
215 return mock->mock_dlopen_ext(true, libpath, flag, TO_MOCK_NAMESPACE(ns)); in NativeBridgeLoadLibraryExt()