Home
last modified time | relevance | path

Searched refs:libHandle (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dutils.h24 #define FREELIB(libHandle) FreeLibrary(libHandle)
25 #define LOADSYM(libHandle, symbol) GetProcAddress(libHandle, symbol)
30 #define FREELIB(libHandle) dlclose(libHandle)
31 #define LOADSYM(libHandle, symbol) dlsym(libHandle, symbol)
/foundation/communication/netstack/utils/common_utils/src/
H A Dnetstack_apipolicy_utils.cpp36 void *libHandle = dlopen(APIPOLICY_SO_PATH.c_str(), RTLD_NOW); in IsAllowedHostname() local
37 if (!libHandle) { in IsAllowedHostname()
43 auto func = reinterpret_cast<CheckUrlFunc>(dlsym(libHandle, "CheckUrl")); in IsAllowedHostname()
47 dlclose(libHandle); in IsAllowedHostname()
52 dlclose(libHandle); in IsAllowedHostname()
/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/
H A Dnative_child_ipc_process.cpp116 void *libHandle = dlopen_ns(&dlnsApp, info->srcEntry.c_str(), RTLD_LAZY); in LoadNativeLib() local
117 if (libHandle == nullptr) { in LoadNativeLib()
125 reinterpret_cast<NativeChildProcess_OnConnect>(dlsym(libHandle, "NativeChildProcess_OnConnect")); in LoadNativeLib()
132 reinterpret_cast<NativeChildProcess_MainProc>(dlsym(libHandle, "NativeChildProcess_MainProc")); in LoadNativeLib()
140 nativeLibHandle_ = libHandle; in LoadNativeLib()
144 dlclose(libHandle); in LoadNativeLib()
H A Dnative_args_child_process.cpp145 void *libHandle = dlopen_ns(&dlnsApp, info->srcEntry.c_str(), RTLD_LAZY); in LoadNativeLib() local
146 if (libHandle == nullptr) { in LoadNativeLib()
152 auto entryFunc = reinterpret_cast<NativeArgsChildProcess_EntryFunc>(dlsym(libHandle, info->entryFunc.c_str())); in LoadNativeLib()
155 dlclose(libHandle); in LoadNativeLib()
160 nativeLibHandle_ = libHandle; in LoadNativeLib()
/foundation/ai/ai_engine/services/common/platform/dl_operation/include/
H A Daie_dl_operation.h37 * @param libHandle The result which is obtained by AiDlopen.
41 void *AieDlsym(void *libHandle, const char *functionName);
46 * @param libHandle The result which is obtained by AiDlopen.
48 void AieDlclose(void *libHandle);
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dtest_runner.cpp111 void *libHandle = nullptr; member
141 if (g_engineInstance.libHandle != nullptr) { in LoadEngineLib()
149 g_engineInstance.libHandle = dlopen(lib.data(), RTLD_LAZY); in LoadEngineLib()
151 if (g_engineInstance.libHandle == nullptr) { in LoadEngineLib()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dbackend_manager.cpp38 void* libHandle = dlopen("libneural_network_runtime_ext.so", RTLD_NOW | RTLD_GLOBAL); in GetInstance() local
39 if (libHandle == nullptr) { in GetInstance()
/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Ddrm_host_manager.cpp122 for (auto libHandle : loadedLibs) { in StopServiceThread()
123 StopThreadFuncType StopThread = (StopThreadFuncType)dlsym(libHandle, "StopThread"); in StopServiceThread()
127 dlclose(libHandle); in StopServiceThread()
128 libHandle = nullptr; in StopServiceThread()
186 void *libHandle = pluginNameAndHandleMap[message.name]; in ProcessMessage()
187 if (libHandle != nullptr) { in ProcessMessage()
188 ReleaseHandleAndKeySystemMap(libHandle); in ProcessMessage()
189 loadedLibs.erase(std::remove(loadedLibs.begin(), loadedLibs.end(), libHandle), in ProcessMessage()
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/
H A Daudio_effect_chain.h66 void AddEffectHandle(AudioEffectHandle effectHandle, AudioEffectLibrary *libHandle, AudioEffectScene currSceneType,
H A Daudio_enhance_chain.h84 void AddEnhanceHandle(AudioEffectHandle handle, AudioEffectLibrary *libHandle, const std::string &enhance,
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_enhance_chain.cpp186 void AudioEnhanceChain::AddEnhanceHandle(AudioEffectHandle handle, AudioEffectLibrary *libHandle, in AddEnhanceHandle() argument
219 sceneType_.c_str(), libHandle->name); in AddEnhanceHandle()
232 enhanceLibHandles_.emplace_back(libHandle); in AddEnhanceHandle()
H A Daudio_effect_chain.cpp225 void AudioEffectChain::AddEffectHandle(AudioEffectHandle handle, AudioEffectLibrary *libHandle, in AddEffectHandle() argument
266 libHandles_.emplace_back(libHandle); in AddEffectHandle()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp6739 void *libHandle = dlopen("libaudio_safe_volume_notification_impl.z.so", RTLD_LAZY); in PublishSafeVolumeNotification() local
6740 if (libHandle == nullptr) { in PublishSafeVolumeNotification()
6745 reinterpret_cast<CreateSafeVolumeNotification*>(dlsym(libHandle, "CreateSafeVolumeNotificationImpl")); in PublishSafeVolumeNotification()
6748 dlclose(libHandle); in PublishSafeVolumeNotification()
6754 dlclose(libHandle); in PublishSafeVolumeNotification()
6759 dlclose(libHandle); in PublishSafeVolumeNotification()
6764 void *libHandle = dlopen("libaudio_safe_volume_notification_impl.z.so", RTLD_LAZY); in CancelSafeVolumeNotification() local
6765 if (libHandle == nullptr) { in CancelSafeVolumeNotification()
6770 reinterpret_cast<CreateSafeVolumeNotification*>(dlsym(libHandle, "CreateSafeVolumeNotificationImpl")); in CancelSafeVolumeNotification()
6773 dlclose(libHandle); in CancelSafeVolumeNotification()
[all...]

Completed in 20 milliseconds