Searched refs:repeatCount (Results 1 – 3 of 3) sorted by relevance
/base/msdp/device_status/services/timer_manager/include/ |
D | timer_manager.h | 38 …int32_t AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) override; 49 int32_t repeatCount { 0 }; 56 int32_t OnAddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback); 63 … int32_t AddTimerInternal(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback);
|
/base/msdp/device_status/services/timer_manager/src/ |
D | timer_manager.cpp | 58 int32_t TimerManager::AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callb… in AddTimer() argument 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() argument 68 int32_t timerId = AddTimerInternal(intervalMs, repeatCount, callback); in OnAddTimer() 162 int32_t TimerManager::AddTimerInternal(int32_t intervalMs, int32_t repeatCount, std::function<void(… in AddTimerInternal() argument 180 timer->repeatCount = repeatCount; in AddTimerInternal() 265 if ((curTimer->repeatCount >= 1) && (curTimer->callbackCount >= curTimer->repeatCount)) { in ProcessTimersInternal()
|
/base/msdp/device_status/services/interaction/drag/src/ |
D | drag_manager.cpp | 266 int32_t repeatCount = 1; in OnDragUp() local 267 timerId_ = context_->GetTimerManager().AddTimer(TIMEOUT_MS, repeatCount, [this]() { in OnDragUp()
|