Home
last modified time | relevance | path

Searched refs:EnableForms (Results 1 - 20 of 20) sorted by relevance

/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h661 int32_t EnableForms(const std::string bundleName, const bool enable);
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_form_mgr_proxy.h103 MOCK_METHOD2(EnableForms, int32_t(const std::string bundleName, const bool enable));
H A Dmock_form_mgr_service.h116 MOCK_METHOD2(EnableForms, ErrCode(const std::string bundleName, const bool enable));
/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/
H A Dform_mgr_proxy_test.cpp890 * @tc.name: test EnableForms function.
891 * @tc.desc: Verify that the EnableForms interface is called normally and the return value is ERR_OK.
896 EXPECT_EQ(formMgrProxy->EnableForms(bundleName, true), ERR_OK); in HWTEST_F()
897 EXPECT_EQ(formMgrProxy->EnableForms(bundleName, false), ERR_OK); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dfms_form_mgr_service_test2.cpp1101 * @tc.name: test EnableForms function.
1102 * @tc.desc: Verify that the EnableForms interface is called normally.
1110 EXPECT_EQ(formMgrService.EnableForms(bundleName, true), ERR_APPEXECFWK_FORM_NOT_EXIST_ID); in HWTEST_F()
1111 EXPECT_EQ(formMgrService.EnableForms(bundleName, false), ERR_APPEXECFWK_FORM_NOT_EXIST_ID); in HWTEST_F()
/foundation/ability/form_fwk/services/include/
H A Dform_data_mgr.h745 void EnableForms(const std::vector<FormRecord> &&formRecords, const bool enable);
H A Dform_mgr_service.h643 int32_t EnableForms(const std::string bundleName, const bool enable) override;
H A Dform_mgr_adapter.h639 int32_t EnableForms(const std::string bundleName, const bool enable);
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_mgr_interface.h651 virtual int32_t EnableForms(const std::string bundleName, const bool enable) in EnableForms() function in OHOS::AppExecFwk::IFormMgr
H A Dform_mgr_proxy.h599 int32_t EnableForms(const std::string bundleName, const bool enable) override;
/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp2791 * @tc.desc: Verify EnableForms
2798 int32_t result = FormMgr::GetInstance().EnableForms(bundleName, true); in HWTEST_F()
2805 * @tc.desc: Verify EnableForms
2812 EXPECT_CALL(*mockProxy, EnableForms(_, _)) in HWTEST_F()
2815 int32_t result = FormMgr::GetInstance().EnableForms(bundleName, true); in HWTEST_F()
2822 * @tc.desc: Verify EnableForms
2830 int32_t result = FormMgr::GetInstance().EnableForms(bundleName, true); in HWTEST_F()
4536 * @tc.desc: Verify EnableForms
4544 EXPECT_CALL(*mockProxy, EnableForms(_, _)) in HWTEST_F()
4547 int32_t result = FormMgr::GetInstance().EnableForms(bundleNam in HWTEST_F()
[all...]
/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_mgr.cpp1830 int32_t FormMgr::EnableForms(const std::string bundleName, const bool enable) in EnableForms() function in OHOS::AppExecFwk::FormMgr
1851 ErrCode resultCode = remoteProxy_->EnableForms(bundleName, enable); in EnableForms()
1853 HILOG_ERROR("fail EnableForms,errCode %{public}d", resultCode); in EnableForms()
/foundation/ability/form_fwk/services/src/
H A Dform_mgr_service.cpp1719 int32_t FormMgrService::EnableForms(const std::string bundleName, const bool enable) in EnableForms() function in OHOS::AppExecFwk::FormMgrService
1726 return FormMgrAdapter::GetInstance().EnableForms(bundleName, enable); in EnableForms()
H A Dform_mgr_adapter.cpp3815 int32_t FormMgrAdapter::EnableForms(const std::string bundleName, const bool enable) in EnableForms() function in OHOS::AppExecFwk::FormMgrAdapter
3860 FormDataMgr::GetInstance().EnableForms(std::move(formInfos), enable); in EnableForms()
H A Dform_data_mgr.cpp2561 void FormDataMgr::EnableForms(const std::vector<FormRecord> &&formRecords, const bool enable) in EnableForms() function in OHOS::AppExecFwk::FormDataMgr
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test2.cpp2425 * @tc.desc: test EnableForms function.
2433 EXPECT_EQ(formMgrAdapter.EnableForms(bundleName, true), ERR_APPEXECFWK_FORM_NOT_EXIST_ID); in HWTEST_F()
2434 EXPECT_EQ(formMgrAdapter.EnableForms(bundleName, false), ERR_APPEXECFWK_FORM_NOT_EXIST_ID); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp3384 * @tc.name: EnableForms
3392 formDataMgr_.EnableForms(std::move(formRecords), true); in HWTEST_F()
3393 formDataMgr_.EnableForms(std::move(formRecords), false); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_mgr_proxy.cpp2320 int32_t FormMgrProxy::EnableForms(const std::string bundleName, const bool enable) in EnableForms() function in OHOS::AppExecFwk::FormMgrProxy
2322 HILOG_DEBUG("EnableForms start.%{public}s", bundleName.c_str()); in EnableForms()
H A Dform_mgr_stub.cpp1597 int32_t result = EnableForms(bundleName, enable); in HandleEnableForms()
/foundation/ability/form_fwk/test/unittest/form_mgr_stub_test/
H A Dform_mgr_stub_test.cpp3002 EXPECT_CALL(*mockFormMgrService, EnableForms(_, _)) in HWTEST_F()

Completed in 60 milliseconds