Home
last modified time | relevance | path

Searched refs:timerCfg (Results 1 - 7 of 7) sorted by relevance

/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dfms_form_event_util_test.cpp736 FormTimerCfg timerCfg = {}; in HWTEST_F() local
738 timerCfg.enableUpdate = false; in HWTEST_F()
739 FormEventUtil::HandleTimerUpdate(formId, record, timerCfg); in HWTEST_F()
753 FormTimerCfg timerCfg = {}; in HWTEST_F() local
755 timerCfg.enableUpdate = false; in HWTEST_F()
756 FormEventUtil::HandleTimerUpdate(formId, record, timerCfg); in HWTEST_F()
770 FormTimerCfg timerCfg = {}; in HWTEST_F() local
772 timerCfg.enableUpdate = true; in HWTEST_F()
773 timerCfg.updateDuration = 1; in HWTEST_F()
774 FormEventUtil::HandleTimerUpdate(formId, record, timerCfg); in HWTEST_F()
788 FormTimerCfg timerCfg = {}; HWTEST_F() local
806 FormTimerCfg timerCfg = {}; HWTEST_F() local
825 FormTimerCfg timerCfg = {}; HWTEST_F() local
844 FormTimerCfg timerCfg = {}; HWTEST_F() local
863 FormTimerCfg timerCfg = {}; HWTEST_F() local
886 FormTimerCfg timerCfg = {}; HWTEST_F() local
909 FormTimerCfg timerCfg = {}; HWTEST_F() local
932 FormTimerCfg timerCfg = {}; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_timer_mgr_test/
H A Dfms_form_timer_mgr_test.cpp562 FormTimerCfg timerCfg; in HWTEST_F() local
563 EXPECT_EQ(false, formTimerMgr.UpdateFormTimer(formId, type, timerCfg)); in HWTEST_F()
578 FormTimerCfg timerCfg; in HWTEST_F() local
579 timerCfg.enableUpdate = true; in HWTEST_F()
580 EXPECT_EQ(false, formTimerMgr.UpdateFormTimer(formId, type, timerCfg)); in HWTEST_F()
594 FormTimerCfg timerCfg; in HWTEST_F() local
595 timerCfg.updateDuration = 2 * Constants::MIN_PERIOD; in HWTEST_F()
596 EXPECT_EQ(false, formTimerMgr.UpdateIntervalValue(formId, timerCfg)); in HWTEST_F()
610 FormTimerCfg timerCfg; in HWTEST_F() local
611 timerCfg in HWTEST_F()
626 FormTimerCfg timerCfg; HWTEST_F() local
642 FormTimerCfg timerCfg; HWTEST_F() local
658 FormTimerCfg timerCfg; HWTEST_F() local
674 FormTimerCfg timerCfg; HWTEST_F() local
690 FormTimerCfg timerCfg; HWTEST_F() local
706 FormTimerCfg timerCfg; HWTEST_F() local
723 FormTimerCfg timerCfg; HWTEST_F() local
743 FormTimerCfg timerCfg; HWTEST_F() local
763 FormTimerCfg timerCfg; HWTEST_F() local
779 FormTimerCfg timerCfg; HWTEST_F() local
795 FormTimerCfg timerCfg; HWTEST_F() local
811 FormTimerCfg timerCfg; HWTEST_F() local
828 FormTimerCfg timerCfg; HWTEST_F() local
845 FormTimerCfg timerCfg; HWTEST_F() local
861 FormTimerCfg timerCfg; HWTEST_F() local
877 FormTimerCfg timerCfg; HWTEST_F() local
893 FormTimerCfg timerCfg; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_event_util.cpp250 FormTimerCfg timerCfg; in ProviderFormUpdated() local
251 GetTimerCfg(updatedForm.updateEnabled, updatedForm.updateDuration, updatedForm.scheduledUpdateTime, timerCfg); in ProviderFormUpdated()
252 HandleTimerUpdate(formId, formRecord, timerCfg); in ProviderFormUpdated()
271 FormTimerCfg timerCfg; in ProviderFormUpdated() local
272 GetTimerCfg(packForm.updateEnabled, packForm.updateDuration, packForm.scheduledUpdateTime, timerCfg); in ProviderFormUpdated()
273 HandleTimerUpdate(formId, formRecord, timerCfg); in ProviderFormUpdated()
389 const FormRecord &record, const FormTimerCfg &timerCfg) in HandleTimerUpdate()
392 if (!record.isEnableUpdate && !timerCfg.enableUpdate) { in HandleTimerUpdate()
397 if (record.isEnableUpdate && !timerCfg.enableUpdate) { in HandleTimerUpdate()
404 if (!record.isEnableUpdate && timerCfg in HandleTimerUpdate()
388 HandleTimerUpdate(const int64_t formId, const FormRecord &record, const FormTimerCfg &timerCfg) HandleTimerUpdate() argument
441 GetUpdateType(const FormRecord &record, const FormTimerCfg &timerCfg) GetUpdateType() argument
562 FormTimerCfg timerCfg; HandleAdditionalInfoChanged() local
[all...]
H A Dform_timer_mgr.cpp145 * @param timerCfg Timer config.
148 bool FormTimerMgr::UpdateFormTimer(int64_t formId, const UpdateType &type, const FormTimerCfg &timerCfg) in UpdateFormTimer() argument
150 if (!timerCfg.enableUpdate) { in UpdateFormTimer()
157 return UpdateIntervalValue(formId, timerCfg); in UpdateFormTimer()
160 return UpdateAtTimerValue(formId, timerCfg); in UpdateFormTimer()
163 return IntervalToAtTimer(formId, timerCfg); in UpdateFormTimer()
166 return AtTimerToIntervalTimer(formId, timerCfg); in UpdateFormTimer()
177 * @param timerCfg task value.
180 bool FormTimerMgr::UpdateIntervalValue(int64_t formId, const FormTimerCfg &timerCfg) in UpdateIntervalValue() argument
182 if (timerCfg in UpdateIntervalValue()
204 UpdateAtTimerValue(int64_t formId, const FormTimerCfg &timerCfg) UpdateAtTimerValue() argument
247 IntervalToAtTimer(int64_t formId, const FormTimerCfg &timerCfg) IntervalToAtTimer() argument
281 AtTimerToIntervalTimer(int64_t formId, const FormTimerCfg &timerCfg) AtTimerToIntervalTimer() argument
[all...]
/foundation/ability/form_fwk/test/fuzztest/formtimermgr_fuzzer/
H A Dformtimermgr_fuzzer.cpp53 FormTimerCfg timerCfg; in DoSomethingInterestingWithMyAPI() local
54 formTimerMgr.UpdateFormTimer(formId, type, timerCfg); in DoSomethingInterestingWithMyAPI()
55 formTimerMgr.UpdateIntervalValue(formId, timerCfg); in DoSomethingInterestingWithMyAPI()
56 formTimerMgr.UpdateAtTimerValue(formId, timerCfg); in DoSomethingInterestingWithMyAPI()
57 formTimerMgr.IntervalToAtTimer(formId, timerCfg); in DoSomethingInterestingWithMyAPI()
58 formTimerMgr.AtTimerToIntervalTimer(formId, timerCfg); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/services/include/
H A Dform_timer_mgr.h77 * @param timerCfg Timer config.
80 bool UpdateFormTimer(int64_t formId, const UpdateType &type, const FormTimerCfg &timerCfg);
227 * @param timerCfg task value.
230 bool UpdateIntervalValue(int64_t formId, const FormTimerCfg &timerCfg);
234 * @param timerCfg task value.
237 bool UpdateAtTimerValue(int64_t formId, const FormTimerCfg &timerCfg);
241 * @param timerCfg task value.
244 bool IntervalToAtTimer(int64_t formId, const FormTimerCfg &timerCfg);
248 * @param timerCfg task value.
251 bool AtTimerToIntervalTimer(int64_t formId, const FormTimerCfg &timerCfg);
[all...]
H A Dform_event_util.h52 static void HandleTimerUpdate(const int64_t formId, const FormRecord &record, const FormTimerCfg &timerCfg);
62 static UpdateType GetUpdateType(const FormRecord &record, const FormTimerCfg &timerCfg);

Completed in 7 milliseconds