Home
last modified time | relevance | path

Searched refs:windowLength (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/base/time/time_service/services/timer/src/
H A Dtimer_manager.cpp140 insertValues.PutLong("windowLength", paras.windowLength); in GetInsertValues()
178 paras.windowLength, in CreateTimer()
373 int64_t windowLength, in SetHandler() argument
382 auto windowLengthDuration = milliseconds(windowLength); in SetHandler()
427 std::chrono::milliseconds windowLength, in SetHandlerLocked() argument
577 if (timer->windowLength == milliseconds::zero()) { in ReAddTimerLocked()
580 maxElapsed = (timer->windowLength > milliseconds::zero()) ? in ReAddTimerLocked()
581 (whenElapsed + timer->windowLength) : in ReAddTimerLocked()
1065 if (timer->windowLength == milliseconds::zero()) { in ReCalcuOriWhenElapsed()
1068 maxElapsed = (timer->windowLength > milliseconds::zero()) ? in ReCalcuOriWhenElapsed()
[all …]
H A Dtimer_info.cpp56 windowLength {_windowLength},
73 maxWhenElapsed = whenElapsed + windowLength; in UpdateWhenElapsedFromNow()
95 if (windowLength == std::chrono::milliseconds::zero()) { in AdjustTimer()
H A Dtimer_proxy.cpp277 && timer->windowLength == milliseconds::zero()) { in IsTimerExemption()
/ohos5.0/base/time/time_service/services/timer/include/
H A Dtimer_info.h41 std::chrono::milliseconds windowLength; variable
53 std::chrono::milliseconds windowLength,
H A Dtimer_manager.h77 int64_t windowLength,
89 std::chrono::milliseconds windowLength,
H A Dtimer_manager_interface.h29 int64_t windowLength; member
/ohos5.0/base/time/time_service/test/unittest/service_test/src/
H A Dtime_proxy_test.cpp81 paras.windowLength = -1;
124 paras.windowLength = -1;
162 paras.windowLength = -1;
205 paras.windowLength = -1;
248 paras.windowLength = -1;
290 paras.windowLength = -1;
359 paras.windowLength = -1;
490 TimerPara paras{.timerType = 2, .windowLength = 0, .interval = 0, .flag = 0};
569 paras.windowLength = -1;
680 paras.windowLength = -1;
[all …]
/ohos5.0/base/time/time_service/utils/native/include/
H A Dtime_common.h31 int64_t windowLength; member
/ohos5.0/base/time/time_service/services/time/src/
H A Dtime_tick_notify.cpp54 timerPara.windowLength = 0; in Init()
H A Dntp_update_time.cpp86 timerPara.windowLength = 0; in Init()
/ohos5.0/base/time/time_service/services/
H A Dtime_system_ability.cpp297 paras.windowLength = (uIntType & TIMER_TYPE_EXACT_MASK) > 0 ? 0 : -1; in ParseTimerPara()