Lines Matching refs:TimerManager
72 std::shared_ptr<TimerManager> TimerManager::Create() in Create()
79 return std::shared_ptr<TimerManager>(new TimerManager(impl)); in Create()
82 TimerManager::TimerManager(std::shared_ptr<TimerHandler> impl) in TimerManager() function in OHOS::MiscServices::TimerManager
89 alarmThread_.reset(new std::thread(&TimerManager::TimerLooper, this));
92 int32_t TimerManager::CreateTimer(TimerPara ¶s, in CreateTimer()
122 int32_t TimerManager::StartTimer(uint64_t timerId, uint64_t triggerTime) in StartTimer()
153 int32_t TimerManager::StopTimer(uint64_t timerId) in StopTimer()
158 int32_t TimerManager::DestroyTimer(uint64_t timerId) in DestroyTimer()
163 int32_t TimerManager::StopTimerInner(uint64_t timerNumber, bool needDestroy) in StopTimerInner()
185 void TimerManager::SetHandler(uint64_t id, in SetHandler()
247 void TimerManager::SetHandlerLocked(uint64_t id, int type, in SetHandlerLocked()
267 void TimerManager::RemoveHandler(uint64_t id) in RemoveHandler()
274 void TimerManager::RemoveLocked(uint64_t id) in RemoveLocked()
321 void TimerManager::SetHandlerLocked(std::shared_ptr<TimerInfo> alarm, bool rebatching, bool doValid… in SetHandlerLocked()
350 void TimerManager::ReBatchAllTimers() in ReBatchAllTimers()
357 void TimerManager::ReBatchAllTimersLocked(bool doValidate) in ReBatchAllTimersLocked()
371 void TimerManager::ReAddTimerLocked(std::shared_ptr<TimerInfo> timer, in ReAddTimerLocked()
393 std::chrono::steady_clock::time_point TimerManager::ConvertToElapsed(std::chrono::milliseconds when… in ConvertToElapsed()
410 void TimerManager::TimerLooper() in TimerLooper()
451 TimerManager::~TimerManager() in ~TimerManager()
459 steady_clock::time_point TimerManager::GetBootTimeNs() in GetBootTimeNs()
471 void TimerManager::TriggerIdleTimer() in TriggerIdleTimer()
492 void TimerManager::ProcTriggerTimer(std::shared_ptr<TimerInfo> &alarm, in ProcTriggerTimer()
514 bool TimerManager::TriggerTimersLocked(std::vector<std::shared_ptr<TimerInfo>> &triggerList, in TriggerTimersLocked()
549 void TimerManager::RescheduleKernelTimerLocked() in RescheduleKernelTimerLocked()
573 std::shared_ptr<Batch> TimerManager::FindFirstWakeupBatchLocked() in FindFirstWakeupBatchLocked()
583 void TimerManager::SetLocked(int type, std::chrono::nanoseconds when) in SetLocked()
590 void TimerManager::InsertAndBatchTimerLocked(std::shared_ptr<TimerInfo> alarm) in InsertAndBatchTimerLocked()
607 int64_t TimerManager::AttemptCoalesceLocked(std::chrono::steady_clock::time_point whenElapsed, in AttemptCoalesceLocked()
621 void TimerManager::DeliverTimersLocked(const std::vector<std::shared_ptr<TimerInfo>> &triggerList) in DeliverTimersLocked()
633 void TimerManager::NotifyWantAgent(const std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent… in NotifyWantAgent()
646 void TimerManager::UpdateTimersState(std::shared_ptr<TimerInfo> &alarm) in UpdateTimersState()
653 bool TimerManager::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer()
660 bool TimerManager::ResetAllProxy() in ResetAllProxy()
667 bool TimerManager::CheckAllowWhileIdle(const std::shared_ptr<TimerInfo> &alarm) in CheckAllowWhileIdle()
700 bool TimerManager::AdjustDeliveryTimeBasedOnDeviceIdle(const std::shared_ptr<TimerInfo> &alarm) in AdjustDeliveryTimeBasedOnDeviceIdle()
741 bool TimerManager::AdjustTimersBasedOnDeviceIdle() in AdjustTimersBasedOnDeviceIdle()
780 bool TimerManager::ShowTimerEntryMap(int fd) in ShowTimerEntryMap()
798 bool TimerManager::ShowTimerEntryById(int fd, uint64_t timerId) in ShowTimerEntryById()
818 bool TimerManager::ShowTimerTriggerById(int fd, uint64_t timerId) in ShowTimerTriggerById()
834 bool TimerManager::ShowIdleTimerInfo(int fd) in ShowIdleTimerInfo()
865 void TimerManager::HandleRSSDeath() in HandleRSSDeath()
874 void TimerManager::HandleRepeatTimer( in HandleRepeatTimer()
891 void TimerManager::HandleRunningLock(const std::shared_ptr<Batch> &firstWakeup) in HandleRunningLock()
922 void TimerManager::AddRunningLock(long long holdLockTime) in AddRunningLock()