/base/time/time_service/services/timer/include/ |
H A D | timer_info.h | 41 std::chrono::milliseconds windowLength; member in OHOS::MiscServices::TimerInfo 53 std::chrono::milliseconds windowLength,
|
H A D | timer_manager_interface.h | 29 int64_t windowLength; member
|
H A D | timer_manager.h | 78 int64_t windowLength, 90 std::chrono::milliseconds windowLength,
|
/base/time/time_service/services/timer/src/ |
H A D | timer_info.cpp | 56 windowLength {_windowLength}, 73 maxWhenElapsed = whenElapsed + windowLength; in UpdateWhenElapsedFromNow() 95 if (windowLength == std::chrono::milliseconds::zero()) { in AdjustTimer()
|
H A D | timer_manager.cpp | 70 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 D | timer_proxy.cpp | 269 && timer->windowLength == milliseconds::zero()) { in IsTimerExemption()
|
/base/time/time_service/utils/native/include/ |
H A D | time_common.h | 30 int64_t windowLength; member
|
/base/time/time_service/test/unittest/service_test/src/ |
H A D | time_proxy_test.cpp | 80 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 D | ntp_update_time.cpp | 85 timerPara.windowLength = 0; in Init()
|
/base/time/time_service/services/ |
H A D | time_system_ability.cpp | 71 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()
|