Home
last modified time | relevance | path

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

/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()
/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()
/foundation/ability/form_fwk/test/unittest/fms_form_timer_mgr_test/
H A Dfms_form_timer_mgr_test.cpp137 timerCfg2.updateAtMin = 55; in HWTEST_F()
159 timerCfg3.updateAtMin = 25; in HWTEST_F()
326 timerCfg2.updateAtMin = 60; in HWTEST_F()
348 timerCfg3.updateAtMin = 60; in HWTEST_F()
675 timerCfg.updateAtMin = Constants::MAX_MINUTE + 1; in HWTEST_F()
691 timerCfg.updateAtMin = Constants::MIN_TIME - 1; in HWTEST_F()
708 timerCfg.updateAtMin = Constants::MIN_TIME + 1; in HWTEST_F()
725 timerCfg.updateAtMin = Constants::MIN_TIME + 1; in HWTEST_F()
745 timerCfg.updateAtMin = Constants::MIN_TIME + 1; in HWTEST_F()
780 timerCfg.updateAtMin in HWTEST_F()
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_event_util.cpp382 cfg.updateAtMin = min; in GetTimerCfg()
406 timerCfg.updateDuration, timerCfg.updateAtHour, timerCfg.updateAtMin); in HandleTimerUpdate()
415 HILOG_INFO("add at timer:%{public}d,%{public}d", timerCfg.updateAtHour, timerCfg.updateAtMin); in HandleTimerUpdate()
417 timerCfg.updateAtMin, record.providerUserId); in HandleTimerUpdate()
429 timerCfg.updateDuration, timerCfg.updateAtHour, timerCfg.updateAtMin); in HandleTimerUpdate()
461 if (record.updateAtHour == timerCfg.updateAtHour && record.updateAtMin == timerCfg.updateAtMin) { in GetUpdateType()
582 formRecord.updateAtMin = std::stoi(time[1]); in UpdateFormRecord()
596 formRecord.updateAtMin = std::stoi(time[1]); in UpdateFormRecord()
H A Dform_timer_mgr.cpp106 * @param updateAtMin Min.
110 bool FormTimerMgr::AddFormTimer(int64_t formId, long updateAtHour, long updateAtMin, int32_t userId) in AddFormTimer() argument
113 std::to_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()
[all...]
H A Dform_dump_mgr.cpp162 formInfo += " updateAtMin [" + std::to_string(formRecordInfo.updateAtMin) + "]\n"; in DumpFormInfo()
H A Dform_data_mgr.cpp985 * @param updateAtMin Update at minute.
992 const int updateAtMin) in SetUpdateInfo()
1004 itFormRecord->second.updateAtMin = updateAtMin; in SetUpdateInfo()
1400 record.updateAtMin = min; in ParseAtTimerConfig()
987 SetUpdateInfo( const int64_t formId, const bool enableUpdate, const long updateDuration, const int updateAtHour, const int updateAtMin) SetUpdateInfo() argument
H A Dform_mgr_adapter.cpp1629 if (formRecord.updateAtHour >= 0 && formRecord.updateAtMin >= 0) { in AddFormTimer()
1631 formRecord.updateAtHour, formRecord.updateAtMin, formRecord.providerUserId); in AddFormTimer()
/foundation/ability/form_fwk/services/include/
H A Dform_record.h50 int updateAtMin = -1; member in OHOS::AppExecFwk::FormRecord
H A Dform_timer.h154 int updateAtMin = -1; member
H A Dform_timer_mgr.h62 * @param updateAtMin Min
66 bool AddFormTimer(int64_t formId, long updateAtHour, long updateAtMin, int32_t userId = 0);
H A Dform_data_mgr.h293 * @param updateAtMin Update at minute.
296 const int updateAtHour, const int updateAtMin);
/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dfms_form_event_util_test.cpp870 record.updateAtMin = 0; in HWTEST_F()
871 timerCfg.updateAtMin = 0; in HWTEST_F()
893 record.updateAtMin = 0; in HWTEST_F()
894 timerCfg.updateAtMin = 0; in HWTEST_F()
916 record.updateAtMin = 1; in HWTEST_F()
917 timerCfg.updateAtMin = 0; in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_db_record_test/
H A Dfms_form_db_record_test.cpp54 formRecord_.updateAtMin = 0; in InitFormRecord()
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp1525 int updateAtMin = 59; in HWTEST_F() local
1529 formDataMgr->SetUpdateInfo(formId, enableUpdate, updateDuration, updateAtHour, updateAtMin); in HWTEST_F()
1549 int updateAtMin = 59; in HWTEST_F() local
1558 formDataMgr_.SetUpdateInfo(formId, enableUpdate, updateDuration, updateAtHour, updateAtMin); in HWTEST_F()
1562 EXPECT_EQ(59, formDataMgr_.formRecords_.find(formId)->second.updateAtMin); in HWTEST_F()
3798 EXPECT_EQ(record.updateAtMin, 30); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test.cpp802 formRecord.updateAtMin = 0; in HWTEST_F()
821 formRecord.updateAtMin = -1; in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_add_form_test/
H A Dfms_form_mgr_add_form_test.cpp297 retFormRec.updateAtMin = 1; in HWTEST_F()

Completed in 33 milliseconds