Home
last modified time | relevance | path

Searched refs:SetPublishFormResult (Results 1 - 19 of 19) sorted by relevance

/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h279 ErrCode SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo);
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_form_mgr_proxy.h100 MOCK_METHOD2(SetPublishFormResult, ErrCode(const int64_t formId, Constants::PublishFormResult &errorCodeInfo));
H A Dmock_form_mgr_service.h111 MOCK_METHOD2(SetPublishFormResult, ErrCode(const int64_t formId, Constants::PublishFormResult &errorCodeInfo));
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dmock_form_mgr_adapter.cpp284 int FormMgrAdapter::SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo) in SetPublishFormResult() function in OHOS::AppExecFwk::FormMgrAdapter
H A Dfms_form_mgr_service_test2.cpp995 * @tc.name: test SetPublishFormResult function.
996 * @tc.desc: Verify that the SetPublishFormResult interface is called normally and the return value is ERR_OK.
1005 EXPECT_EQ(formMgrService.SetPublishFormResult(formId, result), ERR_OK); in HWTEST_F()
/foundation/ability/form_fwk/services/include/
H A Dform_mgr_service.h137 ErrCode SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo) override;
H A Dform_mgr_adapter.h253 ErrCode SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo);
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_mgr_interface.h133 virtual ErrCode SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo) in SetPublishFormResult() function in OHOS::AppExecFwk::IFormMgr
H A Dform_mgr_proxy.h117 ErrCode SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo) override;
/foundation/ability/form_fwk/frameworks/js/napi/form_host/
H A Djs_form_host.cpp410 static napi_value SetPublishFormResult(napi_env env, napi_callback_info info) in SetPublishFormResult() function in OHOS::AbilityRuntime::JsFormHost
1803 ErrCode ret = FormMgr::GetInstance().SetPublishFormResult(formId, publishFormResult); in OnSetPublishFormResult()
1849 BindNativeFunction(env, exportObj, "setPublishFormResult", moduleName, JsFormHost::SetPublishFormResult); in JsFormHostInit()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test2.cpp2215 * @tc.name: SetPublishFormResult
2216 * @tc.desc: test SetPublishFormResult function.
2225 EXPECT_EQ(formMgrAdapter.SetPublishFormResult(formId, result), ERR_APPEXECFWK_FORM_COMMON_CODE); in HWTEST_F()
2228 EXPECT_EQ(formMgrAdapter.SetPublishFormResult(formId, result), ERR_APPEXECFWK_FORM_NOT_EXIST_ID); in HWTEST_F()
2231 EXPECT_EQ(formMgrAdapter.SetPublishFormResult(formId, result), ERR_OK); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/
H A Dform_mgr_proxy_test.cpp840 * @tc.name: test SetPublishFormResult function.
841 * @tc.desc: Verify that the SetPublishFormResult interface is called normally and the return value is ERR_OK.
847 EXPECT_EQ(formMgrProxy->SetPublishFormResult(formId, result), ERR_OK); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_mgr.cpp639 ErrCode FormMgr::SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo) in SetPublishFormResult() function in OHOS::AppExecFwk::FormMgr
656 return remoteProxy_->SetPublishFormResult(formId, errorCodeInfo); in SetPublishFormResult()
/foundation/ability/form_fwk/services/src/
H A Dform_mgr_service.cpp421 ErrCode FormMgrService::SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo) in SetPublishFormResult() function in OHOS::AppExecFwk::FormMgrService
429 return FormMgrAdapter::GetInstance().SetPublishFormResult(formId, errorCodeInfo); in SetPublishFormResult()
H A Dform_mgr_adapter.cpp2227 ErrCode FormMgrAdapter::SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo) in SetPublishFormResult() function in OHOS::AppExecFwk::FormMgrAdapter
/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp2715 * @tc.desc: Verify SetPublishFormResult (The return value of mock function is not 0)
2725 EXPECT_EQ(FormMgr::GetInstance().SetPublishFormResult(formId, result), ERR_APPEXECFWK_FORM_INVALID_FORM_ID); in HWTEST_F()
2985 * @tc.desc: Verify SetPublishFormResult
2991 EXPECT_CALL(*mockProxy, SetPublishFormResult(_, _)) in HWTEST_F()
2996 ErrCode result = FormMgr::GetInstance().SetPublishFormResult(formId, errorCodeInfo); in HWTEST_F()
3581 * @tc.desc: Verify SetPublishFormResult
3589 ErrCode result = FormMgr::GetInstance().SetPublishFormResult(FORM_ID, errorCodeInfo); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_mgr_proxy.cpp344 ErrCode FormMgrProxy::SetPublishFormResult(const int64_t formId, Constants::PublishFormResult &errorCodeInfo) in SetPublishFormResult() function in OHOS::AppExecFwk::FormMgrProxy
H A Dform_mgr_stub.cpp455 ErrCode result = SetPublishFormResult(formId, errorCodeInfo); in HandleSetPublishFormResult()
/foundation/ability/form_fwk/test/unittest/form_mgr_stub_test/
H A Dform_mgr_stub_test.cpp2596 * @tc.name: test SetPublishFormResult function.
2597 * @tc.desc: Verify that the SetPublishFormResult interface is called normally and the return value is ERR_OK.
2603 EXPECT_CALL(*mockFormMgrService, SetPublishFormResult(_, _)) in HWTEST_F()

Completed in 45 milliseconds