Home
last modified time | relevance | path

Searched full:repeat (Results 1 – 25 of 110) sorted by relevance

12345

/base/time/time_service/interfaces/inner_api/include/
Ditimer_info.h31 bool repeat; variable
68 * SetRepeat set timer repeat or not
69 * @para: repeat: bool
72 virtual void SetRepeat(bool repeat) = 0;
75 * SetInterval set timer repeat interval
76 * @para: repeat: uint64_t >= 5000ms
85 * But do not take effect for repeat timer.
/base/time/time_service/test/unittest/js_test/permission/
DSystemTimerNormal.test.js59 repeat: false, property
85 repeat: false, property
104 repeat: false, property
123 repeat: false, property
142 repeat: false, property
161 repeat: false, property
170 * @tc.desc: Test createTimer for callback with repeat is true.
180 repeat: true, property
189 * @tc.desc: Test createTimer for callback with repeat is true, interval is 0.
199 repeat: true, property
[all …]
DSystemTimerException.test.js73 repeat: false property
95 repeat: false property
104 * @tc.desc: Test createTimer for promise when repeat is string.
114 repeat: "true" property
134 repeat: false, property
154 repeat: false, property
187 * @tc.desc: Test createTimer for promise when not repeat.
215 repeat: false, property
235 repeat: false property
265 repeat: false property
[all …]
/base/startup/init/services/loopevent/idle/
Dle_idle.c33 * @param repeat if the idle function will be repeated forevent (non zero) or once (zero)
37 LE_ProcessIdle processIdle, void *context, int repeat) in LE_AddIdle() argument
47 task->repeat = repeat; in LE_AddIdle()
91 if (task->repeat) { in IdleListTraversalProc()
95 // Remove if no need to repeat in IdleListTraversalProc()
Dle_idle.h38 /* This task will be repeat forever or just once */
39 int repeat; member
/base/time/time_service/test/fuzztest/timemanager_fuzzer/timetesttimer_fuzzer/
Dtimer_info.h29 void SetRepeat(bool repeat) override;
43 void TimerInfo::SetRepeat(bool repeat) in SetRepeat() argument
45 this->repeat = repeat; in SetRepeat()
/base/startup/init/services/loopevent/timer/
Dle_timer.c57 timer->repeat--; in InsertTimerNode()
93 if ((timer->repeat == 0) || ((timer->flags & TIMER_CANCELED) == TIMER_CANCELED)) { in CheckTimeoutOfTimer()
111 timer->repeat = 1; in CreateTimer()
134 const TimerHandle timer, uint64_t timeout, uint64_t repeat) in LE_StartTimer() argument
141 timerNode->repeat = repeat > 0 ? repeat : 1; in LE_StartTimer()
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_timer_info.h39 * Indicates the repeat policy.
41 void SetRepeat(bool repeat) override;
44 * Indicates the interval time for repeat timing.
Dreminder_timer_info.h65 * Indicates the repeat policy.
67 void SetRepeat(bool repeat) override;
70 * Indicates the interval time for repeat timing.
/base/update/updateservice/services/core/ability/alarm/src/
Dalarm_timer_utils.cpp40 void AlarmTimerUtils::TimerTaskInfo::SetRepeat(bool repeat) in SetRepeat() argument
42 this->repeat = repeat; in SetRepeat()
81 …ENGINE_LOGI("register repeat timer, start time %{public}" PRId64 ", repeat %{public}" PRId64 "", t… in RegisterRepeatAlarm()
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/test/mock/
Dbbox_detectors_mock.cpp21 const Task &task, uint64_t interval, bool repeat) in AddTimerEvent() argument
23 return EventLoop::AddTimerEvent(handler, event, task, GetMockInterval(), repeat); in AddTimerEvent()
Dbbox_detectors_mock.h34 uint64_t interval, bool repeat) override;
/base/time/time_service/framework/js/napi/system_timer/src/
Dnapi_system_timer.cpp91 repeat = _repeat; in SetRepeat()
126 { "repeat", napi_boolean },
134 { "repeat", "boolean" },
155 } else if (paraType == "repeat") { in ParseTimerOptions()
156 bool repeat = false; in ParseTimerOptions() local
157 napi_get_value_bool(env, result, &repeat); in ParseTimerOptions()
158 iTimerInfoInstance->SetRepeat(repeat); in ParseTimerOptions()
191 // repeat: boolean in GetTimerOptions()
192 napi_has_named_property(env, value, "repeat", &hasProperty); in GetTimerOptions()
194 … "Mandatory parameters are left unspecified, repeat expected.", JsErrorCode::PARAMETER_ERROR); in GetTimerOptions()
[all …]
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request_calendar.h122 * @brief Gets the repeat day.
130 * @brief Gets the repeat month.
183 * @brief Sets the repeat day.
185 * @param repeatDay Indicates the repeat day.
190 * @brief Sets the repeat month.
192 * @param repeatMonth Indicates the repeat month.
257 * @brief Check reminder request is repeat
307 * is repeat, otherwise not changed.
383 // repeat calendar
/base/update/updater/utils/include/
Dmacros_updater.h52 #define REPEAT(MACRO, ...) CONCAT(REPEAT_, SIZE(__VA_ARGS__))(MACRO, __VA_ARGS__) macro
86 REPEAT(GET_MEMBER_DECLARTION, __VA_ARGS__) \
92 constexpr static const char *MEMBER_KEY[] = {REPEAT(GET_MEMBER_KEY, __VA_ARGS__)}; \
96 return Detail::Get<idx>(REPEAT(GET_MEMBER, __VA_ARGS__)); \
/base/msdp/device_status/rust/modules/scheduler/sys/src/
Dlib.rs149 /// It will repeat for `repeat` times with `interval` between each running. If `repeat`
150 /// is None, the posted task will repeat forever.
155 repeat: Option<usize>) -> TaskHandle<()> in post_perioric_task()
164 ylong_runtime::time::periodic_schedule(task, repeat, interval).await; in post_perioric_task()
/base/theme/screenlock_mgr/services/src/
Dstrongauthmanager.cpp41 StrongAuthManger::authTimer::authTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle) in authTimer() argument
43 this->repeat = repeat; in authTimer()
70 void StrongAuthManger::authTimer::SetRepeat(bool repeat) in SetRepeat() argument
72 this->repeat = repeat; in SetRepeat()
/base/time/time_service/test/unittest/service_test/include/
Dtimer_info_test.h43 virtual void SetRepeat(bool repeat) override;
83 repeat = _repeat; in SetRepeat()
/base/theme/screenlock_mgr/services/include/
Dstrongauthmanager.h62 authTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle = false);
66 virtual void SetRepeat(bool repeat) override;
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_data_manager_inner.cpp159 int32_t repeat = static_cast<int32_t>(reminder->IsRepeat()); in ReportSysEvent() local
163 "UID", uid, "NAME", bundleName, "TYPE", type, "REPEAT", repeat, "TRIGGER_TIME", triggerTime, in ReportSysEvent()
/base/hiviewdfx/hiappevent/test/unittest/common/napi/
Dnapi_set_event_param.test.js184 setEventParamTest(TEST_PARAMS, "a".repeat(MAX_LEN_OF_DOMAIN + 1), expectErr, done);
187 setEventParamTest(TEST_PARAMS, 'a'.repeat(MAX_LEN_OF_DOMAIN), null, done);
206 …setEventParamTestWithNameTest(TEST_PARAMS, TEST_DOMAIN, "a".repeat(MAX_LENGTH_OF_EVENT_NAME + 1), …
210 …setEventParamTestWithNameTest(TEST_PARAMS, TEST_DOMAIN, 'a'.repeat(MAX_LENGTH_OF_EVENT_NAME), null…
/base/time/time_service/services/time/src/
Ditimer_info.cpp20 ITimerInfo::ITimerInfo() : type{ 0 }, repeat{ false }, interval{ 0 } in ITimerInfo()
Dsimple_timer_info.cpp33 repeat = _repeat; in SetRepeat()
/base/time/time_service/
DREADME.md59 | repeat | boolean | true Is a cyclic timer, false is a single timer. |
60 | interval | number | If it is a cyclic timer, the repeat value should be greater than 5000 mil…
98 repeat:false,
/base/time/time_service/services/time/include/
Dsimple_timer_info.h29 void SetRepeat(bool repeat) override;

12345