Home
last modified time | relevance | path

Searched refs:ReminderHelper (Results 1 - 9 of 9) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_helper.cpp25 ErrCode ReminderHelper::PublishReminder(ReminderRequest &reminder) in PublishReminder()
32 ErrCode ReminderHelper::CancelReminder(const int32_t reminderId) in CancelReminder()
38 ErrCode ReminderHelper::CancelAllReminders() in CancelAllReminders()
44 ErrCode ReminderHelper::GetValidReminders(std::vector<sptr<ReminderRequest>> &validReminders) in GetValidReminders()
50 ErrCode ReminderHelper::AddNotificationSlot(const NotificationSlot &slot) in AddNotificationSlot()
56 ErrCode ReminderHelper::RemoveNotificationSlot(const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot()
62 ErrCode ReminderHelper::AddExcludeDate(const int32_t reminderId, const uint64_t date) in AddExcludeDate()
68 ErrCode ReminderHelper::DelExcludeDates(const int32_t reminderId) in DelExcludeDates()
74 ErrCode ReminderHelper::GetExcludeDates(const int32_t reminderId, std::vector<uint64_t>& dates) in GetExcludeDates()
/base/notification/distributed_notification_service/test/fuzztest/reminderhelper_fuzzer/
H A Dreminderhelper_fuzzer.cpp34 Notification::ReminderHelper::PublishReminder(reminder); in DoSomethingInterestingWithMyAPI()
36 Notification::ReminderHelper::CancelReminder(reminderId); in DoSomethingInterestingWithMyAPI()
40 Notification::ReminderHelper::GetValidReminders(validReminders); in DoSomethingInterestingWithMyAPI()
45 Notification::ReminderHelper::AddNotificationSlot(notificationSlot); in DoSomethingInterestingWithMyAPI()
48 Notification::ReminderHelper::RemoveNotificationSlot(slotType); in DoSomethingInterestingWithMyAPI()
50 Notification::ReminderHelper::AddExcludeDate(reminderId, excludeDate); in DoSomethingInterestingWithMyAPI()
51 Notification::ReminderHelper::DelExcludeDates(reminderId); in DoSomethingInterestingWithMyAPI()
53 Notification::ReminderHelper::GetExcludeDates(reminderId, dates); in DoSomethingInterestingWithMyAPI()
54 return Notification::ReminderHelper::CancelAllReminders(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_helper_test.cpp47 ReminderHelper reminderHelper; in HWTEST_F()
61 ReminderHelper reminderHelper; in HWTEST_F()
74 ReminderHelper reminderHelper; in HWTEST_F()
88 ReminderHelper reminderHelper; in HWTEST_F()
102 ReminderHelper reminderHelper; in HWTEST_F()
116 ReminderHelper reminderHelper; in HWTEST_F()
131 ReminderHelper reminderHelper; in HWTEST_F()
145 ReminderHelper reminderHelper; in HWTEST_F()
160 ReminderHelper reminderHelper; in HWTEST_F()
H A Dreminder_request_timer_test.cpp30 ReminderHelper::CancelAllReminders(); in TearDown()
34 ReminderHelper::CancelAllReminders(); in SetUpTestCase()
H A Dreminder_store_test.cpp43 ReminderHelper::CancelAllReminders(); in SetUpTestCase()
49 ReminderHelper::CancelAllReminders(); in TearDown()
H A Dreminder_request_alarm_test.cpp37 ReminderHelper::CancelAllReminders(); in TearDown()
H A Dreminder_request_calendar_test.cpp35 ReminderHelper::CancelAllReminders(); in SetUpTestCase()
41 ReminderHelper::CancelAllReminders(); in TearDown()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dreminder_helper.h26 class ReminderHelper { class
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dpublish.cpp314 asynccallbackinfo->info.errorCode = ReminderHelper::CancelReminder(asynccallbackinfo->reminderId); in CancelReminderInner()
382 asynccallbackinfo->info.errorCode = ReminderHelper::CancelAllReminders(); in CancelAllRemindersInner()
890 asynccallbackinfo->info.errorCode = ReminderHelper::GetValidReminders( in InnerGetValidReminders()
949 asynccallbackinfo->info.errorCode = ReminderHelper::GetValidReminders( in InnerGetAllValidReminders()
1036 asynccallbackinfo->info.errorCode = ReminderHelper::PublishReminder(*(asynccallbackinfo->reminder)); in PublishReminderInner()
1232 asynccallbackinfo->info.errorCode = ReminderHelper::AddExcludeDate(asynccallbackinfo->reminderId, in AddExcludeDate()
1318 asynccallbackinfo->info.errorCode = ReminderHelper::DelExcludeDates(asynccallbackinfo->reminderId); in DelExcludeDates()
1384 asynccallbackinfo->info.errorCode = ReminderHelper::GetExcludeDates(asynccallbackinfo->reminderId, in GetExcludeDates()

Completed in 9 milliseconds