Home
last modified time | relevance | path

Searched refs:LoadSystemModuleByEngine (Results 1 - 25 of 33) sorted by relevance

12

/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_ONE); in AttachUIExtensionContext()
103 JsRuntime::LoadSystemModuleByEngine(env, "application.PhotoEditorExtensionContext", &contextObj, ARGC_ONE); in BindContext()
/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()
74 TAG_LOGD(AAFwkTag::UI_EXT, "Failed to get LoadSystemModuleByEngine"); in AttachUIExtensionBaseContext()
126 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine( in BindContext()
129 TAG_LOGD(AAFwkTag::UI_EXT, "Failed to get LoadSystemModuleByEngine"); in BindContext()
/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()
159 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in CreateJsApplicationContextFromSendable()
217 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityStageContext", &value, 1); in CreateJsAbilityStageContextFromSendable()
275 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityContext", &value, 1); in CreateJsUIAbilityContextFromSendable()
/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&, const napi_value*,
101 MOCK_METHOD((std::unique_ptr<NativeReference>), LoadSystemModuleByEngine, (napi_env, const std::string&,
/foundation/ability/ability_runtime/frameworks/js/napi/application/
H A Djs_application.cpp51 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in OnGetApplicationContext()
266 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in SetCreateCompleteCallback()
297 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsContext()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/app/
H A Djs_ability_stage_context.cpp88 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityStageContext", &object, 1); in AttachAbilityStageContext()
/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", &asyncTaskCallbackClass, 1); in LoadJsAsyncTaskCallback()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Djs_context_utils.cpp206 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsModuleContext()
559 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsBundleContext()
613 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in CreateJSApplicationContext()
666 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &object, 1); in AttachBaseContext()
701 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &object, 1); in AttachApplicationContext()
H A Djs_application_context_utils.cpp98 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in OnCreateBundleContext()
218 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsModuleContext()
1540 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in OnGetApplicationContext()
/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()
172 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.UIExtensionContext", in CreateJSContext()
178 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.EmbeddableUIAbilityContext", in CreateJSContext()
199 TAG_LOGE(AAFwkTag::UI_EXT, "Failed to get LoadSystemModuleByEngine"); in BindContext()
725 return JsRuntime::LoadSystemModuleByEngine(env, "application.embeddablewindowstage", &jsWindowStage, 1); in CreateAppWindowStage()
H A Djs_ui_extension_base.cpp72 auto contextRef = JsRuntime::LoadSystemModuleByEngine( in AttachUIExtensionBaseContext()
75 TAG_LOGD(AAFwkTag::UI_EXT, "Failed to get LoadSystemModuleByEngine"); in AttachUIExtensionBaseContext()
183 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine( in BindContext()
186 TAG_LOGD(AAFwkTag::UI_EXT, "Failed to get LoadSystemModuleByEngine"); in BindContext()
/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", &contextObj, 1); in BindContext()
/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()
/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/
H A Djs_runtime.h132 static std::unique_ptr<NativeReference> LoadSystemModuleByEngine(napi_env env,
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Djs_ui_ability.cpp119 systemModule = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine(env, in AttachJsAbilityContext()
125 systemModule = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine(env, in AttachJsAbilityContext()
272 shellContextRef_ = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine( in CreateJSContext()
278 shellContextRef_ = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine( in CreateJSContext()
728 return JsRuntime::LoadSystemModuleByEngine(env, "application.WindowStage", &jsWindowStage, 1); in CreateAppWindowStage()
H A Djs_ability.cpp75 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityContext", &object, 1); in AttachJsAbilityContext()
185 shellContextRef_ = std::shared_ptr<NativeReference>(JsRuntime::LoadSystemModuleByEngine( in BindContext()
580 return JsRuntime::LoadSystemModuleByEngine(env, "application.WindowStage", &jsWindowStage, 1); in CreateAppWindowStage()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dsimulator.cpp440 JsRuntime::LoadSystemModuleByEngine(nativeEngine_, "application.AbilityStageContext", &contextObj, 1)); in InitJsAbilityStageContext()
442 TAG_LOGE(AAFwkTag::ABILITY_SIM, "null get LoadSystemModuleByEngine failed"); in InitJsAbilityStageContext()
575 JsRuntime::LoadSystemModuleByEngine(nativeEngine_, "application.AbilityContext", &contextObj, 1)); in InitJsAbilityContext()
662 return JsRuntime::LoadSystemModuleByEngine(nativeEngine_, "application.WindowStage", &jsWindowStage, 1); in CreateJsWindowStage()
H A Djs_runtime_utils.cpp335 std::unique_ptr<NativeReference> JsRuntime::LoadSystemModuleByEngine(napi_env env, in LoadSystemModuleByEngine() function in OHOS::AbilityRuntime::JsRuntime
H A Djs_application_context_utils.cpp297 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in OnGetApplicationContext()
H A Djs_context_utils.cpp302 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in OnGetApplicationContext()
/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()
/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", &object, 1); in AttachAutoFillExtensionContext()
184 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine( in BindContext()
187 TAG_LOGE(AAFwkTag::AUTOFILL_EXT, "LoadSystemModuleByEngine failed"); in BindContext()
/foundation/ability/ability_runtime/frameworks/native/ability/native/insight_intent_executor/
H A Djs_insight_intent_executor.cpp84 contextObj_ = JsRuntime::LoadSystemModuleByEngine(env, "app.ability.InsightIntentContext", &contextObj, 1); in Init()
/foundation/window/window_manager/extension/window_extension/src/
H A Djs_window_extension.cpp71 auto contextObj = AbilityRuntime::JsRuntime::LoadSystemModuleByEngine(env, in AttachWindowExtensionContext()
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Djs_service_extension.cpp117 auto sysModule = JsRuntime::LoadSystemModuleByEngine(env, in AttachServiceExtensionContext()
260 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.ServiceExtensionContext", in BindContext()

Completed in 46 milliseconds

12