/ohos5.0/foundation/ability/ability_runtime/test/sample/demo_ui_extension/native/demo_ui_extension_ability/src/ |
H A D | js_demo_ui_extension.cpp | 71 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 D | js_sendable_context_manager.cpp | 101 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 D | ext_backup_mock.h | 56 …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 D | js_photo_editor_extension_impl.cpp | 47 …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 D | js_application.cpp | 51 …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 D | js_startup_task.cpp | 95 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 D | js_static_subscriber_extension.cpp | 54 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 D | js_context_utils.cpp | 203 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 D | js_fence_extension.cpp | 65 …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 D | js_driver_extension.cpp | 103 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 D | js_ui_extension.cpp | 70 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 D | js_ui_extension_base.cpp | 72 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 D | js_form_extension.cpp | 54 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 D | js_vpn_extension.cpp | 97 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 D | js_ui_ability.cpp | 116 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 D | js_ability.cpp | 75 …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 D | js_runtime.h | 137 static std::unique_ptr<NativeReference> LoadSystemModuleByEngine(napi_env env,
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | simulator.cpp | 440 …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 D | js_application_context_utils.cpp | 297 …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 D | js_auto_fill_extension.cpp | 71 …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 D | js_ui_service_extension.cpp | 95 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 D | js_ability_stage.cpp | 66 …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 D | js_inputmethod_extension.cpp | 60 auto contextObj = JsRuntime::LoadSystemModuleByEngine( in AttachInputMethodExtensionContext()
|
/ohos5.0/foundation/window/window_manager/extension/window_extension/src/ |
H A D | js_window_extension.cpp | 71 auto contextObj = AbilityRuntime::JsRuntime::LoadSystemModuleByEngine(env, in AttachWindowExtensionContext()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | js_service_extension.cpp | 117 auto sysModule = JsRuntime::LoadSystemModuleByEngine(env, in AttachServiceExtensionContext() 266 … shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.ServiceExtensionContext", in BindContext()
|