Searched refs:TimerManager (Results 1 – 10 of 10) sorted by relevance
/base/msdp/device_status/services/timer_manager/src/ |
D | timer_manager.cpp | 39 int32_t TimerManager::Init(IContext *context) in Init() 42 … return context->GetDelegateTasks().PostSyncTask(std::bind(&TimerManager::OnInit, this, context)); in Init() 45 int32_t TimerManager::OnInit(IContext *context) in OnInit() 58 int32_t TimerManager::AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callb… in AddTimer() 63 std::bind(&TimerManager::OnAddTimer, this, intervalMs, repeatCount, callback)); in AddTimer() 66 int32_t TimerManager::OnAddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> cal… in OnAddTimer() 73 int32_t TimerManager::RemoveTimer(int32_t timerId) in RemoveTimer() 77 …return context_->GetDelegateTasks().PostSyncTask(std::bind(&TimerManager::OnRemoveTimer, this, tim… in RemoveTimer() 80 int32_t TimerManager::OnRemoveTimer(int32_t timerId) in OnRemoveTimer() 89 int32_t TimerManager::ResetTimer(int32_t timerId) in ResetTimer() [all …]
|
/base/update/updateservice/services/core/ability/alarm/src/ |
D | timer_manager.cpp | 25 TimerManager::TimerManager() in TimerManager() function in OHOS::UpdateEngine::TimerManager 30 TimerManager::~TimerManager() in ~TimerManager() 41 void TimerManager::RegisterRepeatingAlarm( in RegisterRepeatingAlarm() 53 void TimerManager::UnregisterRepeatingAlarm(AlarmType alarmType) in UnregisterRepeatingAlarm() 70 void TimerManager::BuildTimer() in BuildTimer()
|
D | alarm_manager.cpp | 36 DelayedSingleton<TimerManager>::GetInstance()->UnregisterRepeatingAlarm(alarmType_); in ~AlarmManager() 41 …DelayedSingleton<TimerManager>::GetInstance()->RegisterRepeatingAlarm(alarmType_, timeLooperInterv… in StartTimeLooper()
|
/base/time/time_service/services/timer/src/ |
D | timer_manager.cpp | 63 std::shared_ptr<TimerManager> TimerManager::Create() in Create() 70 return std::shared_ptr<TimerManager>(new TimerManager(impl)); in Create() 73 TimerManager::TimerManager(std::shared_ptr<TimerHandler> impl) in TimerManager() function in OHOS::MiscServices::TimerManager 81 alarmThread_.reset(new std::thread(&TimerManager::TimerLooper, this)); 84 int32_t TimerManager::CreateTimer(TimerPara ¶s, in CreateTimer() 114 int32_t TimerManager::StartTimer(uint64_t timerId, uint64_t triggerTime) in StartTimer() 137 int32_t TimerManager::StopTimer(uint64_t timerId) in StopTimer() 142 int32_t TimerManager::DestroyTimer(uint64_t timerId) in DestroyTimer() 147 int32_t TimerManager::StopTimerInner(uint64_t timerNumber, bool needDestroy) in StopTimerInner() 169 void TimerManager::RemoveProxy(uint64_t timerNumber, int32_t uid) in RemoveProxy() [all …]
|
/base/msdp/device_status/services/timer_manager/include/ |
D | timer_manager.h | 31 class TimerManager final : public ITimerManager { 33 TimerManager() = default; 34 DISALLOW_COPY_AND_MOVE(TimerManager); 35 ~TimerManager() = default; 76 inline int32_t TimerManager::GetTimerFd() const in GetTimerFd()
|
/base/update/updateservice/services/core/ability/alarm/include/ |
D | timer_manager.h | 32 class TimerManager : public DelayedSingleton<TimerManager> { 33 DECLARE_DELAYED_SINGLETON(TimerManager);
|
/base/time/time_service/services/ |
D | time_system_ability.cpp | 72 std::shared_ptr<TimerManager> TimeSystemAbility::timerManagerHandler_ = nullptr; 215 timerManagerHandler_ = TimerManager::Create(); in InitTimerHandler() 266 timerManagerHandler_ = TimerManager::Create(); in CreateTimer() 285 timerManagerHandler_ = TimerManager::Create(); in CreateTimer() 298 timerManagerHandler_ = TimerManager::Create(); in StartTimer() 315 timerManagerHandler_ = TimerManager::Create(); in StopTimer() 332 timerManagerHandler_ = TimerManager::Create(); in DestroyTimer() 429 timerManagerHandler_ = TimerManager::Create(); in DumpTimerInfo() 443 timerManagerHandler_ = TimerManager::Create(); in DumpTimerInfoById() 458 timerManagerHandler_ = TimerManager::Create(); in DumpTimerTriggerById() [all …]
|
D | time_system_ability.h | 103 static std::shared_ptr<TimerManager> timerManagerHandler_;
|
/base/time/time_service/services/timer/include/ |
D | timer_manager.h | 33 class TimerManager : public ITimerManager { 35 static std::shared_ptr<TimerManager> Create(); 50 ~TimerManager() override; 54 explicit TimerManager(std::shared_ptr<TimerHandler> impl);
|
/base/msdp/device_status/services/native/include/ |
D | devicestatus_service.h | 123 TimerManager timerMgr_;
|