Home
last modified time | relevance | path

Searched refs:mDsoHandle (Results 1 – 6 of 6) sorted by relevance

/system/chre/platform/linux/
Dplatform_nanoapp.cc95 return (mIsStatic || mDsoHandle != nullptr); in isLoaded()
114 CHRE_ASSERT_LOG(mDsoHandle == nullptr, "Re-opening nanoapp"); in openNanoappFromFile()
117 mDsoHandle = dlopen(mFilename.c_str(), RTLD_NOW | RTLD_GLOBAL); in openNanoappFromFile()
118 if (mDsoHandle == nullptr) { in openNanoappFromFile()
123 dlsym(mDsoHandle, CHRE_NSL_DSO_NANOAPP_INFO_SYMBOL_NAME)); in openNanoappFromFile()
152 if (mDsoHandle != nullptr) { in closeNanoapp()
154 if (dlclose(mDsoHandle) != 0) { in closeNanoapp()
157 mDsoHandle = nullptr; in closeNanoapp()
/system/chre/platform/slpi/
Dplatform_nanoapp.cc147 mDsoHandle != nullptr || mAppFilename != nullptr); in isLoaded()
155 if (mDsoHandle != nullptr) { in closeNanoapp()
157 if (dlclose(mDsoHandle) != 0) { in closeNanoapp()
160 mDsoHandle = nullptr; in closeNanoapp()
193 CHRE_ASSERT_LOG(mDsoHandle == nullptr, "Re-opening nanoapp"); in openNanoappFromBuffer()
200 mDsoHandle = dlopenbuf(filename, static_cast<const char *>(mAppBinary), in openNanoappFromBuffer()
210 CHRE_ASSERT_LOG(mDsoHandle == nullptr, "Re-opening nanoapp"); in openNanoappFromFile()
212 mDsoHandle = dlopen(mAppFilename, RTLD_NOW); in openNanoappFromFile()
222 if (mDsoHandle == nullptr) { in verifyNanoappInfo()
226 dlsym(mDsoHandle, CHRE_NSL_DSO_NANOAPP_INFO_SYMBOL_NAME)); in verifyNanoappInfo()
/system/chre/platform/freertos/
Dplatform_nanoapp.cc159 mDsoHandle != nullptr || mAppFilename != nullptr); in isLoaded()
224 if (mDsoHandle == nullptr) { in verifyNanoappInfo()
228 dlsym(mDsoHandle, CHRE_NSL_DSO_NANOAPP_INFO_SYMBOL_NAME)); in verifyNanoappInfo()
274 } else if (mDsoHandle != nullptr) { in openNanoapp()
277 mDsoHandle = dlopenbuf(binaryStart, mExpectedTcmCapable); in openNanoapp()
301 if (mDsoHandle != nullptr) { in closeNanoapp()
306 if (dlclose(mDsoHandle) != 0) { in closeNanoapp()
309 mDsoHandle = nullptr; in closeNanoapp()
/system/chre/platform/linux/include/chre/target_platform/
Dplatform_nanoapp_base.h63 void *mDsoHandle = nullptr; variable
/system/chre/platform/slpi/include/chre/target_platform/
Dplatform_nanoapp_base.h125 void *mDsoHandle = nullptr; variable
/system/chre/platform/freertos/include/chre/target_platform/
Dplatform_nanoapp_base.h120 void *mDsoHandle = nullptr; variable