Searched refs:contextRef (Results 1 - 9 of 9) sorted by relevance
/foundation/ability/ability_runtime/frameworks/native/ability/native/photo_editor_extension_ability/ |
H A D | js_photo_editor_extension_impl.cpp | 46 auto contextRef = in AttachUIExtensionContext() local 48 if (contextRef == nullptr) { in AttachUIExtensionContext() 52 auto contextObj = contextRef->GetNapiValue(); in AttachUIExtensionContext()
|
/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() local 73 if (contextRef == nullptr) { in AttachUIExtensionBaseContext() 77 auto contextObj = contextRef->GetNapiValue(); in AttachUIExtensionBaseContext()
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | ext_backup_js.cpp | 425 auto contextRef = in AttachBackupExtensionContext() local 427 if (contextRef == nullptr) { in AttachBackupExtensionContext() 431 napi_value contextObj = contextRef->GetNapiValue(); in AttachBackupExtensionContext() 485 auto contextRef = jsRuntime_.LoadSystemModule("application.BackupExtensionContext", &contextObj, ARGC_ONE); in ExportJsContext() local 486 if (!contextRef) { in ExportJsContext() 490 contextObj = contextRef->GetNapiValue(); in ExportJsContext() 492 context->Bind(jsRuntime_, contextRef.release()); in ExportJsContext()
|
/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/ |
H A D | js_datashare_ext_ability.cpp | 103 auto contextRef = jsRuntime_.LoadSystemModule("application.DataShareExtensionAbilityContext", &contextObj, 1); in Init() local 104 if (contextRef == nullptr) { in Init() 105 LOG_ERROR("Failed to get contextRef"); in Init() 108 contextObj = contextRef->GetNapiValue(); in Init() 109 context->Bind(jsRuntime_, contextRef.release()); in Init()
|
/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/ |
H A D | feature_ability.cpp | 121 napi_ref contextRef = nullptr; in JsFeatureAbilityInit() local 122 napi_create_reference(env, contextValue, 1, &contextRef); in JsFeatureAbilityInit() 124 std::shared_ptr<NativeReference>(reinterpret_cast<NativeReference*>(contextRef))); in JsFeatureAbilityInit() 200 napi_ref contextRef = nullptr; in GetContext() local 201 napi_create_reference(env, contextValue, 1, &contextRef); in GetContext() 202 me->SetFAContext(std::shared_ptr<NativeReference>(reinterpret_cast<NativeReference*>(contextRef))); in GetContext()
|
/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() local 72 if (contextRef == nullptr) { in AttachUIExtensionContext() 76 auto contextObj = contextRef->GetNapiValue(); in AttachUIExtensionContext()
|
H A D | js_ui_extension_base.cpp | 72 auto contextRef = JsRuntime::LoadSystemModuleByEngine( in AttachUIExtensionBaseContext() local 74 if (contextRef == nullptr) { in AttachUIExtensionBaseContext() 78 auto contextObj = contextRef->GetNapiValue(); in AttachUIExtensionBaseContext()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_graph_manager.cpp | 281 auto& contextRef = nodeStore->renderNodeContextData.emplace_back(); 285 contextRef.renderBackendNode =
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_container.cpp | 1898 auto contextRef = contextWeak.lock(); in SetLocalStorage() 1899 if (!sp || !contextRef) { in SetLocalStorage() 1917 if (contextRef->GetBindingObject() && contextRef->GetBindingObject()->Get<NativeReference>()) { in SetLocalStorage() 1918 jsEngine->SetContext(id, contextRef->GetBindingObject()->Get<NativeReference>()); in SetLocalStorage()
|
Completed in 16 milliseconds