Searched refs:libHandle (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libstagefright/omx/ |
D | SoftOMXPlugin.cpp | 112 void *libHandle = dlopen(libName.c_str(), RTLD_NOW|RTLD_NODELETE); in makeComponentInstance() local 114 if (libHandle == NULL) { in makeComponentInstance() 126 libHandle, in makeComponentInstance() 131 dlclose(libHandle); in makeComponentInstance() 132 libHandle = NULL; in makeComponentInstance() 141 dlclose(libHandle); in makeComponentInstance() 142 libHandle = NULL; in makeComponentInstance() 149 dlclose(libHandle); in makeComponentInstance() 150 libHandle = NULL; in makeComponentInstance() 156 codec->setLibHandle(libHandle); in makeComponentInstance() [all …]
|
D | OMXStore.cpp | 77 void *libHandle = android_load_sphal_library(libname, RTLD_NOW); in addPlugin() local 79 if (libHandle == NULL) { in addPlugin() 86 libHandle, "createOMXPlugin"); in addPlugin() 89 libHandle, "_ZN7android15createOMXPluginEv"); in addPlugin() 97 mPlugins.push_back({ plugin, libHandle }); in addPlugin() 100 android_unload_sphal_library(libHandle); in addPlugin()
|
D | SoftOMXComponent.cpp | 70 void SoftOMXComponent::setLibHandle(void *libHandle) { in setLibHandle() argument 71 CHECK(libHandle != NULL); in setLibHandle() 72 mLibHandle = libHandle; in setLibHandle() 75 void *SoftOMXComponent::libHandle() const { in libHandle() function in android::SoftOMXComponent
|
/frameworks/av/media/libstagefright/ |
D | MediaExtractorFactory.cpp | 108 void *libHandle; member 113 : def(definition), libHandle(handle), libPath(path) { in ExtractorPlugin() 119 if (libHandle != nullptr) { in ~ExtractorPlugin() 121 dlclose(libHandle); in ~ExtractorPlugin() 244 void *libHandle = android_dlopen_ext( in RegisterExtractors() local 247 if (libHandle == nullptr) { in RegisterExtractors() 253 (GetExtractorDef) dlsym(libHandle, "GETEXTRACTORDEF"); in RegisterExtractors() 256 dlclose(libHandle); in RegisterExtractors() 262 new ExtractorPlugin(getDef(), libHandle, libPath), pluginList); in RegisterExtractors()
|
D | MediaCodec.cpp | 2521 void *libHandle = NULL; in connectFormatShaper() local 2543 libHandle = android_dlopen_ext(libraryMainline.c_str(), RTLD_NOW|RTLD_NODELETE, in connectFormatShaper() 2546 if (libHandle != NULL) { in connectFormatShaper() 2548 dlsym(libHandle, "shaper_ops"); in connectFormatShaper() 2561 libHandle = dlopen(libraryName.c_str(), RTLD_NOW|RTLD_NODELETE); in connectFormatShaper() 2563 if (libHandle != NULL) { in connectFormatShaper() 2565 dlsym(libHandle, "shaper_ops"); in connectFormatShaper()
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsXmlConfigLoader.cpp | 75 std::unique_ptr<void, decltype(dlclose)*> libHandle(dlopen(path, RTLD_NOW), in loadLibrary() local 77 if (libHandle == nullptr) { in loadLibrary() 83 dlsym(libHandle.get(), AUDIO_EFFECT_LIBRARY_INFO_SYM_AS_STR)); in loadLibrary() 104 libEntry->handle = libHandle.release(); in loadLibrary()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | SoftOMXComponent.h | 41 void setLibHandle(void *libHandle); 42 void *libHandle() const;
|