/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()
|
/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()
|
/foundation/ability/form_fwk/test/unittest/fms_form_timer_mgr_test/ |
H A D | fms_form_timer_mgr_test.cpp | 137 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 D | form_event_util.cpp | 382 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 D | form_timer_mgr.cpp | 106 * @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 D | form_dump_mgr.cpp | 162 formInfo += " updateAtMin [" + std::to_string(formRecordInfo.updateAtMin) + "]\n"; in DumpFormInfo()
|
H A D | form_data_mgr.cpp | 985 * @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 D | form_mgr_adapter.cpp | 1629 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 D | form_record.h | 50 int updateAtMin = -1; member in OHOS::AppExecFwk::FormRecord
|
H A D | form_timer.h | 154 int updateAtMin = -1; member
|
H A D | form_timer_mgr.h | 62 * @param updateAtMin Min 66 bool AddFormTimer(int64_t formId, long updateAtHour, long updateAtMin, int32_t userId = 0);
|
H A D | form_data_mgr.h | 293 * @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 D | fms_form_event_util_test.cpp | 870 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 D | fms_form_db_record_test.cpp | 54 formRecord_.updateAtMin = 0; in InitFormRecord()
|
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/ |
H A D | fms_form_data_mgr_test.cpp | 1525 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 D | fms_form_mgr_adapter_test.cpp | 802 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 D | fms_form_mgr_add_form_test.cpp | 297 retFormRec.updateAtMin = 1; in HWTEST_F()
|