Searched refs:TimeTransferType (Results 1 – 8 of 8) sorted by relevance
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | reminder_request_calendar.cpp | 53 …firstDesignateYear_ = static_cast<uint16_t>(GetActualTime(TimeTransferType::YEAR, dateTime.tm_year… in ReminderRequestCalendar() 54 …firstDesignateMonth_ = static_cast<uint8_t>(GetActualTime(TimeTransferType::MONTH, dateTime.tm_mon… in ReminderRequestCalendar() 94 year_ = static_cast<uint16_t>(GetActualTime(TimeTransferType::YEAR, dateTime_.tm_year)); in SetNextTriggerTime() 95 month_ = static_cast<uint8_t>(GetActualTime(TimeTransferType::MONTH, dateTime_.tm_mon)); in SetNextTriggerTime() 123 setTime.tm_year = GetCTime(TimeTransferType::YEAR, settedYear); in GetNextDay() 124 setTime.tm_mon = GetCTime(TimeTransferType::MONTH, settedMonth); in GetNextDay() 160 tarTime.tm_year = GetCTime(TimeTransferType::YEAR, firstDesignateYear_); in GetNextTriggerTime() 161 tarTime.tm_mon = GetCTime(TimeTransferType::MONTH, firstDesignateMonth_); in GetNextTriggerTime() 189 … uint16_t setYear = static_cast<uint16_t>(GetActualTime(TimeTransferType::YEAR, nowTime.tm_year)); in GetNextTriggerTimeAsRepeatReminder() 192 … uint8_t beginMonth = static_cast<uint8_t>(GetActualTime(TimeTransferType::MONTH, nowTime.tm_mon)); in GetNextTriggerTimeAsRepeatReminder() [all …]
|
D | reminder_request_alarm.cpp | 115 GetActualTime(TimeTransferType::YEAR, nowTime.tm_year), in GetNextTriggerTime() 116 GetActualTime(TimeTransferType::MONTH, nowTime.tm_mon), in GetNextTriggerTime() 118 GetActualTime(TimeTransferType::WEEK, nowTime.tm_wday), hour_, minute_); in GetNextTriggerTime() 147 GetActualTime(TimeTransferType::YEAR, test.tm_year), in GetNextTriggerTime() 148 GetActualTime(TimeTransferType::MONTH, test.tm_mon), in GetNextTriggerTime() 150 GetActualTime(TimeTransferType::WEEK, test.tm_wday), (long long)nextTriggerTime); in GetNextTriggerTime() 165 int32_t today = GetActualTime(TimeTransferType::WEEK, nowTime.tm_wday); in GetNextAlarm()
|
D | reminder_request.cpp | 1668 int32_t ReminderRequest::GetActualTime(const TimeTransferType &type, int32_t cTime) in GetActualTime() 1671 case (TimeTransferType::YEAR): // year in GetActualTime() 1673 case (TimeTransferType::MONTH): // month in GetActualTime() 1675 case (TimeTransferType::WEEK): { // week in GetActualTime() 1683 int32_t ReminderRequest::GetCTime(const TimeTransferType &type, int32_t actualTime) in GetCTime() 1686 case (TimeTransferType::YEAR): // year in GetCTime() 1688 case (TimeTransferType::MONTH): // month in GetCTime() 1690 case (TimeTransferType::WEEK): { // week in GetCTime()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannexthree_fuzzer/ |
D | reminderrequestannexthree_fuzzer.cpp | 31 …Notification::ReminderRequest::TimeTransferType type = Notification::ReminderRequest::TimeTransfer… in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | reminder_request.h | 94 enum class TimeTransferType : uint8_t { enum 635 static int32_t GetActualTime(const TimeTransferType &type, int32_t cTime); 636 static int32_t GetCTime(const TimeTransferType &type, int32_t actualTime);
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | reminder_request_test.cpp | 1234 …Notification::ReminderRequest::TimeTransferType type = Notification::ReminderRequest::TimeTransfer… 1584 …Notification::ReminderRequest::TimeTransferType type = Notification::ReminderRequest::TimeTransfer… 1600 …Notification::ReminderRequest::TimeTransferType type = Notification::ReminderRequest::TimeTransfer…
|
D | reminder_request_calendar_test.cpp | 98 …int32_t firstDesignateYear = calendar->GetActualTime(ReminderRequest::TimeTransferType::YEAR, nowT… 113 …int firstDesignateMonth = calendar->GetActualTime(ReminderRequest::TimeTransferType::MONTH, nowTim…
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
D | reminder_common.cpp | 524 …dateTime.tm_year = ReminderRequest::GetCTime(ReminderRequest::TimeTransferType::YEAR, propertyYear… in CreateReminderCalendar() 525 …dateTime.tm_mon = ReminderRequest::GetCTime(ReminderRequest::TimeTransferType::MONTH, propertyMont… in CreateReminderCalendar()
|