/foundation/ability/form_fwk/test/fuzztest/formdatamgrtwo_fuzzer/ |
H A D | formdatamgrtwo_fuzzer.cpp | 60 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 D | formsyseventreceiver_fuzzer.cpp | 48 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 D | form_ability_connection.cpp | 60 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 D | form_event_util.cpp | 88 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 D | form_data_mgr.cpp | 943 * @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 D | fms_form_event_util_test.cpp | 186 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 D | mock_form_data_mgr.cpp | 115 bool FormDataMgr::GetUpdatedForm(const FormRecord &record, const std::vector<FormInfo> &targetForms,
in GetUpdatedForm() argument
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_event_util.h | 43 const std::vector<FormInfo> &targetForms, const BundleInfo &bundleInfo);
|
H A D | form_data_mgr.h | 276 * @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 D | fms_form_data_mgr_test.cpp | 1368 * 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...] |