Home
last modified time | relevance | path

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

12

/hardware/qcom/sm8150p/gps/utils/
Dloc_misc_utils.cpp122 void* dlGetSymFromLib(void*& libHandle, const char* libName, const char* symName) in dlGetSymFromLib() argument
125 if ((nullptr != libHandle || nullptr != libName) && nullptr != symName) { in dlGetSymFromLib()
126 if (nullptr == libHandle) { in dlGetSymFromLib()
127 libHandle = dlopen(libName, RTLD_NOW); in dlGetSymFromLib()
128 if (nullptr == libHandle) { in dlGetSymFromLib()
133 if (nullptr != libHandle) { in dlGetSymFromLib()
134 sym = dlsym(libHandle, symName); in dlGetSymFromLib()
141 "symName (%p) can not be null.", libHandle, libName, symName); in dlGetSymFromLib()
Dloc_misc_utils.h121 void* dlGetSymFromLib(void*& libHandle, const char* libName, const char* symName);
/hardware/qcom/sm7150/gps/utils/
Dloc_misc_utils.cpp122 void* dlGetSymFromLib(void*& libHandle, const char* libName, const char* symName) in dlGetSymFromLib() argument
125 if ((nullptr != libHandle || nullptr != libName) && nullptr != symName) { in dlGetSymFromLib()
126 if (nullptr == libHandle) { in dlGetSymFromLib()
127 libHandle = dlopen(libName, RTLD_NOW); in dlGetSymFromLib()
128 if (nullptr == libHandle) { in dlGetSymFromLib()
133 if (nullptr != libHandle) { in dlGetSymFromLib()
134 sym = dlsym(libHandle, symName); in dlGetSymFromLib()
141 "symName (%p) can not be null.", libHandle, libName, symName); in dlGetSymFromLib()
Dloc_misc_utils.h121 void* dlGetSymFromLib(void*& libHandle, const char* libName, const char* symName);
/hardware/google/graphics/common/libhwc2.1/libdevice/
DDisplayColorLoader.h33 libHandle = dlopen(libName.c_str(), RTLD_LAZY); in DisplayColorLoader()
35 if (libHandle == nullptr) { in DisplayColorLoader()
42 … getVersion = reinterpret_cast<decltype(getVersion)>(dlsym(libHandle, "GetInterfaceVersion")); in DisplayColorLoader()
52 … getDisplayColor = reinterpret_cast<decltype(getDisplayColor)>(dlsym(libHandle, entry)); in DisplayColorLoader()
90 if (libHandle != nullptr) { in ~DisplayColorLoader()
91 dlclose(libHandle); in ~DisplayColorLoader()
96 void *libHandle;
/hardware/qcom/sm8150/gps/utils/
Dloc_misc_utils.cpp132 void* dlGetSymFromLib(void*& libHandle, const char* libName, const char* symName) in dlGetSymFromLib() argument
135 if ((nullptr != libHandle || nullptr != libName) && nullptr != symName) { in dlGetSymFromLib()
136 if (nullptr == libHandle) { in dlGetSymFromLib()
137 libHandle = dlopen(libName, RTLD_NOW); in dlGetSymFromLib()
138 if (nullptr == libHandle) { in dlGetSymFromLib()
143 if (nullptr != libHandle) { in dlGetSymFromLib()
144 sym = dlsym(libHandle, symName); in dlGetSymFromLib()
151 "symName (%p) can not be null.", libHandle, libName, symName); in dlGetSymFromLib()
Dloc_misc_utils.h126 void* dlGetSymFromLib(void*& libHandle, const char* libName, const char* symName);
/hardware/qcom/sm7250/gps/utils/
Dloc_misc_utils.cpp132 void* dlGetSymFromLib(void*& libHandle, const char* libName, const char* symName) in dlGetSymFromLib() argument
135 if ((nullptr != libHandle || nullptr != libName) && nullptr != symName) { in dlGetSymFromLib()
136 if (nullptr == libHandle) { in dlGetSymFromLib()
137 libHandle = dlopen(libName, RTLD_NOW); in dlGetSymFromLib()
138 if (nullptr == libHandle) { in dlGetSymFromLib()
143 if (nullptr != libHandle) { in dlGetSymFromLib()
144 sym = dlsym(libHandle, symName); in dlGetSymFromLib()
151 "symName (%p) can not be null.", libHandle, libName, symName); in dlGetSymFromLib()
Dloc_misc_utils.h126 void* dlGetSymFromLib(void*& libHandle, const char* libName, const char* symName);
/hardware/qcom/sm7150/gps/android/1.1/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm7150/gps/android/2.0/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm8150/gps/android/2.1/
Dservice.cpp66 void* libHandle = NULL; in main() local
68 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm8150/gps/android/1.0/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm7250/gps/android/2.1/
Dservice.cpp66 void* libHandle = NULL; in main() local
68 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm7250/gps/android/1.1/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm8150/gps/android/1.1/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm8150p/gps/android/1.1/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm7250/gps/android/1.0/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm7250/gps/android/2.0/
Dservice.cpp66 void* libHandle = NULL; in main() local
68 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm8150p/gps/android/1.0/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm8150/gps/android/2.0/
Dservice.cpp66 void* libHandle = NULL; in main() local
68 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm7150/gps/android/1.0/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm8150p/gps/android/2.0/
Dservice.cpp67 void* libHandle = NULL; in main() local
69 dlGetSymFromLib(libHandle, VENDOR_ENHANCED_LIB, "main"); in main()
/hardware/qcom/sm8150/gps/location/
DLocationAPI.cpp94 void* libHandle = nullptr; in createOSFrameworkInstance() local
95 createOSFramework* getter = (createOSFramework*)dlGetSymFromLib(libHandle, in createOSFrameworkInstance()
105 void* libHandle = nullptr; in destroyOSFrameworkInstance() local
106 destroyOSFramework* getter = (destroyOSFramework*)dlGetSymFromLib(libHandle, in destroyOSFrameworkInstance()
653 void* libHandle = nullptr; in enableNetworkProvider() local
654 enableProviderGetter* setter = (enableProviderGetter*)dlGetSymFromLib(libHandle, in enableNetworkProvider()
664 void* libHandle = nullptr; in disableNetworkProvider() local
665 disableProviderGetter* setter = (disableProviderGetter*)dlGetSymFromLib(libHandle, in disableNetworkProvider()
675 void* libHandle = nullptr; in startNetworkLocation() local
677 (getSingleNetworkLocationGetter*)dlGetSymFromLib(libHandle, in startNetworkLocation()
[all …]
/hardware/qcom/sm7250/gps/location/
DLocationAPI.cpp94 void* libHandle = nullptr; in createOSFrameworkInstance() local
95 createOSFramework* getter = (createOSFramework*)dlGetSymFromLib(libHandle, in createOSFrameworkInstance()
105 void* libHandle = nullptr; in destroyOSFrameworkInstance() local
106 destroyOSFramework* getter = (destroyOSFramework*)dlGetSymFromLib(libHandle, in destroyOSFrameworkInstance()
653 void* libHandle = nullptr; in enableNetworkProvider() local
654 enableProviderGetter* setter = (enableProviderGetter*)dlGetSymFromLib(libHandle, in enableNetworkProvider()
664 void* libHandle = nullptr; in disableNetworkProvider() local
665 disableProviderGetter* setter = (disableProviderGetter*)dlGetSymFromLib(libHandle, in disableNetworkProvider()
675 void* libHandle = nullptr; in startNetworkLocation() local
677 (getSingleNetworkLocationGetter*)dlGetSymFromLib(libHandle, in startNetworkLocation()
[all …]

12