/foundation/ability/form_fwk/services/include/ |
H A D | form_info_storage.h | 25 struct FormInfoStorage { struct 29 FormInfoStorage() = default; 30 FormInfoStorage(int32_t userId, const std::vector<AppExecFwk::FormInfo> &formInfos); 31 ~FormInfoStorage() = default; 40 void to_json(nlohmann::json &jsonObject, const FormInfoStorage &formInfoStorage); 41 void from_json(const nlohmann::json &jsonObject, FormInfoStorage &formInfoStorage);
|
H A D | form_info_mgr.h | 85 std::vector<AAFwk::FormInfoStorage> formInfoStorages_ {};
|
/foundation/ability/form_fwk/test/unittest/fms_form_info_storage_test/ |
H A D | fms_form_info_storage_test.cpp | 38 std::shared_ptr<AAFwk::FormInfoStorage> formInfoStorage_; 49 formInfoStorage_ = std::make_shared<AAFwk::FormInfoStorage>(); in SetUp() 59 * @tc.desc: Test function FormInfoStorage is called 70 AAFwk::FormInfoStorage formInfoStorage(userId, formInfos); in HWTEST_F() 84 formInfoStorage_->FormInfoStorage::GetAllFormsInfo(userId, formInfos); in HWTEST_F() 98 formInfoStorage_->FormInfoStorage::GetAllFormsInfo(userId, formInfos); in HWTEST_F() 117 formInfoStorage_->FormInfoStorage::GetAllFormsInfo(userId, formInfos); in HWTEST_F() 132 formInfoStorage_->FormInfoStorage::GetFormsInfoByModule(userId, moduleName, formInfos); in HWTEST_F() 147 formInfoStorage_->FormInfoStorage::GetFormsInfoByModule(userId, moduleName, formInfos); in HWTEST_F() 168 formInfoStorage_->FormInfoStorage in HWTEST_F() [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_info_storage.cpp | 31 FormInfoStorage::FormInfoStorage(int32_t userId, const std::vector<AppExecFwk::FormInfo> &formInfos) in FormInfoStorage() function in OHOS::AAFwk::FormInfoStorage 39 void FormInfoStorage::GetAllFormsInfo(int32_t userId, std::vector<AppExecFwk::FormInfo> &formInfos) const in GetAllFormsInfo() 84 void FormInfoStorage::GetFormsInfoByFilter(int32_t userId, in GetFormsInfoByFilter() 116 void FormInfoStorage::GetFormsInfoByModule(int32_t userId, const std::string &moduleName, in GetFormsInfoByModule() 129 void to_json(nlohmann::json &jsonObject, const FormInfoStorage &formInfoStorage) in to_json() 137 void from_json(const nlohmann::json &jsonObject, FormInfoStorage &formInfoStorage) in from_json()
|
H A D | form_info_mgr.cpp | 204 auto formInfoStorages = jsonObject.get<std::vector<AAFwk::FormInfoStorage>>(); in InitFromJson()
|
/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/ |
H A D | form_info_mgr_test.cpp | 278 FormInfoStorage formInfoStorage; in HWTEST_F() 306 FormInfoStorage formInfoStorage; in HWTEST_F() 326 FormInfoStorage formInfoStorage; in HWTEST_F() 345 FormInfoStorage formInfoStorage; in HWTEST_F() 363 FormInfoStorage formInfoStorage; in HWTEST_F() 381 FormInfoStorage formInfoStorage; in HWTEST_F() 407 FormInfoStorage formInfoStorage; in HWTEST_F() 433 FormInfoStorage formInfoStorage; in HWTEST_F() 457 FormInfoStorage formInfoStorage; in HWTEST_F() 733 FormInfoStorage formInfoStorag in HWTEST_F() [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_share_mgr_test/ |
H A D | fms_form_share_mgr_test.cpp | 157 std::vector<FormInfoStorage> formInfoStorages; in CreateProviderData() 170 FormInfoStorage formInfoStorage; in CreateProviderData() 813 std::vector<AAFwk::FormInfoStorage> formInfoStorages_; in HWTEST_F() 826 FormInfoStorage formInfoStorage; in HWTEST_F() 862 std::vector<AAFwk::FormInfoStorage> formInfoStorages_; in HWTEST_F() 875 FormInfoStorage formInfoStorage; in HWTEST_F() 894 std::vector<AAFwk::FormInfoStorage> formInfoStorages_; in HWTEST_F() 907 FormInfoStorage formInfoStorage; in HWTEST_F() 954 FormInfoStorage formInfoStorage; in HWTEST_F() 985 FormInfoStorage formInfoStorag in HWTEST_F() [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_publish_form_test/ |
H A D | fms_form_mgr_publish_form_test.cpp | 127 std::vector<FormInfoStorage> formInfoStorages; in CreateProviderData() 140 FormInfoStorage formInfoStorage; in CreateProviderData()
|
/foundation/ability/form_fwk/test/fuzztest/formsupplycallback_fuzzer/ |
H A D | formsupplycallback_fuzzer.cpp | 72 AAFwk::FormInfoStorage formInfoStorage(userId, formInfos); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_death_callback_test/ |
H A D | fms_form_mgr_death_callback_test.cpp | 134 FormInfoStorage formInfoStorage; in CreateProviderData()
|
/foundation/ability/form_fwk/test/unittest/fms_form_sys_event_receiver_test/ |
H A D | fms_form_sys_event_receiver_test.cpp | 121 std::vector<FormInfoStorage> formInfoStorages; in CreateProviderData() 134 FormInfoStorage formInfoStorage; in CreateProviderData()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_add_form_test/ |
H A D | fms_form_mgr_add_form_test.cpp | 141 FormInfoStorage formInfoStorage; in CreateProviderData()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_message_event_test/ |
H A D | fms_form_mgr_message_event_test.cpp | 1033 FormInfoStorage formInfoStorage; in HWTEST_F()
|