Searched refs:library (Results 1 – 2 of 2) sorted by relevance
60 const char* JniInvocation::GetLibrary(const char* library, char* buffer) { in GetLibrary() argument72 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() argument103 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 …]
39 bool Init(const char* library);45 static const char* GetLibrary(const char* library, char* buffer);