Home
last modified time | relevance | path

Searched refs:TimerType (Results 1 – 6 of 6) sorted by relevance

/base/notification/distributed_notification_service/services/ans/include/
Dreminder_data_manager.h187 enum class TimerType : uint8_t { enum
240 std::shared_ptr<ReminderTimerInfo> CreateTimerInfo(TimerType type,
243 const sptr<ReminderRequest> &reminderRequest, TimerType reminderType) const;
367 void ResetStates(TimerType type);
393 void StartTimerLocked(const sptr<ReminderRequest> &reminderRequest, TimerType type);
394 void StartTimer(const sptr<ReminderRequest> &reminderRequest, TimerType type);
411 void StopTimer(TimerType type);
412 void StopTimerLocked(TimerType type);
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_data_manager.cpp82 StopTimerLocked(TimerType::TRIGGER_TIMER); in CancelReminder()
86 StopTimerLocked(TimerType::ALERTING_TIMER); in CancelReminder()
134 StopTimer(TimerType::TRIGGER_TIMER); in CancelRemindersImplLocked()
317 const sptr<ReminderRequest> &reminderRequest, TimerType reminderType) const in InitTimerInfo()
336 if (reminderType == TimerType::TRIGGER_TIMER && in InitTimerInfo()
365 std::shared_ptr<ReminderTimerInfo> ReminderDataManager::CreateTimerInfo(TimerType type, in CreateTimerInfo()
381 case (TimerType::TRIGGER_TIMER): { in CreateTimerInfo()
387 case (TimerType::ALERTING_TIMER): { in CreateTimerInfo()
486 StopTimerLocked(TimerType::TRIGGER_TIMER); in CloseReminder()
490 StopTimerLocked(TimerType::ALERTING_TIMER); in CloseReminder()
[all …]
/base/time/time_service/services/timer/include/
Dtimer_manager_interface.h47 enum TimerType { enum
/base/time/time_service/services/
Dtime_system_ability.cpp226 paras.timerType = ITimerManager::TimerType::ELAPSED_REALTIME_WAKEUP; in ParseTimerPara()
228 paras.timerType = ITimerManager::TimerType::ELAPSED_REALTIME; in ParseTimerPara()
230 paras.timerType = ITimerManager::TimerType::RTC_WAKEUP; in ParseTimerPara()
232 paras.timerType = ITimerManager::TimerType::RTC; in ParseTimerPara()
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dreminder_data_manager_test.cpp119 manager->CreateTimerInfo(ReminderDataManager::TimerType::TRIGGER_TIMER, reminder); in HWTEST_F()
120 manager->CreateTimerInfo(ReminderDataManager::TimerType::ALERTING_TIMER, reminder); in HWTEST_F()
/base/time/time_service/services/time/src/
Dntp_update_time.cpp104 int32_t timerType = ITimerManager::TimerType::ELAPSED_REALTIME; in Init()