Home
last modified time | relevance | path

Searched refs:mLibHandle (Results 1 – 14 of 14) 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.cpp509 mLibHandle(nullptr), in ComponentModule()
539 void *mLibHandle; ///< loaded library handle member
663 mLibHandle = dlopen(libPath.c_str(), RTLD_NOW|RTLD_NODELETE); in init()
664 LOG_ALWAYS_FATAL_IF(mLibHandle == nullptr, in init()
668 (C2ComponentFactory::CreateCodec2FactoryFunc)dlsym(mLibHandle, "CreateCodec2Factory"); in init()
673 (C2ComponentFactory::DestroyCodec2FactoryFunc)dlsym(mLibHandle, "DestroyCodec2Factory"); in init()
790 if (mLibHandle) { in ~ComponentModule()
792 dlclose(mLibHandle); in ~ComponentModule()
/frameworks/base/cmds/bootanimation/iot/
DBootAction.cpp29 if (mLibHandle != nullptr) { in ~BootAction()
30 dlclose(mLibHandle); in ~BootAction()
51 mLibHandle = dlopen(libraryPath.c_str(), RTLD_NOW); in init()
52 if (mLibHandle == nullptr) { in init()
124 *loaded = dlsym(mLibHandle, symbol); in loadSymbol()
DBootAction.h56 void* mLibHandle = nullptr; variable
/frameworks/av/media/libmedia/include/media/
DSharedLibrary.h35 void *mLibHandle;
/frameworks/av/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()
DOMXMaster.cpp134 plugin.mLibHandle, "destroyOMXPlugin"); in clearPlugins()
140 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/
DOMXMaster.h57 void *mLibHandle; member
DSoftOMXComponent.h106 void *mLibHandle; member