Home
last modified time | relevance | path

Searched refs:LoadSystemModuleByEngine (Results 1 – 25 of 35) sorted by relevance

12

/ohos5.0/foundation/ability/ability_runtime/test/sample/demo_ui_extension/native/demo_ui_extension_ability/src/
H A Djs_demo_ui_extension.cpp71 auto contextRef = JsRuntime::LoadSystemModuleByEngine( in AttachUIExtensionBaseContext()
132 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine( in BindContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/sendable_context_manager/
H A Djs_sendable_context_manager.cpp101 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsBaseContextFromSendable()
150 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &va… in CreateJsApplicationContextFromSendable()
199 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityStageContext", &v… in CreateJsAbilityStageContextFromSendable()
248 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityContext", &value,… in CreateJsUIAbilityContextFromSendable()
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/backup_ext/include/
H A Dext_backup_mock.h56 …virtual std::unique_ptr<NativeReference> LoadSystemModuleByEngine(napi_env, const std::string&, co…
101 …MOCK_METHOD((std::unique_ptr<NativeReference>), LoadSystemModuleByEngine, (napi_env, const std::st…
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/photo_editor_extension_ability/
H A Djs_photo_editor_extension_impl.cpp47 …JsRuntime::LoadSystemModuleByEngine(env, "application.PhotoEditorExtensionContext", &object, ARGC_… in AttachUIExtensionContext()
109 …JsRuntime::LoadSystemModuleByEngine(env, "application.PhotoEditorExtensionContext", &contextObj, A… in BindContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/application/
H A Djs_application.cpp51 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &va… in OnGetApplicationContext()
266 … auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in SetCreateCompleteCallback()
302 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/
H A Djs_startup_task.cpp95 JsRuntime::LoadSystemModuleByEngine(env, "app.appstartup.AsyncTaskExcutor", &object, 1); in LoadJsAsyncTaskExcutor()
118 …JsRuntime::LoadSystemModuleByEngine(env, "app.appstartup.AsyncTaskCallback", &asyncTaskCallbackCla… in LoadJsAsyncTaskCallback()
/ohos5.0/base/notification/common_event_service/frameworks/extension/src/
H A Djs_static_subscriber_extension.cpp54 auto napiContextObj = AbilityRuntime::JsRuntime::LoadSystemModuleByEngine(env, in AttachStaticSubscriberExtensionContext()
135 auto shellContextRef = AbilityRuntime::JsRuntime::LoadSystemModuleByEngine( in ExecNapiWrap()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Djs_context_utils.cpp203 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsModuleContext()
555 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsBundleContext()
614 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &va… in CreateJSApplicationContext()
672 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &object, 1); in AttachBaseContext()
712 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &ob… in AttachApplicationContext()
/ohos5.0/base/location/frameworks/native/fence_extension_ability/src/
H A Djs_fence_extension.cpp65 …AbilityRuntime::JsRuntime::LoadSystemModuleByEngine(env, CONTEXT_MODULE_PATH, &object, LOAD_SYSTEM… in AttachFenceExtensionContext()
163 …AbilityRuntime::JsRuntime::LoadSystemModuleByEngine(env, CONTEXT_MODULE_PATH, &contextObj, ARGC_ON… in BindContext()
/ohos5.0/drivers/external_device_manager/services/native/driver_extension/src/
H A Djs_driver_extension.cpp103 auto contextObjRef = JsRuntime::LoadSystemModuleByEngine(env, in AttachDriverExtensionContext()
173 … shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.DriverExtensionContext", in BindContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/
H A Djs_ui_extension.cpp70 auto contextRef = JsRuntime::LoadSystemModuleByEngine(env, "application.UIExtensionContext", in AttachUIExtensionContext()
176 … shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.UIExtensionContext", in CreateJSContext()
182 …shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.EmbeddableUIAbilityContex… in CreateJSContext()
729 …return JsRuntime::LoadSystemModuleByEngine(env, "application.embeddablewindowstage", &jsWindowStag… in CreateAppWindowStage()
H A Djs_ui_extension_base.cpp72 auto contextRef = JsRuntime::LoadSystemModuleByEngine( in AttachUIExtensionBaseContext()
188 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine( in BindContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/
H A Djs_form_extension.cpp54 auto sysModule = JsRuntime::LoadSystemModuleByEngine(env, in AttachFormExtensionContext()
138 …shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.FormExtensionContext", &c… in BindContext()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/vpnextension/src/
H A Djs_vpn_extension.cpp97 auto contextObj = JsRuntime::LoadSystemModuleByEngine(env, in AttachVpnExtensionContext()
227 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.VpnExtensionContext", in BindContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Djs_ui_ability.cpp116 systemModule = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine(env, in AttachJsAbilityContext()
122 systemModule = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine(env, in AttachJsAbilityContext()
289 shellContextRef_ = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine( in CreateJSContext()
295 shellContextRef_ = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine( in CreateJSContext()
745 return JsRuntime::LoadSystemModuleByEngine(env, "application.WindowStage", &jsWindowStage, 1); in CreateAppWindowStage()
H A Djs_ability.cpp75 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityContext", &object… in AttachJsAbilityContext()
191 shellContextRef_ = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine( in BindContext()
592 return JsRuntime::LoadSystemModuleByEngine(env, "application.WindowStage", &jsWindowStage, 1); in CreateAppWindowStage()
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/
H A Djs_runtime.h137 static std::unique_ptr<NativeReference> LoadSystemModuleByEngine(napi_env env,
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dsimulator.cpp440 …JsRuntime::LoadSystemModuleByEngine(nativeEngine_, "application.AbilityStageContext", &contextObj,… in InitJsAbilityStageContext()
575 … JsRuntime::LoadSystemModuleByEngine(nativeEngine_, "application.AbilityContext", &contextObj, 1)); in InitJsAbilityContext()
662 …return JsRuntime::LoadSystemModuleByEngine(nativeEngine_, "application.WindowStage", &jsWindowStag… in CreateJsWindowStage()
H A Djs_application_context_utils.cpp297 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &va… in OnGetApplicationContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/auto_fill_extension_ability/
H A Djs_auto_fill_extension.cpp71 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AutoFillExtensionContext… in AttachAutoFillExtensionContext()
189 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine( in BindContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_service_extension_ability/
H A Djs_ui_service_extension.cpp95 auto sysModule = AbilityRuntime::JsRuntime::LoadSystemModuleByEngine(env, in AttachUIServiceExtensionContext()
207 …shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.UIServiceExtensionContext… in BindContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/app/
H A Djs_ability_stage.cpp66 …auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityStageContext", &o… in AttachAbilityStageContext()
799 …shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityStageContext", &co… in SetJsAbilityStage()
/ohos5.0/base/inputmethod/imf/frameworks/kits/extension/src/
H A Djs_inputmethod_extension.cpp60 auto contextObj = JsRuntime::LoadSystemModuleByEngine( in AttachInputMethodExtensionContext()
/ohos5.0/foundation/window/window_manager/extension/window_extension/src/
H A Djs_window_extension.cpp71 auto contextObj = AbilityRuntime::JsRuntime::LoadSystemModuleByEngine(env, in AttachWindowExtensionContext()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Djs_service_extension.cpp117 auto sysModule = JsRuntime::LoadSystemModuleByEngine(env, in AttachServiceExtensionContext()
266 … shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.ServiceExtensionContext", in BindContext()

12