Home
last modified time | relevance | path

Searched refs:libHandle (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DSoftOMXPlugin.cpp117 void *libHandle = dlopen(libName.c_str(), RTLD_NOW|RTLD_NODELETE); in makeComponentInstance() local
119 if (libHandle == NULL) { in makeComponentInstance()
131 libHandle, in makeComponentInstance()
136 dlclose(libHandle); in makeComponentInstance()
137 libHandle = NULL; in makeComponentInstance()
146 dlclose(libHandle); in makeComponentInstance()
147 libHandle = NULL; in makeComponentInstance()
154 dlclose(libHandle); in makeComponentInstance()
155 libHandle = NULL; in makeComponentInstance()
161 codec->setLibHandle(libHandle); in makeComponentInstance()
[all …]
DOMXStore.cpp75 void *libHandle = android_load_sphal_library(libname, RTLD_NOW); in addPlugin() local
77 if (libHandle == NULL) { in addPlugin()
84 libHandle, "createOMXPlugin"); in addPlugin()
87 libHandle, "_ZN7android15createOMXPluginEv"); in addPlugin()
95 mPlugins.push_back({ plugin, libHandle }); in addPlugin()
98 android_unload_sphal_library(libHandle); in addPlugin()
DSoftOMXComponent.cpp70 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/services/camera/libcameraservice/tests/
DDepthProcessorTest.cpp39 void linkToDepthPhotoLibrary(void **libHandle /*out*/, in linkToDepthPhotoLibrary() argument
41 ASSERT_NE(libHandle, nullptr); in linkToDepthPhotoLibrary()
44 *libHandle = dlopen(kDepthPhotoLibrary, RTLD_NOW | RTLD_LOCAL); in linkToDepthPhotoLibrary()
45 if (*libHandle != nullptr) { in linkToDepthPhotoLibrary()
47 dlsym(*libHandle, kDepthPhotoProcessFunction)); in linkToDepthPhotoLibrary()
95 void *libHandle; in TEST() local
97 linkToDepthPhotoLibrary(&libHandle, &processFunc); in TEST()
98 if (libHandle != nullptr) { in TEST()
99 dlclose(libHandle); in TEST()
104 void *libHandle; in TEST() local
[all …]
/frameworks/av/media/libstagefright/
DMediaExtractorFactory.cpp104 void *libHandle; member
109 : def(definition), libHandle(handle), libPath(path) { in ExtractorPlugin()
115 if (libHandle != nullptr) { in ~ExtractorPlugin()
117 dlclose(libHandle); in ~ExtractorPlugin()
240 void *libHandle = android_dlopen_ext( in RegisterExtractors() local
243 CHECK(libHandle != nullptr) in RegisterExtractors()
247 (GetExtractorDef) dlsym(libHandle, "GETEXTRACTORDEF"); in RegisterExtractors()
253 new ExtractorPlugin(getDef(), libHandle, libPath), pluginList); in RegisterExtractors()
/frameworks/av/media/libeffects/factory/
DEffectsXmlConfigLoader.cpp75 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/
DSoftOMXComponent.h41 void setLibHandle(void *libHandle);
42 void *libHandle() const;