Home
last modified time | relevance | path

Searched refs:mLibHandle (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/
DStagefrightPluginLoader.cpp42 mLibHandle = dlopen(libPath, RTLD_NOW | RTLD_NODELETE); in StagefrightPluginLoader()
43 if (mLibHandle == nullptr) { in StagefrightPluginLoader()
47 mCreateCodec = (CodecBase::CreateCodecFunc)dlsym(mLibHandle, "CreateCodec"); in StagefrightPluginLoader()
52 mLibHandle, "CreateBuilder"); in StagefrightPluginLoader()
57 mLibHandle, "CreateInputSurface"); in StagefrightPluginLoader()
64 if (mLibHandle != nullptr) { in ~StagefrightPluginLoader()
66 dlclose(mLibHandle); in ~StagefrightPluginLoader()
71 if (mLibHandle == nullptr || mCreateCodec == nullptr) { in createCodec()
79 if (mLibHandle == nullptr || mCreateBuilder == nullptr) { in createBuilder()
87 if (mLibHandle == nullptr || mCreateInputSurface == nullptr) { in createInputSurface()
DStagefrightPluginLoader.h43 void *mLibHandle{nullptr};
/frameworks/av/drm/libmediadrm/
DSharedLibrary.cpp28 mLibHandle = dlopen(path.string(), RTLD_NOW); in SharedLibrary()
32 if (mLibHandle != NULL) { in ~SharedLibrary()
33 dlclose(mLibHandle); in ~SharedLibrary()
34 mLibHandle = NULL; in ~SharedLibrary()
39 return mLibHandle == NULL; in operator !()
43 if (!mLibHandle) { in lookup()
49 return dlsym(mLibHandle, symbol); in lookup()
/frameworks/av/media/codec2/vndk/
DC2PlatformStorePluginLoader.cpp37 mLibHandle = dlopen(libPath, RTLD_NOW | RTLD_NODELETE); in C2PlatformStorePluginLoader()
38 if (mLibHandle == nullptr) { in C2PlatformStorePluginLoader()
42 mCreateBlockPool = (CreateBlockPoolFunc)dlsym(mLibHandle, "CreateBlockPool"); in C2PlatformStorePluginLoader()
46 mCreateAllocator = (CreateAllocatorFunc)dlsym(mLibHandle, "CreateAllocator"); in C2PlatformStorePluginLoader()
53 if (mLibHandle != nullptr) { in ~C2PlatformStorePluginLoader()
55 dlclose(mLibHandle); in ~C2PlatformStorePluginLoader()
DC2Store.cpp513 mLibHandle(nullptr), in ComponentModule()
543 void *mLibHandle; ///< loaded library handle member
691 mLibHandle = dlopen(libPath.c_str(), RTLD_NOW|RTLD_NODELETE); in init()
692 LOG_ALWAYS_FATAL_IF(mLibHandle == nullptr, in init()
696 (C2ComponentFactory::CreateCodec2FactoryFunc)dlsym(mLibHandle, "CreateCodec2Factory"); in init()
701 (C2ComponentFactory::DestroyCodec2FactoryFunc)dlsym(mLibHandle, "DestroyCodec2Factory"); in init()
818 if (mLibHandle) { in ~ComponentModule()
820 dlclose(mLibHandle); in ~ComponentModule()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DSharedLibrary.h35 void *mLibHandle;
/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp34 mLibHandle(NULL) { in SoftOMXComponent()
72 mLibHandle = libHandle; in setLibHandle()
76 return mLibHandle; in libHandle()
DOMXStore.cpp139 plugin.mLibHandle, "destroyOMXPlugin"); in clearPlugins()
145 android_unload_sphal_library(plugin.mLibHandle); in clearPlugins()
/frameworks/av/media/codec2/vndk/include/
DC2PlatformStorePluginLoader.h93 void *mLibHandle; variable
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMXStore.h57 void *mLibHandle; member
DSoftOMXComponent.h106 void *mLibHandle; member