Searched refs:MILLI_SECONDS (Results 1 – 7 of 7) sorted by relevance
34 …est::GetDurationSinceEpochInMilli(now) + countDownTimeInSeconds_ * ReminderRequest::MILLI_SECONDS); in ReminderRequestTimer()86 …ownTimeInSeconds == 0 || countDownTimeInSeconds >= (UINT64_MAX / ReminderRequest::MILLI_SECONDS)) { in CheckParamsValid()111 SetTriggerTimeInMilli(whenToChangeSysTime_ + (countDownTimeInSeconds_ * MILLI_SECONDS - in UpdateTimeInfo()
46 const uint16_t ReminderRequest::MILLI_SECONDS = 1000; member in OHOS::Notification::ReminderRequest177 const time_t nextTriggerTime = static_cast<time_t>(triggerTimeInMilli_ / MILLI_SECONDS); in Dump()441 time_t oldZoneTriggerTime = static_cast<time_t>(triggerTimeInMilli_ / MILLI_SECONDS); in OnTimeZoneChange()706 if (timeIntervalInSeconds > (UINT64_MAX / MILLI_SECONDS)) { in SetTimeInterval()710 uint64_t timeIntervalInMilli = timeIntervalInSeconds * MILLI_SECONDS; in SetTimeInterval()713 MIN_TIME_INTERVAL_IN_MILLI / MILLI_SECONDS, timeIntervalInSeconds, in SetTimeInterval()714 MIN_TIME_INTERVAL_IN_MILLI / MILLI_SECONDS); in SetTimeInterval()805 if ((ringDurationInSeconds == 0) || (ringDurationInSeconds > (UINT64_MAX / MILLI_SECONDS))) { in SetRingDuration()807 ringDurationInMilli_ = MILLI_SECONDS; in SetRingDuration()809 ringDurationInMilli_ = ringDurationInSeconds * MILLI_SECONDS; in SetRingDuration()[all …]
86 time_t target = static_cast<time_t>(nextTriggerTime / MILLI_SECONDS); in SetNextTriggerTime()369 SetTriggerTimeInMilli(GetTriggerTimeInMilli() + GetTimeInterval() * MILLI_SECONDS); in UpdateNextReminder()
228 SetTriggerTimeInMilli(GetTriggerTimeInMilli() + GetTimeInterval() * MILLI_SECONDS); in UpdateNextReminder()
647 static const uint16_t MILLI_SECONDS; variable818 uint64_t ringDurationInMilli_ {MILLI_SECONDS};
433 …rtyCountDownTime <= 0 || countDownTimeInSeconds >= (UINT64_MAX / ReminderRequest::MILLI_SECONDS)) { in CreateReminderTimer()
1325 … + static_cast<uint64_t>(reminderRequest->GetRingDuration() * ReminderRequest::MILLI_SECONDS); in StartTimer()