Lines Matching refs:timerId
60 : timerId(id), type(type), cookie(cookie), observer(observer)
163 int TimerMgr::ResetTimer(int timerId, int type, int64_t delayUs, int cookie, ITimerObserver *currObserver)
169 if ((*it)->timerId != timerId) {
170 INTELL_VOICE_LOG_ERROR("id %{public}d can not correspond with timerId %{public}d",
171 (*it)->timerId, timerId);
176 return timerId;
179 KillTimer(timerId);
183 void TimerMgr::KillTimer(int &timerId)
186 INTELL_VOICE_LOG_INFO("kill timer %{public}d", timerId);
189 if (curItem->timerId == timerId) {
191 timerId, curItem->type, curItem->cookie);
192 ReleaseId(curItem->timerId);
194 timerId = INVALID_ID;
199 if (timerId != INVALID_ID) {
200 INTELL_VOICE_LOG_WARN("can not find timer id:%{public}d", timerId);
201 timerId = INVALID_ID;
238 ReleaseId(item.timerId);
243 TimerEvent info(item.type, item.timerId, item.cookie);