Home
last modified time | relevance | path

Searched refs:updateAtMin (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_event_util.cpp390 cfg.updateAtMin = min; in GetTimerCfg()
414 timerCfg.updateDuration, timerCfg.updateAtHour, timerCfg.updateAtMin); in HandleTimerUpdate()
423 … HILOG_INFO("add at timer:%{public}d,%{public}d", timerCfg.updateAtHour, timerCfg.updateAtMin); in HandleTimerUpdate()
425 timerCfg.updateAtMin, record.providerUserId); in HandleTimerUpdate()
437 timerCfg.updateDuration, timerCfg.updateAtHour, timerCfg.updateAtMin); in HandleTimerUpdate()
469 … if (record.updateAtHour == timerCfg.updateAtHour && record.updateAtMin == timerCfg.updateAtMin) { in GetUpdateType()
590 formRecord.updateAtMin = std::stoi(time[1]); in UpdateFormRecord()
604 formRecord.updateAtMin = std::stoi(time[1]); in UpdateFormRecord()
H A Dform_timer_mgr.cpp110 bool FormTimerMgr::AddFormTimer(int64_t formId, long updateAtHour, long updateAtMin, int32_t userId) in AddFormTimer() argument
113 …string(formId).c_str(), std::to_string(updateAtHour).c_str(), std::to_string(updateAtMin).c_str()); in AddFormTimer()
114 FormTimer timerTask(formId, updateAtHour, updateAtMin, userId); in AddFormTimer()
207 … || timerCfg.updateAtMin < Constants::MIN_TIME || timerCfg.updateAtMin > Constants::MAX_MINUTE) { in UpdateAtTimerValue()
230 changedItem.refreshTask.min = timerCfg.updateAtMin; in UpdateAtTimerValue()
250 … || timerCfg.updateAtMin < Constants::MIN_TIME || timerCfg.updateAtMin > Constants::MAX_MINUTE) { in IntervalToAtTimer()
264 timerTask.min = timerCfg.updateAtMin; in IntervalToAtTimer()
H A Dform_dump_mgr.cpp162 formInfo += " updateAtMin [" + std::to_string(formRecordInfo.updateAtMin) + "]\n"; in DumpFormInfo()
H A Dform_data_mgr.cpp1037 const int updateAtMin) in SetUpdateInfo() argument
1049 itFormRecord->second.updateAtMin = updateAtMin; in SetUpdateInfo()
1445 record.updateAtMin = min; in ParseAtTimerConfig()
H A Dform_mgr_adapter.cpp1684 if (formRecord.updateAtHour >= 0 && formRecord.updateAtMin >= 0) { in AddFormTimer()
1686 formRecord.updateAtHour, formRecord.updateAtMin, formRecord.providerUserId); in AddFormTimer()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_timer_mgr_test/
H A Dfms_form_timer_mgr_test.cpp137 timerCfg2.updateAtMin = 55;
159 timerCfg3.updateAtMin = 25;
326 timerCfg2.updateAtMin = 60;
348 timerCfg3.updateAtMin = 60;
691 timerCfg.updateAtMin = Constants::MIN_TIME - 1;
708 timerCfg.updateAtMin = Constants::MIN_TIME + 1;
725 timerCfg.updateAtMin = Constants::MIN_TIME + 1;
745 timerCfg.updateAtMin = Constants::MIN_TIME + 1;
796 timerCfg.updateAtMin = Constants::MIN_TIME - 1;
813 timerCfg.updateAtMin = Constants::MIN_TIME + 1;
[all …]
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formdatamgrtwo_fuzzer/
H A Dformdatamgrtwo_fuzzer.cpp68 int updateAtMin = static_cast<int>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
69 formDataMgr.SetUpdateInfo(formId, enableUpdate, updateDuration, updateAtHour, updateAtMin); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formtimermgr_fuzzer/
H A Dformtimermgr_fuzzer.cpp49 long updateAtMin = static_cast<long>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
50 formTimerMgr.AddFormTimer(formId, updateAtHour, updateAtMin, userId); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dfms_form_event_util_test.cpp870 record.updateAtMin = 0;
871 timerCfg.updateAtMin = 0;
893 record.updateAtMin = 0;
894 timerCfg.updateAtMin = 0;
916 record.updateAtMin = 1;
917 timerCfg.updateAtMin = 0;
/ohos5.0/foundation/ability/form_fwk/services/include/
H A Dform_record.h51 int updateAtMin = -1; variable
H A Dform_timer.h154 int updateAtMin = -1; member
H A Dform_timer_mgr.h66 bool AddFormTimer(int64_t formId, long updateAtHour, long updateAtMin, int32_t userId = 0);
H A Dform_data_mgr.h304 const int updateAtHour, const int updateAtMin);
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_db_record_test/
H A Dfms_form_db_record_test.cpp54 formRecord_.updateAtMin = 0; in InitFormRecord()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp1525 int updateAtMin = 59; variable
1529 formDataMgr->SetUpdateInfo(formId, enableUpdate, updateDuration, updateAtHour, updateAtMin);
1549 int updateAtMin = 59; variable
1558 formDataMgr_.SetUpdateInfo(formId, enableUpdate, updateDuration, updateAtHour, updateAtMin);
1562 EXPECT_EQ(59, formDataMgr_.formRecords_.find(formId)->second.updateAtMin);
3798 EXPECT_EQ(record.updateAtMin, 30);
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test.cpp730 formRecord.updateAtMin = 0;
749 formRecord.updateAtMin = -1;
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_add_form_test/
H A Dfms_form_mgr_add_form_test.cpp297 retFormRec.updateAtMin = 1;