Home
last modified time | relevance | path

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

12345

/base/time/time_service/interfaces/inner_api/include/
Ditimer_info.h29 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/time/time_service/services/time/src/
Dsimple_timer_info.cpp31 repeat = _repeat; in SimpleTimerInfo()
47 repeat = _repeat; in SetRepeat()
71 if (!parcel.WriteBool(repeat)) { in Marshalling()
72 TIME_HILOGE(TIME_MODULE_CLIENT, "Failed to write repeat"); in Marshalling()
102 auto repeat = parcel.ReadBool(); in Unmarshalling() local
115 …SimpleTimerInfo *simpleTimerInfo = new (std::nothrow) SimpleTimerInfo(name, type, repeat, disposab… in Unmarshalling()
Ditimer_info.cpp20 ITimerInfo::ITimerInfo() : type{ 0 }, repeat{ false }, interval{ 0 } in ITimerInfo()
/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.
/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/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request_calendar.h125 * @brief Gets the repeat day.
133 * @brief Gets the repeat month.
186 * @brief Sets the repeat day.
188 * @param repeatDay Indicates the repeat day.
193 * @brief Sets the repeat month.
195 * @param repeatMonth Indicates the repeat month.
260 * @brief Check reminder request is repeat
311 * is repeat, otherwise not changed.
393 // repeat calendar
/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()
/base/notification/distributed_notification_service/services/reminder/include/
Dreminder_timer_info.h76 * Indicates the repeat policy.
78 void SetRepeat(bool repeat) override;
81 * Indicates the interval time for repeat timing.
/base/notification/distributed_notification_service/services/ans/include/notification_extension/
Dnotification_operation_service.h49 * Indicates the repeat policy.
51 void SetRepeat(bool repeat) override {}; in SetRepeat() argument
54 * Indicates the interval time for repeat timing.
/base/time/time_service/framework/js/napi/system_timer/src/
Dnapi_system_timer.cpp90 repeat = _repeat; in SetRepeat()
126 { "repeat", napi_boolean },
136 { "repeat", "boolean" },
158 } else if (paraType == "repeat") { in ParseTimerOptions()
159 bool repeat = false; in ParseTimerOptions() local
160 napi_get_value_bool(env, result, &repeat); in ParseTimerOptions()
161 iTimerInfoInstance->SetRepeat(repeat); in ParseTimerOptions()
206 // repeat: boolean in GetTimerOptions()
207 napi_has_named_property(env, value, "repeat", &hasProperty); in GetTimerOptions()
209 … "Mandatory parameters are left unspecified, repeat expected.", JsErrorCode::PARAMETER_ERROR); in GetTimerOptions()
[all …]
/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/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/theme/screenlock_mgr/services/src/
Dstrongauthmanager.cpp44 StrongAuthManger::authTimer::authTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle) in authTimer() argument
46 this->repeat = repeat; in authTimer()
73 void StrongAuthManger::authTimer::SetRepeat(bool repeat) in SetRepeat() argument
75 this->repeat = repeat; in SetRepeat()
/base/hiviewdfx/hidumper/test/scripts/
Drequirements.txt7 pytest-repeat
/base/hiviewdfx/hitrace/test/scripts/
Drequirements.txt7 pytest-repeat
/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.h63 authTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle = false);
67 virtual void SetRepeat(bool repeat) override;
/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/
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,

12345