Home
last modified time | relevance | path

Searched refs:library (Results 1 – 2 of 2) sorted by relevance

/libnativehelper/
DJniInvocation.cpp60 const char* JniInvocation::GetLibrary(const char* library, char* buffer) { in GetLibrary() argument
72 library = kLibraryFallback; in GetLibrary()
90 if (library == NULL) { in GetLibrary()
91 library = default_library; in GetLibrary()
94 return library; in GetLibrary()
97 bool JniInvocation::Init(const char* library) { in Init() argument
103 library = GetLibrary(library, buffer); in Init()
105 handle_ = dlopen(library, RTLD_NOW); in Init()
107 if (strcmp(library, kLibraryFallback) == 0) { in Init()
109 ALOGE("Failed to dlopen %s: %s", library, dlerror()); in Init()
[all …]
/libnativehelper/include/nativehelper/
DJniInvocation.h39 bool Init(const char* library);
45 static const char* GetLibrary(const char* library, char* buffer);