/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_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 D | js_demo_ui_extension.cpp | 71 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 D | js_sendable_context_manager.cpp | 101 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 D | ext_backup_mock.h | 56 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 D | js_application.cpp | 51 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 D | js_ability_stage_context.cpp | 88 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.AbilityStageContext", &object, 1); in AttachAbilityStageContext()
|
/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", &asyncTaskCallbackClass, 1); in LoadJsAsyncTaskCallback()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | js_context_utils.cpp | 206 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 D | js_application_context_utils.cpp | 98 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 D | js_ui_extension.cpp | 70 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 D | js_ui_extension_base.cpp | 72 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 D | js_form_extension.cpp | 54 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 D | js_vpn_extension.cpp | 97 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 D | js_runtime.h | 132 static std::unique_ptr<NativeReference> LoadSystemModuleByEngine(napi_env env,
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
H A D | js_ui_ability.cpp | 119 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 D | js_ability.cpp | 75 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 D | simulator.cpp | 440 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 D | js_runtime_utils.cpp | 335 std::unique_ptr<NativeReference> JsRuntime::LoadSystemModuleByEngine(napi_env env, in LoadSystemModuleByEngine() function in OHOS::AbilityRuntime::JsRuntime
|
H A D | js_application_context_utils.cpp | 297 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in OnGetApplicationContext()
|
H A D | js_context_utils.cpp | 302 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 D | js_ui_service_extension.cpp | 95 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 D | js_auto_fill_extension.cpp | 71 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 D | js_insight_intent_executor.cpp | 84 contextObj_ = JsRuntime::LoadSystemModuleByEngine(env, "app.ability.InsightIntentContext", &contextObj, 1); in Init()
|
/foundation/window/window_manager/extension/window_extension/src/ |
H A D | js_window_extension.cpp | 71 auto contextObj = AbilityRuntime::JsRuntime::LoadSystemModuleByEngine(env, in AttachWindowExtensionContext()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | js_service_extension.cpp | 117 auto sysModule = JsRuntime::LoadSystemModuleByEngine(env, in AttachServiceExtensionContext() 260 shellContextRef_ = JsRuntime::LoadSystemModuleByEngine(env, "application.ServiceExtensionContext", in BindContext()
|