Home
last modified time | relevance | path

Searched refs:ReminderRequestCalendar (Results 1 – 11 of 11) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request_calendar.cpp22 const uint8_t ReminderRequestCalendar::MAX_MONTHS_OF_YEAR = 12;
23 const uint8_t ReminderRequestCalendar::MAX_DAYS_OF_MONTH = 31;
24 const uint8_t ReminderRequestCalendar::JANUARY = 1;
25 const uint8_t ReminderRequestCalendar::DECEMBER = 12;
26 const uint8_t ReminderRequestCalendar::DEFAULT_SNOOZE_TIMES = 3;
29 const std::string ReminderRequestCalendar::REPEAT_DAYS = "repeat_days";
30 const std::string ReminderRequestCalendar::REPEAT_MONTHS = "repeat_months";
31 const std::string ReminderRequestCalendar::FIRST_DESIGNATE_YEAR = "first_designate_year";
32 const std::string ReminderRequestCalendar::FIRST_DESIGNATE_MONTH = "first_designate_month";
33 const std::string ReminderRequestCalendar::FIRST_DESIGNATE_DAY = "first_designate_day";
[all …]
Dreminder_store.cpp71 ReminderRequestCalendar::InitDbColumns(); in Init()
358 reminder = new (std::nothrow) ReminderRequestCalendar(reminderId); in BuildReminder()
427 ReminderRequestCalendar::AppendValuesBucket(reminder, bundleOption, values); in GenerateData()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request_calendar.h23 class ReminderRequestCalendar : public ReminderRequest {
52 ReminderRequestCalendar(const tm &dateTime,
61 explicit ReminderRequestCalendar(int32_t reminderId) : ReminderRequest(reminderId) {}; in ReminderRequestCalendar() function
63 explicit ReminderRequestCalendar(const ReminderRequestCalendar &other);
64 ReminderRequestCalendar& operator = (const ReminderRequestCalendar &other);
65 ~ReminderRequestCalendar() override {} in ~ReminderRequestCalendar()
132 static ReminderRequestCalendar *Unmarshalling(Parcel &parcel);
157 ReminderRequestCalendar() : ReminderRequest() {} in ReminderRequestCalendar() function
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_calendar_test.cpp43 std::shared_ptr<ReminderRequestCalendar> CreateCalendar(tm &nowTime) in CreateCalendar()
61 … auto calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays); in CreateCalendar()
150 auto calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays);
158 calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays);
168 calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays);
193 auto calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays);
200 calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays);
223 auto calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays);
231 calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays);
241 calendar = std::make_shared<ReminderRequestCalendar>(nowTime, repeatMonths, repeatDays);
[all …]
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestcalendar_fuzzer/
Dreminderrequestcalendar_fuzzer.cpp42 … Notification::ReminderRequestCalendar reminderRequestCalendar(nowTime, repeatMonths, repeatDays); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp512 ReminderRequestCalendar::MAX_MONTHS_OF_YEAR) == nullptr) { in CreateReminderCalendar()
519 ReminderRequestCalendar::MAX_DAYS_OF_MONTH) == nullptr) { in CreateReminderCalendar()
531 reminder = std::make_shared<ReminderRequestCalendar>(dateTime, repeatMonths, repeatDays); in CreateReminderCalendar()
546 if ((month < 1) || (month > ReminderRequestCalendar::MAX_MONTHS_OF_YEAR)) { in CheckCalendarParams()
548 ReminderAgentNapi::CALENDAR_MONTH, ReminderRequestCalendar::MAX_MONTHS_OF_YEAR); in CheckCalendarParams()
551 …uint8_t maxDaysOfMonth = ReminderRequestCalendar::GetDaysOfMonth(static_cast<uint16_t>(year), mont… in CheckCalendarParams()
Dpublish.cpp444 ReminderRequestCalendar& calendar = (ReminderRequestCalendar&)reminder; in ParseReminderCalendar()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp901 ReminderRequestCalendar &calendar = (ReminderRequestCalendar &)reminder; in PublishReminder()
902 tarReminder = new (std::nothrow) ReminderRequestCalendar(calendar); in PublishReminder()
Dans_manager_proxy.cpp2079 reminder = reply.ReadParcelable<ReminderRequestCalendar>(); in ReadReminders()
Dans_manager_stub.cpp1392 reminder = data.ReadParcelable<ReminderRequestCalendar>(); in HandlePublishReminder()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
Dans_manager_stub_test.cpp2691 sptr<ReminderRequestCalendar> reminderRequestCalendar = new ReminderRequestCalendar();
2717 sptr<ReminderRequestCalendar> reminderRequestCalendar = new ReminderRequestCalendar();