Home
last modified time | relevance | path

Searched refs:MILLI_SECONDS (Results 1 – 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request_timer.cpp34 …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()
Dreminder_request.cpp46 const uint16_t ReminderRequest::MILLI_SECONDS = 1000; member in OHOS::Notification::ReminderRequest
177 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 …]
Dreminder_request_calendar.cpp86 time_t target = static_cast<time_t>(nextTriggerTime / MILLI_SECONDS); in SetNextTriggerTime()
369 SetTriggerTimeInMilli(GetTriggerTimeInMilli() + GetTimeInterval() * MILLI_SECONDS); in UpdateNextReminder()
Dreminder_request_alarm.cpp228 SetTriggerTimeInMilli(GetTriggerTimeInMilli() + GetTimeInterval() * MILLI_SECONDS); in UpdateNextReminder()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h647 static const uint16_t MILLI_SECONDS; variable
818 uint64_t ringDurationInMilli_ {MILLI_SECONDS};
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp433 …rtyCountDownTime <= 0 || countDownTimeInSeconds >= (UINT64_MAX / ReminderRequest::MILLI_SECONDS)) { in CreateReminderTimer()
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_data_manager.cpp1325 … + static_cast<uint64_t>(reminderRequest->GetRingDuration() * ReminderRequest::MILLI_SECONDS); in StartTimer()