Home
last modified time | relevance | path

Searched refs:workContext (Results 1 - 4 of 4) sorted by relevance

/base/notification/common_event_service/frameworks/extension/src/
H A Djs_static_subscriber_extension.cpp58 auto workContext = new (std::nothrow) std::weak_ptr<StaticSubscriberExtensionContext>(ptr); in AttachStaticSubscriberExtensionContext() local
59 if (workContext == nullptr) { in AttachStaticSubscriberExtensionContext()
63 napi_wrap(env, napiContextObj, workContext, in AttachStaticSubscriberExtensionContext()
147 auto workContext = new (std::nothrow) std::weak_ptr<StaticSubscriberExtensionContext>(context); in ExecNapiWrap() local
148 if (workContext == nullptr) { in ExecNapiWrap()
153 AttachStaticSubscriberExtensionContext, workContext, nullptr); in ExecNapiWrap()
158 napi_wrap(env, nativeObj, workContext, in ExecNapiWrap()
/base/inputmethod/imf/frameworks/kits/extension/src/
H A Djs_inputmethod_extension.cpp67 auto workContext = new (std::nothrow) std::weak_ptr<InputMethodExtensionContext>(ptr); in AttachInputMethodExtensionContext() local
68 if (workContext == nullptr) { in AttachInputMethodExtensionContext()
69 IMSA_HILOGE("workContext is nullptr!"); in AttachInputMethodExtensionContext()
73 env, contextObj, workContext, in AttachInputMethodExtensionContext()
234 auto workContext = new (std::nothrow) std::weak_ptr<InputMethodExtensionContext>(context); in BindContext() local
235 if (workContext == nullptr) { in BindContext()
236 IMSA_HILOGE("workContext is nullptr!"); in BindContext()
240 workContext, nullptr); in BindContext()
246 env, contextObj, workContext, in BindContext()
/base/location/frameworks/native/fence_extension_ability/src/
H A Djs_fence_extension.cpp70 auto workContext = new (std::nothrow) std::weak_ptr<FenceExtensionContext>(ptr); in AttachFenceExtensionContext() local
71 if (workContext == nullptr) { in AttachFenceExtensionContext()
78 workContext, in AttachFenceExtensionContext()
174 auto workContext = new (std::nothrow) std::weak_ptr<FenceExtensionContext>(context); in BindContext() local
175 if (workContext == nullptr) { in BindContext()
180 env, nativeObj, AbilityRuntime::DetachCallbackFunc, AttachFenceExtensionContext, workContext, nullptr); in BindContext()
187 workContext, in BindContext()
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
H A Djs_wallpaper_extension_ability.cpp110 auto workContext = new (std::nothrow) WallpaperExtensionContext(); in InitMoudle() local
111 if (workContext == nullptr) { in InitMoudle()
112 HILOG_ERROR("Failed to new workContext!"); in InitMoudle()
116 env, contextObj, workContext, in InitMoudle()
119 delete workContext; in InitMoudle()

Completed in 3 milliseconds