• Home
  • Raw
  • Download

Lines Matching refs:TimerManager

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 &paras, 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()
188 void TimerManager::SetHandler(uint64_t id, in SetHandler()
248 void TimerManager::SetHandlerLocked(uint64_t id, int type, in SetHandlerLocked()
267 void TimerManager::RemoveHandler(uint64_t id) in RemoveHandler()
275 void TimerManager::RemoveLocked(uint64_t id) in RemoveLocked()
323 void TimerManager::SetHandlerLocked(std::shared_ptr<TimerInfo> alarm, bool rebatching, bool doValid… in SetHandlerLocked()
351 void TimerManager::ReBatchAllTimers() in ReBatchAllTimers()
358 void TimerManager::ReBatchAllTimersLocked(bool doValidate) in ReBatchAllTimersLocked()
374 void TimerManager::ReAddTimerLocked(std::shared_ptr<TimerInfo> timer, in ReAddTimerLocked()
398 std::chrono::steady_clock::time_point TimerManager::ConvertToElapsed(std::chrono::milliseconds when… in ConvertToElapsed()
417 void TimerManager::TimerLooper() in TimerLooper()
461 TimerManager::~TimerManager() in ~TimerManager()
468 steady_clock::time_point TimerManager::GetBootTimeNs() in GetBootTimeNs()
480 bool TimerManager::TriggerTimersLocked(std::vector<std::shared_ptr<TimerInfo>> &triggerList, in TriggerTimersLocked()
534 void TimerManager::RescheduleKernelTimerLocked() in RescheduleKernelTimerLocked()
555 std::shared_ptr<Batch> TimerManager::FindFirstWakeupBatchLocked() in FindFirstWakeupBatchLocked()
565 void TimerManager::SetLocked(int type, std::chrono::nanoseconds when) in SetLocked()
570 void TimerManager::InsertAndBatchTimerLocked(std::shared_ptr<TimerInfo> alarm) in InsertAndBatchTimerLocked()
588 int64_t TimerManager::AttemptCoalesceLocked(std::chrono::steady_clock::time_point whenElapsed, in AttemptCoalesceLocked()
601 void TimerManager::DeliverTimersLocked(const std::vector<std::shared_ptr<TimerInfo>> &triggerList, in DeliverTimersLocked()
614 void TimerManager::NotifyWantAgent(const std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent… in NotifyWantAgent()
624 void TimerManager::CallbackAlarmIfNeed(const std::shared_ptr<TimerInfo> &alarm) in CallbackAlarmIfNeed()
647 bool TimerManager::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer()
685 bool TimerManager::ResetAllProxy() in ResetAllProxy()
707 bool TimerManager::CheckAllowWhileIdle(uint32_t flag) in CheckAllowWhileIdle()
741 bool TimerManager::AdjustDeliveryTimeBasedOnDeviceIdle(const std::shared_ptr<TimerInfo> &alarm) in AdjustDeliveryTimeBasedOnDeviceIdle()
782 bool TimerManager::AdjustTimersBasedOnDeviceIdle() in AdjustTimersBasedOnDeviceIdle()
823 bool TimerManager::ShowtimerEntryMap(int fd) in ShowtimerEntryMap()
841 bool TimerManager::ShowTimerEntryById(int fd, uint64_t timerId) in ShowTimerEntryById()
861 bool TimerManager::ShowTimerTriggerById(int fd, uint64_t timerId) in ShowTimerTriggerById()
877 bool TimerManager::ShowIdleTimerInfo(int fd) in ShowIdleTimerInfo()
908 void TimerManager::HandleRSSDeath() in HandleRSSDeath()