Home
last modified time | relevance | path

Searched refs:formRecords (Results 1 - 16 of 16) sorted by relevance

/foundation/ability/form_fwk/test/fuzztest/formrendermgr_fuzzer/
H A Dformrendermgr_fuzzer.cpp52 std::vector<FormRecord> formRecords; in DoSomethingInterestingWithMyAPI() local
53 formRecords.emplace_back(formRecord); in DoSomethingInterestingWithMyAPI()
56 formRenderMgr.ReloadForm(std::move(formRecords), bundleName, userId); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formrendermgrinner_fuzzer/
H A Dformrendermgrinner_fuzzer.cpp54 std::vector<FormRecord> formRecords; in DoSomethingInterestingWithMyAPI() local
55 formRecords.emplace_back(formRecord); in DoSomethingInterestingWithMyAPI()
58 formRenderMgrInner.ReloadForm(std::move(formRecords), bundleName, userId); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_test/
H A Dfms_form_render_mgr_test.cpp250 * @tc.desc: test ReloadForm function and formRecords is empty.
257 std::vector<FormRecord> formRecords; in HWTEST_F() local
261 formRenderMgr.ReloadForm(std::move(formRecords), bundleName, userId)); in HWTEST_F()
267 * @tc.desc: 1.test ReloadForm function and formRecords is not empty.
276 std::vector<FormRecord> formRecords; in HWTEST_F() local
281 formRecords.emplace_back(formRecord); in HWTEST_F()
282 formRecords.emplace_back(sandboxFormRecord); in HWTEST_F()
285 EXPECT_EQ(ERR_OK, formRenderMgr.ReloadForm(std::move(formRecords), bundleName, userId)); in HWTEST_F()
291 * @tc.desc: 1.test ReloadForm function and formRecords is not empty.
300 std::vector<FormRecord> formRecords; in HWTEST_F() local
[all...]
H A Dmock_form_render_mgr_inner.cpp83 ErrCode FormRenderMgrInner::ReloadForm(const std::vector<FormRecord> &&formRecords, in ReloadForm() argument
/foundation/ability/form_fwk/services/include/
H A Dform_render_mgr.h58 ErrCode ReloadForm(const std::vector<FormRecord> &&formRecords, const std::string &bundleName, int32_t userId);
H A Dform_task_mgr.h211 void PostReloadForm(const std::vector<FormRecord> &&formRecords, const Want &want,
463 void ReloadForm(const std::vector<FormRecord> &&formRecords, const Want &want,
H A Dform_render_mgr_inner.h51 ErrCode ReloadForm(const std::vector<FormRecord> &&formRecords, const std::string &bundleName, int32_t userId);
H A Dform_data_mgr.h710 * @brief Get the formRecords by refreshType.
742 * @param formRecords The Id list of the formRecord.
745 void EnableForms(const std::vector<FormRecord> &&formRecords, const bool enable);
/foundation/resourceschedule/device_usage_statistics/frameworks/src/
H A Dbundle_state_common.cpp308 napi_value formRecords = nullptr; in GetModuleRecordForResult() local
309 NAPI_CALL_RETURN_VOID(env, napi_create_array(env, &formRecords)); in GetModuleRecordForResult()
334 NAPI_CALL_RETURN_VOID(env, napi_set_element(env, formRecords, formIdx, formObject)); in GetModuleRecordForResult()
337 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, moduleObject, "formRecords", formRecords)); in GetModuleRecordForResult()
/foundation/ability/form_fwk/services/src/
H A Dform_task_mgr.cpp917 void FormTaskMgr::ReloadForm(const std::vector<FormRecord> &&formRecords, const Want &want, in ReloadForm() argument
928 for (const auto &formRecord : formRecords) { in ReloadForm()
941 void FormTaskMgr::PostReloadForm(const std::vector<FormRecord> &&formRecords, const Want &want, in PostReloadForm() argument
949 auto reloadForm = [forms = std::forward<decltype(formRecords)>(formRecords), want, remoteObject]() { in PostReloadForm()
H A Dform_render_mgr_inner.cpp211 const std::vector<FormRecord> &&formRecords, const std::string &bundleName, int32_t userId) in ReloadForm()
222 FormTaskMgr::GetInstance().PostReloadForm(std::forward<decltype(formRecords)>(formRecords), want, remoteObject); in ReloadForm()
210 ReloadForm( const std::vector<FormRecord> &&formRecords, const std::string &bundleName, int32_t userId) ReloadForm() argument
H A Dform_render_mgr.cpp141 const std::vector<FormRecord> &&formRecords, const std::string &bundleName, int32_t userId) in ReloadForm()
146 for (const auto &record : formRecords) { in ReloadForm()
140 ReloadForm( const std::vector<FormRecord> &&formRecords, const std::string &bundleName, int32_t userId) ReloadForm() argument
H A Dform_mgr_service.cpp176 std::vector<FormRecord> formRecords; in IsSystemAppForm() local
177 FormDataMgr::GetInstance().GetFormRecord(bundleName, formRecords); in IsSystemAppForm()
178 if (formRecords.empty()) { in IsSystemAppForm()
181 return formRecords.front().isSystemApp; in IsSystemAppForm()
H A Dform_data_mgr.cpp2561 void FormDataMgr::EnableForms(const std::vector<FormRecord> &&formRecords, const bool enable) in EnableForms() argument
2567 for (auto formRecord : formRecords) { in EnableForms()
/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_inner_test/
H A Dfms_form_render_mgr_inner_test.cpp313 std::vector<FormRecord> formRecords; in HWTEST_F() local
317 formRenderMgrInner.ReloadForm(std::move(formRecords), bundleName, userId)); in HWTEST_F()
331 std::vector<FormRecord> formRecords; in HWTEST_F() local
335 formRenderMgrInner.ReloadForm(std::move(formRecords), bundleName, userId)); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp112 * formRecords_ is empty, then create formRecords.
149 // create formRecords in HWTEST_F()
164 * formRecords_ is not include this formId, then create formRecords.
182 // create formRecords in HWTEST_F()
524 * there is no formRecords.
604 * formRecords is not found.
623 * formRecords is found.
632 // create formRecords in HWTEST_F()
650 * formRecords is not found.
669 * formRecords i
3391 std::vector<FormRecord> formRecords; HWTEST_F() local
[all...]

Completed in 21 milliseconds