Home
last modified time | relevance | path

Searched refs:formRefreshType (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dfms_form_mgr_service_test2.cpp1057 int32_t formRefreshType = Constants::REFRESH_ALL_FORM; variable
1058 EXPECT_EQ(ERR_OK, formMgrService.BatchRefreshForms(formRefreshType));
1074 int32_t formRefreshType = Constants::REFRESH_ALL_FORM; variable
1075 …ECT_EQ(ERR_APPEXECFWK_FORM_PERMISSION_DENY_SYS, formMgrService.BatchRefreshForms(formRefreshType));
/ohos5.0/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_mgr.cpp1808 int32_t FormMgr::BatchRefreshForms(const int32_t formRefreshType) in BatchRefreshForms() argument
1816 …if (formRefreshType < Constants::REFRESH_ALL_FORM || formRefreshType > Constants::REFRESH_ATOMIC_F… in BatchRefreshForms()
1817 … HILOG_ERROR("BatchRefreshForms failed, invalid formRefreshType %{public}d", formRefreshType); in BatchRefreshForms()
1831 return remoteProxy_->BatchRefreshForms(formRefreshType); in BatchRefreshForms()
/ohos5.0/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h653 int32_t BatchRefreshForms(const int32_t formRefreshType);
/ohos5.0/foundation/ability/form_fwk/test/mock/include/
H A Dmock_form_mgr_proxy.h102 MOCK_METHOD1(BatchRefreshForms, ErrCode(const int32_t formRefreshType));
H A Dmock_form_mgr_service.h115 MOCK_METHOD1(BatchRefreshForms, ErrCode(const int32_t formRefreshType));
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/
H A Dform_mgr_proxy_test.cpp870 int32_t formRefreshType = Constants::REFRESH_ALL_FORM; variable
871 EXPECT_EQ(formMgrProxy->BatchRefreshForms(formRefreshType), ERR_OK);
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp2752 int32_t formRefreshType = Constants::REFRESH_ALL_FORM; variable
2753 …EXPECT_EQ(FormMgr::GetInstance().BatchRefreshForms(formRefreshType), ERR_APPEXECFWK_FORM_SERVER_ST…
2765 int32_t formRefreshType = Constants::REFRESH_ALL_FORM - 1; variable
2766 …EXPECT_EQ(FormMgr::GetInstance().BatchRefreshForms(formRefreshType), ERR_APPEXECFWK_FORM_INVALID_P…
2767 formRefreshType = Constants::REFRESH_ATOMIC_FORM + 1;
2768 …EXPECT_EQ(FormMgr::GetInstance().BatchRefreshForms(formRefreshType), ERR_APPEXECFWK_FORM_INVALID_P…
2784 int32_t formRefreshType = Constants::REFRESH_ALL_FORM; variable
2785 EXPECT_EQ(FormMgr::GetInstance().BatchRefreshForms(formRefreshType), ERR_OK);
4427 int32_t formRefreshType = Constants::REFRESH_ALL_FORM; variable
4428 …EXPECT_EQ(FormMgr::GetInstance().BatchRefreshForms(formRefreshType), ERR_APPEXECFWK_FORM_COMMON_CO…
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_task_mgr.cpp1346 void FormTaskMgr::PostBatchRefreshForms(const int32_t formRefreshType) in PostBatchRefreshForms() argument
1354 auto batchRefreshForms = [formRefreshType]() { in PostBatchRefreshForms()
1355 return FormMgrAdapter::GetInstance().BatchRefreshForms(formRefreshType); in PostBatchRefreshForms()
H A Dform_data_mgr.cpp2529 ErrCode FormDataMgr::GetRecordsByFormType(const int32_t formRefreshType, in GetRecordsByFormType() argument
2532 HILOG_INFO("formRefreshType:%{public}d", formRefreshType); in GetRecordsByFormType()
2543 if (formRefreshType == Constants::REFRESH_APP_FORM) { in GetRecordsByFormType()
2547 } else if (formRefreshType == Constants::REFRESH_ATOMIC_FORM) { in GetRecordsByFormType()
2551 } else if (formRefreshType == Constants::REFRESH_SYSTEMAPP_FORM) { in GetRecordsByFormType()
H A Dform_mgr_service.cpp1691 ErrCode FormMgrService::BatchRefreshForms(const int32_t formRefreshType) in BatchRefreshForms() argument
1699 return FormMgrAdapter::GetInstance().BatchRefreshForms(formRefreshType); in BatchRefreshForms()
H A Dform_mgr_adapter.cpp3850 ErrCode FormMgrAdapter::BatchRefreshForms(const int32_t formRefreshType) in BatchRefreshForms() argument
3854 …FormDataMgr::GetInstance().GetRecordsByFormType(formRefreshType, visibleFormRecords, invisibleForm… in BatchRefreshForms()
/ohos5.0/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_mgr_interface.h640 virtual int32_t BatchRefreshForms(const int32_t formRefreshType) in BatchRefreshForms() argument
H A Dform_mgr_proxy.h591 int32_t BatchRefreshForms(const int32_t formRefreshType) override;
/ohos5.0/foundation/ability/form_fwk/services/include/
H A Dform_task_mgr.h305 void PostBatchRefreshForms(const int32_t formRefreshType);
H A Dform_data_mgr.h724 ErrCode GetRecordsByFormType(const int32_t formRefreshType,
H A Dform_mgr_service.h627 ErrCode BatchRefreshForms(const int32_t formRefreshType) override;
H A Dform_mgr_adapter.h625 ErrCode BatchRefreshForms(const int32_t formRefreshType);
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp3359 int32_t formRefreshType = Constants::REFRESH_ALL_FORM; variable
3362 …EXPECT_EQ(ERR_OK, formDataMgr_.GetRecordsByFormType(formRefreshType, visibleFormRecords1, inVisibl…
3366 formRefreshType = Constants::REFRESH_APP_FORM;
3369 …EXPECT_EQ(ERR_OK, formDataMgr_.GetRecordsByFormType(formRefreshType, visibleFormRecords2, inVisibl…
3373 formRefreshType = Constants::REFRESH_ATOMIC_FORM;
3376 …EXPECT_EQ(ERR_OK, formDataMgr_.GetRecordsByFormType(formRefreshType, visibleFormRecords3, inVisibl…
/ohos5.0/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_mgr_stub.cpp1581 int32_t formRefreshType = data.ReadInt32(); in HandleBatchRefreshForms() local
1582 ErrCode result = BatchRefreshForms(formRefreshType); in HandleBatchRefreshForms()
H A Dform_mgr_proxy.cpp2299 int32_t FormMgrProxy::BatchRefreshForms(const int32_t formRefreshType) in BatchRefreshForms() argument
2306 if (!data.WriteInt32(formRefreshType)) { in BatchRefreshForms()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test2.cpp2253 int32_t formRefreshType = Constants::REFRESH_ALL_FORM; variable
2254 EXPECT_EQ(ERR_OK, formMgrAdapter.BatchRefreshForms(formRefreshType));