Home
last modified time | relevance | path

Searched refs:shellContextRef (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Djs_extension_common.cpp36 const std::shared_ptr<NativeReference> &shellContextRef) in Create() argument
38 return std::make_shared<JsExtensionCommon>(jsRuntime, jsObj, shellContextRef); in Create()
42 const std::shared_ptr<NativeReference> &shellContextRef) in JsExtensionCommon() argument
43 : jsRuntime_(jsRuntime), jsObj_(jsObj), shellContextRef_(shellContextRef) {} in JsExtensionCommon()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Djs_extension_common.h35 const std::shared_ptr<NativeReference> &shellContextRef);
47 const std::shared_ptr<NativeReference> &shellContextRef);
/ohos5.0/base/notification/common_event_service/frameworks/extension/src/
H A Djs_static_subscriber_extension.cpp135 auto shellContextRef = AbilityRuntime::JsRuntime::LoadSystemModuleByEngine( in ExecNapiWrap() local
137 if (shellContextRef == nullptr) { in ExecNapiWrap()
141 napi_value nativeObj = shellContextRef->GetNapiValue(); in ExecNapiWrap()
154 context->Bind(jsRuntime_, shellContextRef.release()); in ExecNapiWrap()
/ohos5.0/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
H A Djs_wallpaper_extension_ability.cpp98 …auto shellContextRef = jsRuntime_.LoadSystemModule("WallpaperExtensionContext", &contextObj, ARGC_… in InitMoudle() local
99 if (shellContextRef == nullptr) { in InitMoudle()
103 contextObj = shellContextRef->GetNapiValue(); in InitMoudle()
104 context->Bind(jsRuntime_, shellContextRef.release()); in InitMoudle()
/ohos5.0/base/inputmethod/imf/frameworks/kits/extension/src/
H A Djs_inputmethod_extension.cpp219 …auto shellContextRef = jsRuntime_.LoadSystemModule("InputMethodExtensionContext", &contextObj, ARG… in BindContext() local
220 if (shellContextRef == nullptr) { in BindContext()
224 contextObj = shellContextRef->GetNapiValue(); in BindContext()
237 context->Bind(jsRuntime_, shellContextRef.release()); in BindContext()
/ohos5.0/base/customization/enterprise_device_management/framework/extension/src/
H A Djs_enterprise_admin_extension.cpp88 auto shellContextRef = jsRuntime_.LoadSystemModule("enterprise.EnterpriseAdminExtensionContext", in JsEnterpriseAdminExtensionContextInit() local
90 contextObj = shellContextRef->GetNapiValue(); in JsEnterpriseAdminExtensionContextInit()
92 context->Bind(jsRuntime_, shellContextRef.release()); in JsEnterpriseAdminExtensionContextInit()
/ohos5.0/base/print/print_fwk/frameworks/kits/extension/src/
H A Djs_print_extension.cpp123 …auto shellContextRef = jsRuntime.LoadSystemModule("PrintExtensionContext", &contextObj, NapiPrintU… in InitContextObj() local
124 if (shellContextRef == nullptr) { in InitContextObj()
128 contextObj = shellContextRef->GetNapiValue(); in InitContextObj()
134 context->Bind(jsRuntime, shellContextRef.release()); in InitContextObj()
/ohos5.0/foundation/window/window_manager/extension/window_extension/src/
H A Djs_window_extension.cpp163 …auto shellContextRef = jsRuntime_.LoadSystemModule("application.WindowExtensionContext", &contextO… in BindContext() local
164 contextObj = shellContextRef->GetNapiValue(); in BindContext()
177 context->Bind(jsRuntime_, shellContextRef.release()); in BindContext()
/ohos5.0/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/
H A Dnapi_accessibility_extension.cpp94 …auto shellContextRef = jsRuntime_.LoadSystemModule("application.AccessibilityExtensionContext", &c… in Init() local
95 if (!shellContextRef) { in Init()
99 contextObj = shellContextRef->GetNapiValue(); in Init()
100 context->Bind(jsRuntime_, shellContextRef.release()); in Init()