Home
last modified time | relevance | path

Searched refs:formUtils (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/common/form/
H A Dform_manager_test.cpp93 * @tc.expected: step2. GetFormUtils equals to formUtils. in HWTEST_F()
98 auto formUtils = std::make_shared<MockFormUtils>(); in HWTEST_F() local
99 formManager.SetFormUtils(formUtils); in HWTEST_F()
100 EXPECT_EQ(formManager.formUtils_, formUtils); in HWTEST_F()
101 EXPECT_EQ(formManager.GetFormUtils(), formUtils); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dform_manager.cpp46 void FormManager::SetFormUtils(const std::shared_ptr<FormUtils>& formUtils) in SetFormUtils() argument
49 CHECK_NULL_VOID(formUtils); in SetFormUtils()
50 formUtils_ = formUtils; in SetFormUtils()
H A Dform_manager.h37 void SetFormUtils(const std::shared_ptr<FormUtils>& formUtils);
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/mock/
H A Dmock_form_manager_delegate.cpp55 void FormManagerDelegate::SetFormUtils(const std::shared_ptr<FormUtils>& formUtils) in SetFormUtils() argument
57 if (formUtils) { in SetFormUtils()
58 formUtils_ = formUtils; in SetFormUtils()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/
H A Dform_model_ng.cpp132 auto formUtils = FormManager::GetInstance().GetFormUtils(); in RequestPublishFormWithSnapshot() local
133 CHECK_NULL_RETURN(formUtils, -1); in RequestPublishFormWithSnapshot()
134 return formUtils->RequestPublishFormEvent(want, formBindingDataStr, formId, errMsg); in RequestPublishFormWithSnapshot()
H A Dform_pattern.cpp1207 auto formUtils = FormManager::GetInstance().GetFormUtils(); in InitFormManagerDelegate() local
1208 if (formUtils) { in InitFormManagerDelegate()
1209 formManagerBridge_->SetFormUtils(formUtils); in InitFormManagerDelegate()
/foundation/arkui/ace_engine/frameworks/core/components/form/
H A Dform_element.cpp255 auto formUtils = FormManager::GetInstance().GetFormUtils(); in Prepare() local
256 if (formUtils) { in Prepare()
257 formManagerBridge_->SetFormUtils(formUtils); in Prepare()
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/
H A Dform_test_ng.cpp449 auto formUtils = std::make_shared<MockFormUtils>(); in HWTEST_F() local
465 FormManager::GetInstance().SetFormUtils(formUtils); in HWTEST_F()
466 ASSERT_EQ(FormManager::GetInstance().GetFormUtils(), formUtils); in HWTEST_F()
476 ASSERT_EQ(pattern->formManagerBridge_->formUtils_, formUtils); in HWTEST_F()
494 auto formUtils = std::make_shared<MockFormUtils>(); in HWTEST_F() local
531 auto formUtils = std::make_shared<MockFormUtils>(); in HWTEST_F() local
H A Dform_pattern_test.cpp1428 auto formUtils = std::make_shared<MockFormUtils>(); in HWTEST_F() local
1429 FormManager::GetInstance().SetFormUtils(formUtils); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/
H A Dform_manager_delegate.h130 void SetFormUtils(const std::shared_ptr<FormUtils>& formUtils);
H A Dform_manager_delegate.cpp1006 void FormManagerDelegate::SetFormUtils(const std::shared_ptr<FormUtils>& formUtils) in SetFormUtils() argument
1008 if (formUtils) { in SetFormUtils()
1009 formUtils_ = formUtils; in SetFormUtils()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.cpp369 auto formUtils = std::make_shared<FormUtilsImpl>(); in OnStart() local
370 FormManager::GetInstance().SetFormUtils(formUtils); in OnStart()
H A Dui_content_impl.cpp1203 auto formUtils = std::make_shared<FormUtilsImpl>(); in CommonInitializeForm() local
1204 FormManager::GetInstance().SetFormUtils(formUtils); in CommonInitializeForm()
1750 auto formUtils = std::make_shared<FormUtilsImpl>(); in CommonInitialize() local
1751 FormManager::GetInstance().SetFormUtils(formUtils); in CommonInitialize()

Completed in 22 milliseconds