Searched refs:gCallback (Results 1 – 1 of 1) sorted by relevance
241 std::shared_ptr<ContextHubCallback> gCallback = nullptr; variable244 if (gCallback != nullptr) { in registerHostCallback()245 gCallback.reset(); in registerHostCallback()247 gCallback = ContextHubCallback::make<ContextHubCallback>(); in registerHostCallback()248 if (!gContextHub->registerCallback(kContextHubId, gCallback).isOk()) { in registerHostCallback()264 if (gCallback == nullptr) { in getContextHub()327 gCallback->resetPromise(); in verifyStatus()341 gCallback->resetPromise(); in verifyStatusAndSignal()442 status, gCallback->promise.get_future()); in loadNanoapp()450 status, gCallback->promise.get_future()); in unloadNanoapp()[all …]