Home
last modified time | relevance | path

Searched refs:windowLength (Results 1 - 10 of 10) sorted by relevance

/base/time/time_service/services/timer/include/
H A Dtimer_info.h41 std::chrono::milliseconds windowLength; member in OHOS::MiscServices::TimerInfo
53 std::chrono::milliseconds windowLength,
H A Dtimer_manager_interface.h29 int64_t windowLength; member
H A Dtimer_manager.h78 int64_t windowLength,
90 std::chrono::milliseconds windowLength,
/base/time/time_service/services/timer/src/
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_manager.cpp70 static const std::vector<std::string> ALL_DATA = { "timerId", "type", "flag", "windowLength", "interval", \
135 insertValues.PutLong("windowLength", paras.windowLength); in GetInsertValues()
156 "Create timer: %{public}d windowLength:%{public}" PRId64 "interval:%{public}" PRId64 "flag:%{public}d" in CreateTimer()
157 "uid:%{public}d pid:%{public}d timerId:%{public}" PRId64 "", paras.timerType, paras.windowLength, in CreateTimer()
173 paras.windowLength, in CreateTimer()
218 timerId, timerInfo->type, timerInfo->windowLength, timerInfo->interval, timerInfo->flag, in StartTimer()
226 SetHandler(timerInfo->id, timerInfo->type, triggerTime, timerInfo->windowLength, timerInfo->interval, in StartTimer()
303 int64_t windowLength, in SetHandler()
312 auto windowLengthDuration = milliseconds(windowLength); in SetHandler()
300 SetHandler(uint64_t id, int type, uint64_t triggerAtTime, int64_t windowLength, uint64_t interval, int flag, std::function<int32_t (const uint64_t)> callback, std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent, int uid, int pid, const std::string &bundleName) SetHandler() argument
354 SetHandlerLocked(uint64_t id, int type, std::chrono::milliseconds when, std::chrono::steady_clock::time_point whenElapsed, std::chrono::milliseconds windowLength, std::chrono::steady_clock::time_point maxWhen, std::chrono::milliseconds interval, std::function<int32_t (const uint64_t)> callback, const std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> &wantAgent, uint32_t flags, uint64_t callingUid, uint64_t callingPid, const std::string &bundleName) SetHandlerLocked() argument
[all...]
H A Dtimer_proxy.cpp269 && timer->windowLength == milliseconds::zero()) { in IsTimerExemption()
/base/time/time_service/utils/native/include/
H A Dtime_common.h30 int64_t windowLength; member
/base/time/time_service/test/unittest/service_test/src/
H A Dtime_proxy_test.cpp80 paras.windowLength = -1; in HWTEST_F()
123 paras.windowLength = -1; in HWTEST_F()
161 paras.windowLength = -1; in HWTEST_F()
204 paras.windowLength = -1; in HWTEST_F()
247 paras.windowLength = -1; in HWTEST_F()
289 paras.windowLength = -1; in HWTEST_F()
358 paras.windowLength = -1; in HWTEST_F()
489 TimerPara paras{.timerType = 2, .windowLength = 0, .interval = 0, .flag = 0}; in HWTEST_F()
566 paras.windowLength = -1; in HWTEST_F()
673 paras.windowLength in HWTEST_F()
[all...]
/base/time/time_service/services/time/src/
H A Dntp_update_time.cpp85 timerPara.windowLength = 0; in Init()
/base/time/time_service/services/
H A Dtime_system_ability.cpp71 static const std::vector<std::string> ALL_DATA = { "timerId", "type", "flag", "windowLength", "interval", \
324 paras.windowLength = (uIntType & TIMER_TYPE_EXACT_MASK) > 0 ? 0 : -1; in ParseTimerPara()
989 // Line 3 is 'windowLength' in RecoverTimerInner()

Completed in 8 milliseconds