Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/
H A Dform_info_mgr_test.cpp278 FormInfoStorage formInfoStorage; variable
279 formInfoStorage.userId = USER_ID;
306 FormInfoStorage formInfoStorage; variable
307 formInfoStorage.userId = 101;
326 FormInfoStorage formInfoStorage; variable
345 FormInfoStorage formInfoStorage; variable
363 FormInfoStorage formInfoStorage; variable
381 FormInfoStorage formInfoStorage; variable
407 FormInfoStorage formInfoStorage; variable
433 FormInfoStorage formInfoStorage; variable
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_share_mgr_test/
H A Dfms_form_share_mgr_test.cpp171 FormInfoStorage formInfoStorage; in CreateProviderData() local
172 formInfoStorage.userId = USER_ID; in CreateProviderData()
827 FormInfoStorage formInfoStorage; variable
876 FormInfoStorage formInfoStorage; variable
908 FormInfoStorage formInfoStorage; variable
955 FormInfoStorage formInfoStorage; variable
986 FormInfoStorage formInfoStorage; variable
1006 FormInfoStorage formInfoStorage; variable
1036 FormInfoStorage formInfoStorage; variable
1070 FormInfoStorage formInfoStorage; variable
[all …]
/ohos5.0/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()
145formInfoStorage.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() local
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() local
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 : formInfoStorages_) { in RemoveAllDynamicFormsInfo() local
318 if (formInfoStorage.userId != userId) { in RemoveAllDynamicFormsInfo()
[all …]
/ohos5.0/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);
/ohos5.0/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()
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formsupplycallback_fuzzer/
H A Dformsupplycallback_fuzzer.cpp72 AAFwk::FormInfoStorage formInfoStorage(userId, formInfos); in DoSomethingInterestingWithMyAPI() local
73 formInfoStorage.GetAllFormsInfo(userId, formInfos); in DoSomethingInterestingWithMyAPI()
75 formInfoStorage.GetFormsInfoByModule(userId, moduleName, formInfos); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_info_storage_test/
H A Dfms_form_info_storage_test.cpp70 AAFwk::FormInfoStorage formInfoStorage(userId, formInfos);
181 AAFwk::FormInfoStorage formInfoStorage; variable
186 to_json(jsonObject, formInfoStorage);
187 from_json(jsonObject, formInfoStorage);
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_message_event_test/
H A Dfms_form_mgr_message_event_test.cpp1033 FormInfoStorage formInfoStorage; variable
1034 formInfoStorage.userId = userId_;
1035 formInfoStorage.formInfos.push_back(formInfo);
1036 bundleFormInfo->formInfoStorages_.emplace_back(formInfoStorage);
/ohos5.0/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()