/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_event_util.cpp | 390 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 D | form_timer_mgr.cpp | 110 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 D | form_dump_mgr.cpp | 162 formInfo += " updateAtMin [" + std::to_string(formRecordInfo.updateAtMin) + "]\n"; in DumpFormInfo()
|
H A D | form_data_mgr.cpp | 1037 const int updateAtMin) in SetUpdateInfo() argument 1049 itFormRecord->second.updateAtMin = updateAtMin; in SetUpdateInfo() 1445 record.updateAtMin = min; in ParseAtTimerConfig()
|
H A D | form_mgr_adapter.cpp | 1684 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 D | fms_form_timer_mgr_test.cpp | 137 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 D | formdatamgrtwo_fuzzer.cpp | 68 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 D | formtimermgr_fuzzer.cpp | 49 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 D | fms_form_event_util_test.cpp | 870 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 D | form_record.h | 51 int updateAtMin = -1; variable
|
H A D | form_timer.h | 154 int updateAtMin = -1; member
|
H A D | form_timer_mgr.h | 66 bool AddFormTimer(int64_t formId, long updateAtHour, long updateAtMin, int32_t userId = 0);
|
H A D | form_data_mgr.h | 304 const int updateAtHour, const int updateAtMin);
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_db_record_test/ |
H A D | fms_form_db_record_test.cpp | 54 formRecord_.updateAtMin = 0; in InitFormRecord()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/ |
H A D | fms_form_data_mgr_test.cpp | 1525 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 D | fms_form_mgr_adapter_test.cpp | 730 formRecord.updateAtMin = 0; 749 formRecord.updateAtMin = -1;
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_add_form_test/ |
H A D | fms_form_mgr_add_form_test.cpp | 297 retFormRec.updateAtMin = 1;
|