Lines Matching refs:timerOptions
291 void TimeSystemAbility::ParseTimerPara(const std::shared_ptr<ITimerInfo> &timerOptions, TimerPara &… in ParseTimerPara() argument
293 auto uIntType = static_cast<uint32_t>(timerOptions->type); in ParseTimerPara()
294 auto disposable = timerOptions->disposable; in ParseTimerPara()
317 paras.interval = timerOptions->repeat ? timerOptions->interval : 0; in ParseTimerPara()
320 int32_t TimeSystemAbility::CreateTimer(const std::shared_ptr<ITimerInfo> &timerOptions, sptr<IRemot… in CreateTimer() argument
333 ParseTimerPara(timerOptions, paras); in CreateTimer()
338 auto callbackFunc = [timerCallback, timerOptions, timerManager](uint64_t id) -> int32_t { in CreateTimer()
340 if (timerOptions->type == ITimerManager::TimerType::RTC_WAKEUP || in CreateTimer()
341 timerOptions->type == ITimerManager::TimerType::ELAPSED_REALTIME_WAKEUP) { in CreateTimer()
357 if (timerOptions->wantAgent != nullptr) { in CreateTimer()
362 return timerManager->CreateTimer(paras, callbackFunc, timerOptions->wantAgent, in CreateTimer()