Searched refs:reminderTime (Results 1 - 3 of 3) sorted by relevance
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | scheduler_manager.cpp | 69 int64_t reminderTime) in SetTimerTask() 81 TimeServiceClient::GetInstance()->StartTimer(timerId, static_cast<uint64_t>(reminderTime)); in SetTimerTask() 92 void SchedulerManager::ResetTimerTask(int64_t timerId, int64_t reminderTime) in ResetTimerTask() argument 95 TimeServiceClient::GetInstance()->StartTimer(timerId, static_cast<uint64_t>(reminderTime)); in ResetTimerTask() 99 const std::string &dbPath, const int32_t userId, int version, const Key &key, int64_t reminderTime) in SetTimer() 108 if (reminderTime <= now || reminderTime - now >= MAX_MILLISECONDS) { in SetTimer() 110 ", bundleName=%{public}s.", reminderTime, now, key.subscriberId, key.bundleName.c_str()); in SetTimer() 113 auto duration = reminderTime - now; in SetTimer() 121 ResetTimerTask(timerId, reminderTime); in SetTimer() 68 SetTimerTask(uint64_t &timerId, const std::function<void()> &callback, int64_t reminderTime) SetTimerTask() argument 98 SetTimer( const std::string &dbPath, const int32_t userId, int version, const Key &key, int64_t reminderTime) SetTimer() argument [all...] |
H A D | scheduler_manager.h | 33 void SetTimer(const std::string &dbPath, const int32_t userId, int version, const Key &key, int64_t reminderTime); 47 bool SetTimerTask(uint64_t &timerId, const std::function<void()> &callback, int64_t reminderTime); 49 void ResetTimerTask(int64_t timerId, int64_t reminderTime);
|
H A D | rdb_delegate.cpp | 61 int64_t reminderTime = std::strtoll(args[ARG_TIME].c_str(), nullptr, 0); in RemindTimerFunc() local 63 SchedulerManager::GetInstance().SetTimer(dbPath, userId, version, key, reminderTime); in RemindTimerFunc()
|
Completed in 2 milliseconds