Home
last modified time | relevance | path

Searched refs:timerPara (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/time/time_service/services/time/src/
H A Dtime_tick_notify.cpp52 TimerPara timerPara{}; in Init() local
53 timerPara.timerType = static_cast<int>(ITimerManager::TimerType::RTC); in Init()
54 timerPara.windowLength = 0; in Init()
55 timerPara.interval = 0; in Init()
56 timerPara.flag = 0; in Init()
62 TimeSystemAbility::GetInstance()->CreateTimer(timerPara, callback, timerId_); in Init()
H A Dntp_update_time.cpp84 TimerPara timerPara{}; in Init() local
85 timerPara.timerType = static_cast<int>(ITimerManager::TimerType::ELAPSED_REALTIME); in Init()
86 timerPara.windowLength = 0; in Init()
87 timerPara.interval = DAY_TO_MILLISECOND; in Init()
88 timerPara.flag = 0; in Init()
89 TimeSystemAbility::GetInstance()->CreateTimer(timerPara, callback, timerId_); in Init()
/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/osal/src/
H A Dosal_timer.c75 struct TimerCreatePara timerPara = {0}; in OsalStartTimer() local
88 timerPara.type = OS_TIMER_SOFTWARE; in OsalStartTimer()
89 timerPara.mode = mode; in OsalStartTimer()
90 timerPara.interval = liteTimer->interval; in OsalStartTimer()
91 timerPara.callBackFunc = (TmrProcFunc)liteTimer->func; in OsalStartTimer()
92 timerPara.arg1 = liteTimer->arg; in OsalStartTimer()
93 ret = PRT_TimerCreate(&timerPara, &timerID); in OsalStartTimer()
/ohos5.0/base/time/time_service/test/fuzztest/timeservice_fuzzer/common/
H A Dtime_service_fuzz_utils.cpp41 TimerPara timerPara{ 0, 0, 0, 0 }; in SetTimer() local
44 timerPara, [](uint64_t id) {return 0;}, timerId); in SetTimer()