Lines Matching refs:library
60 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()
118 library, kLibraryFallback, dlerror()); in Init()
119 library = kLibraryFallback; in Init()
120 handle_ = dlopen(library, RTLD_NOW); in Init()
122 ALOGE("Failed to dlopen %s: %s", library, dlerror()); in Init()