Home
last modified time | relevance | path

Searched refs:formInfoStorage (Results 1 - 12 of 12) sorted by relevance

/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/
H A Dform_info_mgr_test.cpp278 FormInfoStorage formInfoStorage; in HWTEST_F() local
279 formInfoStorage.userId = USER_ID; in HWTEST_F()
280 formInfoStorage.formInfos.push_back(formInfo); in HWTEST_F()
282 formInfoStorage.formInfos.push_back(formInfo); in HWTEST_F()
283 bundleFormInfo.formInfoStorages_.emplace_back(formInfoStorage); in HWTEST_F()
306 FormInfoStorage formInfoStorage; in HWTEST_F() local
307 formInfoStorage.userId = 101; in HWTEST_F()
308 formInfoStorage.formInfos.push_back(GetTestFormInfo()); in HWTEST_F()
309 bundleFormInfo.formInfoStorages_.emplace_back(formInfoStorage); in HWTEST_F()
326 FormInfoStorage formInfoStorage; in HWTEST_F() local
345 FormInfoStorage formInfoStorage; HWTEST_F() local
363 FormInfoStorage formInfoStorage; HWTEST_F() local
381 FormInfoStorage formInfoStorage; HWTEST_F() local
407 FormInfoStorage formInfoStorage; HWTEST_F() local
433 FormInfoStorage formInfoStorage; HWTEST_F() local
457 FormInfoStorage formInfoStorage; HWTEST_F() local
733 FormInfoStorage formInfoStorage; HWTEST_F() local
754 FormInfoStorage formInfoStorage; HWTEST_F() local
778 FormInfoStorage formInfoStorage; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_info_storage.cpp129 void to_json(nlohmann::json &jsonObject, const FormInfoStorage &formInfoStorage) in to_json() argument
132 {JSON_KEY_USER_ID, formInfoStorage.userId}, in to_json()
133 {JSON_KEY_FORM_INFO, formInfoStorage.formInfos} in to_json()
137 void from_json(const nlohmann::json &jsonObject, FormInfoStorage &formInfoStorage) in from_json() argument
141 formInfoStorage.userId = jsonObject.at(JSON_KEY_USER_ID).get<int32_t>(); in from_json()
145 formInfoStorage.formInfos = jsonObject.at(JSON_KEY_FORM_INFO).get<std::vector<AppExecFwk::FormInfo>>(); in from_json()
H A Dform_info_mgr.cpp260 for (auto &formInfoStorage : formInfoStorages_) { in AddDynamicFormInfo()
261 if (formInfoStorage.userId != userId) { in AddDynamicFormInfo()
265 for (const auto &item : formInfoStorage.formInfos) { in AddDynamicFormInfo()
276 formInfoStorage.formInfos.push_back(formInfo); in AddDynamicFormInfo()
291 for (auto &formInfoStorage : formInfoStorages_) { in RemoveDynamicFormInfo()
292 if (formInfoStorage.userId != userId) { in RemoveDynamicFormInfo()
295 for (auto item = formInfoStorage.formInfos.begin(); item != formInfoStorage.formInfos.end();) { in RemoveDynamicFormInfo()
305 item = formInfoStorage.formInfos.erase(item); in RemoveDynamicFormInfo()
317 for (auto &formInfoStorage in RemoveAllDynamicFormsInfo()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_share_mgr_test/
H A Dfms_form_share_mgr_test.cpp170 FormInfoStorage formInfoStorage; in CreateProviderData() local
171 formInfoStorage.userId = USER_ID; in CreateProviderData()
172 formInfoStorage.formInfos.push_back(formInfo); in CreateProviderData()
173 bundleFormInfo->formInfoStorages_.emplace_back(formInfoStorage); in CreateProviderData()
826 FormInfoStorage formInfoStorage; in HWTEST_F() local
827 formInfoStorage.userId = USER_ID; in HWTEST_F()
828 formInfoStorage.formInfos.push_back(formInfo); in HWTEST_F()
829 bundleFormInfo.formInfoStorages_.emplace_back(formInfoStorage); in HWTEST_F()
875 FormInfoStorage formInfoStorage; in HWTEST_F() local
876 formInfoStorage in HWTEST_F()
907 FormInfoStorage formInfoStorage; HWTEST_F() local
954 FormInfoStorage formInfoStorage; HWTEST_F() local
985 FormInfoStorage formInfoStorage; HWTEST_F() local
1005 FormInfoStorage formInfoStorage; HWTEST_F() local
1035 FormInfoStorage formInfoStorage; HWTEST_F() local
1069 FormInfoStorage formInfoStorage; HWTEST_F() local
1103 FormInfoStorage formInfoStorage; HWTEST_F() local
1159 FormInfoStorage formInfoStorage; HWTEST_F() local
1193 FormInfoStorage formInfoStorage; HWTEST_F() local
1215 FormInfoStorage formInfoStorage; HWTEST_F() local
1247 FormInfoStorage formInfoStorage; HWTEST_F() local
1280 FormInfoStorage formInfoStorage; HWTEST_F() local
1313 FormInfoStorage formInfoStorage; HWTEST_F() local
1346 FormInfoStorage formInfoStorage; HWTEST_F() local
1383 FormInfoStorage formInfoStorage; HWTEST_F() local
1432 FormInfoStorage formInfoStorage; HWTEST_F() local
1463 FormInfoStorage formInfoStorage; HWTEST_F() local
1482 FormInfoStorage formInfoStorage; HWTEST_F() local
1501 FormInfoStorage formInfoStorage; HWTEST_F() local
1532 FormInfoStorage formInfoStorage; HWTEST_F() local
1613 FormInfoStorage formInfoStorage; HWTEST_F() local
1682 FormInfoStorage formInfoStorage; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/services/include/
H A Dform_info_storage.h40 void to_json(nlohmann::json &jsonObject, const FormInfoStorage &formInfoStorage);
41 void from_json(const nlohmann::json &jsonObject, FormInfoStorage &formInfoStorage);
/foundation/ability/form_fwk/test/fuzztest/formsupplycallback_fuzzer/
H A Dformsupplycallback_fuzzer.cpp72 AAFwk::FormInfoStorage formInfoStorage(userId, formInfos); in DoSomethingInterestingWithMyAPI()
73 formInfoStorage.GetAllFormsInfo(userId, formInfos); in DoSomethingInterestingWithMyAPI()
75 formInfoStorage.GetFormsInfoByModule(userId, moduleName, formInfos); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_publish_form_test/
H A Dfms_form_mgr_publish_form_test.cpp140 FormInfoStorage formInfoStorage; in CreateProviderData() local
141 formInfoStorage.userId = USER_ID; in CreateProviderData()
142 formInfoStorage.formInfos.push_back(formInfo); in CreateProviderData()
143 bundleFormInfo->formInfoStorages_.emplace_back(formInfoStorage); in CreateProviderData()
/foundation/ability/form_fwk/test/unittest/fms_form_info_storage_test/
H A Dfms_form_info_storage_test.cpp70 AAFwk::FormInfoStorage formInfoStorage(userId, formInfos); in HWTEST_F()
181 AAFwk::FormInfoStorage formInfoStorage; in HWTEST_F() local
186 to_json(jsonObject, formInfoStorage); in HWTEST_F()
187 from_json(jsonObject, formInfoStorage); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_death_callback_test/
H A Dfms_form_mgr_death_callback_test.cpp134 FormInfoStorage formInfoStorage; in CreateProviderData() local
135 formInfoStorage.userId = userId_; in CreateProviderData()
136 formInfoStorage.formInfos.push_back(formInfo); in CreateProviderData()
137 bundleFormInfo->formInfoStorages_.emplace_back(formInfoStorage); in CreateProviderData()
/foundation/ability/form_fwk/test/unittest/fms_form_sys_event_receiver_test/
H A Dfms_form_sys_event_receiver_test.cpp134 FormInfoStorage formInfoStorage; in CreateProviderData() local
135 formInfoStorage.userId = 0; in CreateProviderData()
136 formInfoStorage.formInfos.push_back(formInfo); in CreateProviderData()
137 bundleFormInfo->formInfoStorages_.emplace_back(formInfoStorage); in CreateProviderData()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_add_form_test/
H A Dfms_form_mgr_add_form_test.cpp141 FormInfoStorage formInfoStorage; in CreateProviderData() local
142 formInfoStorage.userId = userId_; in CreateProviderData()
143 formInfoStorage.formInfos.push_back(formInfo); in CreateProviderData()
144 bundleFormInfo->formInfoStorages_.emplace_back(formInfoStorage); in CreateProviderData()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_message_event_test/
H A Dfms_form_mgr_message_event_test.cpp1033 FormInfoStorage formInfoStorage; in HWTEST_F() local
1034 formInfoStorage.userId = userId_; in HWTEST_F()
1035 formInfoStorage.formInfos.push_back(formInfo); in HWTEST_F()
1036 bundleFormInfo->formInfoStorages_.emplace_back(formInfoStorage); in HWTEST_F()

Completed in 13 milliseconds