Searched refs:libHandle (Results 1 – 3 of 3) sorted by relevance
49 NnApiSupportLibrary(const NnApiSLDriverImplFL5& impl, void* libHandle) in NnApiSupportLibrary()50 : libHandle(libHandle), impl(impl) {} in NnApiSupportLibrary()55 NnApiSupportLibrary(const NnApiSLDriverImplFL8& impl, void* libHandle) in NnApiSupportLibrary()56 : libHandle(libHandle), impl(impl) {} in NnApiSupportLibrary()58 if (libHandle != nullptr) { in ~NnApiSupportLibrary()59 dlclose(libHandle); in ~NnApiSupportLibrary()60 libHandle = nullptr; in ~NnApiSupportLibrary()89 void* libHandle = nullptr; member102 std::unique_ptr<const NnApiSupportLibrary> loadNnApiSupportLibrary(void* libHandle);
28 void* libHandle = dlopen(libName.c_str(), RTLD_LAZY | RTLD_LOCAL | RTLD_NODELETE); in loadNnApiSupportLibrary() local29 if (libHandle == nullptr) { in loadNnApiSupportLibrary()34 auto result = loadNnApiSupportLibrary(libHandle); in loadNnApiSupportLibrary()36 dlclose(libHandle); in loadNnApiSupportLibrary()41 std::unique_ptr<const NnApiSupportLibrary> loadNnApiSupportLibrary(void* libHandle) { in loadNnApiSupportLibrary() argument44 dlsym(libHandle, "ANeuralNetworks_getSLDriverImpl")); in loadNnApiSupportLibrary()63 libHandle); in loadNnApiSupportLibrary()67 libHandle); in loadNnApiSupportLibrary()71 libHandle); in loadNnApiSupportLibrary()75 libHandle); in loadNnApiSupportLibrary()
66 void* libHandle = dlopen(driverPath.c_str(), RTLD_LAZY | RTLD_LOCAL | RTLD_NODELETE); in registerDevices() local67 if (libHandle == nullptr) { in registerDevices()76 dlsym(libHandle, "ANeuralNetworks_getSLDriverImpl")); in registerDevices()