Home
last modified time | relevance | path

Searched refs:targetForms (Results 1 - 10 of 10) sorted by relevance

/foundation/ability/form_fwk/test/fuzztest/formdatamgrtwo_fuzzer/
H A Dformdatamgrtwo_fuzzer.cpp60 std::vector<FormInfo> targetForms; in DoSomethingInterestingWithMyAPI() local
62 targetForms.emplace_back(updatedForm); in DoSomethingInterestingWithMyAPI()
63 formDataMgr.GetUpdatedForm(records, targetForms, updatedForm); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formsyseventreceiver_fuzzer/
H A Dformsyseventreceiver_fuzzer.cpp48 std::vector<FormInfo> targetForms; in DoSomethingInterestingWithMyAPI() local
49 targetForms.emplace_back(formInfo); in DoSomethingInterestingWithMyAPI()
88 return FormEventUtil::ProviderFormUpdated(formId, formRecord, targetForms, bundleInfo); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/services/src/
H A Dform_ability_connection.cpp60 std::vector<FormInfo> targetForms; in OnAbilityConnectDone() local
61 if (FormInfoMgr::GetInstance().GetFormsInfoByBundle(bundleName_, targetForms) != ERR_OK) { in OnAbilityConnectDone()
74 if (FormDataMgr::GetInstance().GetUpdatedForm(formRecord, targetForms, updatedForm)) { in OnAbilityConnectDone()
H A Dform_event_util.cpp88 std::vector<FormInfo> targetForms; in HandleProviderUpdated() local
89 if (FormInfoMgr::GetInstance().GetFormsInfoByBundle(bundleName, targetForms, userId) != ERR_OK) { in HandleProviderUpdated()
105 if (ProviderFormUpdated(formId, formRecord, targetForms, bundleInfo)) { in HandleProviderUpdated()
230 const std::vector<FormInfo> &targetForms, const BundleInfo &bundleInfo) in ProviderFormUpdated()
233 if (targetForms.empty()) { in ProviderFormUpdated()
234 HILOG_ERROR("empty targetForms"); in ProviderFormUpdated()
239 bool bGetForm = FormDataMgr::GetInstance().GetUpdatedForm(formRecord, targetForms, updatedForm); in ProviderFormUpdated()
229 ProviderFormUpdated(const int64_t formId, FormRecord &formRecord, const std::vector<FormInfo> &targetForms, const BundleInfo &bundleInfo) ProviderFormUpdated() argument
H A Dform_data_mgr.cpp943 * @param targetForms Target forms.
947 bool FormDataMgr::GetUpdatedForm(const FormRecord &record, const std::vector<FormInfo> &targetForms, in GetUpdatedForm() argument
950 if (targetForms.empty()) { in GetUpdatedForm()
951 HILOG_ERROR("empty targetForms"); in GetUpdatedForm()
955 for (const FormInfo &item : targetForms) { in GetUpdatedForm()
/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dfms_form_event_util_test.cpp186 std::vector<FormInfo> targetForms; in HWTEST_F() local
188 EXPECT_EQ(false, FormEventUtil::ProviderFormUpdated(formId, formRecord, targetForms, bundleInfo)); in HWTEST_F()
202 std::vector<FormInfo> targetForms; in HWTEST_F() local
208 targetForms.emplace_back(formInfo); in HWTEST_F()
211 EXPECT_EQ(false, FormEventUtil::ProviderFormUpdated(formId, formRecord, targetForms, bundleInfo)); in HWTEST_F()
225 std::vector<FormInfo> targetForms; in HWTEST_F() local
231 targetForms.emplace_back(formInfo); in HWTEST_F()
234 EXPECT_EQ(true, FormEventUtil::ProviderFormUpdated(formId, formRecord, targetForms, bundleInfo)); in HWTEST_F()
H A Dmock_form_data_mgr.cpp115 bool FormDataMgr::GetUpdatedForm(const FormRecord &record, const std::vector<FormInfo> &targetForms, in GetUpdatedForm() argument
/foundation/ability/form_fwk/services/include/
H A Dform_event_util.h43 const std::vector<FormInfo> &targetForms, const BundleInfo &bundleInfo);
H A Dform_data_mgr.h276 * @param targetForms Target forms.
280 bool GetUpdatedForm(const FormRecord &record, const std::vector<FormInfo> &targetForms, FormInfo &updatedForm);
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp1368 * targetForms is empty.
1381 std::vector<FormInfo> targetForms; in HWTEST_F() local
1384 EXPECT_EQ(false, formDataMgr_.GetUpdatedForm(record, targetForms, updatedForm)); in HWTEST_F()
1394 * targetForms is not empty. record is same as formInfo.
1409 std::vector<FormInfo> targetForms; in HWTEST_F() local
1416 targetForms.emplace_back(formInfo); in HWTEST_F()
1420 EXPECT_EQ(true, formDataMgr_.GetUpdatedForm(record, targetForms, updatedForm)); in HWTEST_F()
1431 * targetForms is not empty. record is not same as formInfo.
1446 std::vector<FormInfo> targetForms; in HWTEST_F() local
1453 targetForms in HWTEST_F()
[all...]

Completed in 13 milliseconds