Lines Matching refs:timer_
27 WifiTimer::WifiTimer() : timer_(std::make_unique<WifiEventHandler>("WifiManagerTimer")) in WifiTimer()
34 if (timer_) { in ~WifiTimer()
35 timer_.reset(); in ~WifiTimer()
41 if (timer_ == nullptr) { in Register()
47 bool ret = timer_->PostAsyncTask(callback, std::to_string(timerIdInit), interval); in Register()
64 if (timer_ == nullptr) { in UnRegister()
69 timer_->RemoveAsyncTask(std::to_string(timerId)); in UnRegister()
73 WifiTimer::WifiTimer() : timer_(std::make_unique<Utils::Timer>("WifiManagerTimer")) in WifiTimer()
75 timer_->Setup(); in WifiTimer()
80 if (timer_) { in ~WifiTimer()
81 timer_->Shutdown(true); in ~WifiTimer()
87 if (timer_ == nullptr) { in Register()
92 uint32_t ret = timer_->Register(callback, interval, once); in Register()
109 if (timer_ == nullptr) { in UnRegister()
114 timer_->Unregister(timerId); in UnRegister()