Lines Matching refs:context
154 auto context = new (std::nothrow) EventCallbackContext();
155 if (context == nullptr) {
159 InitCallbackContext(in, out, *context);
161 delete context;
165 auto info = CreateElementInfo(context->elmentInfo.dump().c_str());
167 delete context;
172 auto callback = context->callbackRef.lock();
174 if (context->releaseCallback) {
175 LOG_D("[UiEventObserverImpl]Unref callback: %{public}s", context->callbackId.c_str());
176 g_callbacks.erase(context->callbackId);
179 delete context;