Home
last modified time | relevance | path

Searched refs:so_handle (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/config/
H A Ddm_config_manager.cpp140 void *so_handle = nullptr; in ~DmConfigManager() local
147 so_handle = dlopen(soPathName.c_str(), RTLD_NOW | RTLD_NOLOAD); in ~DmConfigManager()
148 if (so_handle != nullptr) { in ~DmConfigManager()
150 dlclose(so_handle); in ~DmConfigManager()
160 if (so_handle != nullptr) { in ~DmConfigManager()
162 dlclose(so_handle); in ~DmConfigManager()
187 void *so_handle = nullptr; in GetCryptoAdapter() local
193 so_handle = dlopen(soPathName.c_str(), RTLD_NOW | RTLD_NODELETE); in GetCryptoAdapter()
194 if (so_handle == nullptr) { in GetCryptoAdapter()
220 void *so_handle = nullptr; in GetAuthAdapter() local
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/
H A Ddevice_profile_manager.cpp437 void *so_handle = dlopen(soName.c_str(), RTLD_NOW | RTLD_NOLOAD); in LoadDpSyncAdapter() local
438 if (so_handle == nullptr) { in LoadDpSyncAdapter()
439 so_handle = dlopen(soName.c_str(), RTLD_NOW); in LoadDpSyncAdapter()
441 if (so_handle == nullptr) { in LoadDpSyncAdapter()
446 auto func = (CreateDPSyncAdapterFuncPtr)dlsym(so_handle, "CreateDPSyncAdaptertObject"); in LoadDpSyncAdapter()
448 dlclose(so_handle); in LoadDpSyncAdapter()
454 dlclose(so_handle); in LoadDpSyncAdapter()
485 void *so_handle = dlopen(soPathName.c_str(), RTLD_NOW | RTLD_NOLOAD); in UnloadDpSyncAdapter() local
486 if (so_handle != nullptr) { in UnloadDpSyncAdapter()
488 dlclose(so_handle); in UnloadDpSyncAdapter()
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp887 if (so_handle == nullptr) { in IsDMServiceImplReady()
894 dlclose(so_handle); in IsDMServiceImplReady()
901 dlclose(so_handle); in IsDMServiceImplReady()
1114 void *so_handle = dlopen(LIB_IMPL_NAME, RTLD_NOW | RTLD_NOLOAD); in UnloadDMServiceImplSo() local
1115 if (so_handle != nullptr) { in UnloadDMServiceImplSo()
1117 dlclose(so_handle); in UnloadDMServiceImplSo()
1134 if (so_handle == nullptr) { in IsDMServiceAdapterLoad()
1141 dlclose(so_handle); in IsDMServiceAdapterLoad()
1148 dlclose(so_handle); in IsDMServiceAdapterLoad()
1169 if (so_handle != nullptr) { in UnloadDMServiceAdapter()
[all …]