Home
last modified time | relevance | path

Searched refs:repeat (Results 1 - 25 of 156) sorted by relevance

1234567

/foundation/resourceschedule/device_standby/services/common/src/
H A Dtimed_task.cpp32 TimedTask::TimedTask(bool repeat, uint64_t interval, bool isExact, bool isIdle) in TimedTask() argument
34 this->repeat = repeat; in TimedTask()
48 TimedTask::TimedTask(bool repeat, uint64_t interval, int type) in TimedTask() argument
50 this->repeat = repeat; in TimedTask()
73 void TimedTask::SetRepeat(bool repeat) in SetRepeat() argument
75 this->repeat = repeat; in SetRepeat()
93 uint64_t WEAK_FUNC TimedTask::CreateTimer(bool repeat, uint64_ argument
101 CreateTimer(bool repeat, uint64_t interval, int type, const std::function<void()>& callBack) CreateTimer() argument
126 RegisterDayNightSwitchTimer(uint64_t& timeId, bool repeat, uint64_t interval, const std::function<void()>& callBack) RegisterDayNightSwitchTimer() argument
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_system_timer.cpp30 WifiSysTimer::WifiSysTimer(bool repeat, uint64_t interval, bool isNoWakeUp, bool isIdle) in WifiSysTimer() argument
32 this->repeat = repeat; in WifiSysTimer()
60 void WifiSysTimer::SetRepeat(bool repeat) in SetRepeat() argument
62 this->repeat = repeat; in SetRepeat()
H A Dwifi_system_timer.h34 WifiSysTimer(bool repeat, uint64_t interval, bool isNoWakeUp, bool isIdle = false);
38 void SetRepeat(bool repeat) override;
/foundation/communication/dhcp/services/utils/src/
H A Ddhcp_system_timer.cpp33 DhcpSysTimer::DhcpSysTimer(bool repeat, uint64_t interval, bool isNoWakeUp, bool isIdle) in DhcpSysTimer() argument
35 this->repeat = repeat; in DhcpSysTimer()
63 void DhcpSysTimer::SetRepeat(bool repeat) in SetRepeat() argument
65 this->repeat = repeat; in SetRepeat()
/foundation/resourceschedule/device_standby/services/common/include/
H A Dtimed_task.h38 TimedTask(bool repeat, uint64_t interval, bool isExact, bool isIdle = false);
39 TimedTask(bool repeat, uint64_t interval, int type);
43 void SetRepeat(bool repeat) override;
48 static uint64_t CreateTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle,
50 static uint64_t CreateTimer(bool repeat, uint64_t interval, int type, const std::function<void()>& callBack);
52 static bool RegisterDayNightSwitchTimer(uint64_t& timeId, bool repeat, uint64_t interval,
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/common/
H A Dwifi_system_timer_test.cpp63 bool repeat = true; in HWTEST_F() local
64 timer_->SetRepeat(repeat); in HWTEST_F()
66 EXPECT_EQ(timer_->repeat, repeat); in HWTEST_F()
88 bool repeat = true; in HWTEST_F() local
92 WifiSysTimer WifiSysTimer(repeat, interval, isNoWakeUp, isIdle); in HWTEST_F()
/base/time/time_service/test/fuzztest/timemanager_fuzzer/timetesttimer_fuzzer/
H A Dtimer_info.h29 void SetRepeat(bool repeat) override;
43 void TimerInfo::SetRepeat(bool repeat) in SetRepeat() argument
45 this->repeat = repeat; in SetRepeat()
/foundation/ability/form_fwk/services/include/
H A Dform_timer_option.h33 virtual void SetRepeat(bool repeat) override;
67 void FormTimerOption::SetRepeat(bool repeat) in SetRepeat() argument
69 this->repeat = repeat; in SetRepeat()
/base/startup/init/services/loopevent/idle/
H A 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()
47 task->repeat = repeat; in LE_AddIdle()
91 if (task->repeat) { in IdleListTraversalProc()
95 // Remove if no need to repeat in IdleListTraversalProc()
36 LE_AddIdle(const LoopHandle loopHandle, IdleHandle *idle, LE_ProcessIdle processIdle, void *context, int repeat) LE_AddIdle() argument
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dborder_image_edge.cpp20 const Dimension& width, BorderImageRepeat repeat) in BorderImageEdge()
22 borderImageWidth_(width), repeat_(repeat) in BorderImageEdge()
19 BorderImageEdge(const Dimension& slice, const Dimension& outset, const Dimension& width, BorderImageRepeat repeat) BorderImageEdge() argument
H A Dborder_image_edge.h31 const Dimension& border_image_width, BorderImageRepeat repeat);
85 void SetBorderImageRepeat(BorderImageRepeat repeat) in SetBorderImageRepeat() argument
87 repeat_ = repeat; in SetBorderImageRepeat()
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/test/mock/
H A Dbbox_detectors_mock.cpp21 const Task &task, uint64_t interval, bool repeat) in AddTimerEvent()
23 return EventLoop::AddTimerEvent(handler, event, task, GetMockInterval(), repeat); in AddTimerEvent()
20 AddTimerEvent(std::shared_ptr<EventHandler> handler, std::shared_ptr<Event> event, const Task &task, uint64_t interval, bool repeat) AddTimerEvent() argument
/foundation/distributeddatamgr/preferences/test/js/unittest/storage/src/
H A DStorageSyncJsunit.test.js272 * @tc.name repeat on interface test
274 * @tc.desc repeat on interface test
308 illegalKey = illegalKey.repeat(1025);
324 legalKey = legalKey.repeat(1024);
340 illegalValue = illegalValue.repeat(16 * 1024 * 1024 + 1);
356 legalValue = legalValue.repeat(16 * 1024 * 1024);
372 illegalkey = illegalkey.repeat(1025);
388 legalkey = legalkey.repeat(1024);
404 illegalkey = illegalkey.repeat(1025);
420 legalkey = legalkey.repeat(102
[all...]
/base/startup/init/services/loopevent/timer/
H A 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()
141 timerNode->repeat = repeat > 0 ? repeat : 1; in LE_StartTimer()
133 LE_StartTimer(const LoopHandle loopHandle, const TimerHandle timer, uint64_t timeout, uint64_t repeat) LE_StartTimer() argument
/foundation/resourceschedule/ffrt/src/sync/
H A Dpoller.h67 TimerDataWithCb(void *dataVal, void (*cbVal)(void *), CPUEUTask *taskVal, bool repeat, uint64_t timeout) in TimerDataWithCb()
68 : data(dataVal), cb(cbVal), task(taskVal), repeat(repeat), timeout(timeout) in TimerDataWithCb()
75 bool repeat = false; member
105 int RegisterTimer(uint64_t timeout, void* data, ffrt_timer_cb cb, bool repeat = false) noexcept;
H A Dtimer_api.cpp36 ffrt_timer_t ffrt_timer_start(ffrt_qos_t qos, uint64_t timeout, void* data, ffrt_timer_cb cb, bool repeat) in ffrt_timer_start() argument
48 int handle = ffrt::FFRTFacade::GetPPInstance().GetPoller(pollerQos).RegisterTimer(timeout, data, cb, repeat); in ffrt_timer_start()
/base/time/time_service/interfaces/inner_api/include/
H A Ditimer_info.h31 bool repeat; member in OHOS::MiscServices::ITimerInfo
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.
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dlong_press_gesture.h35 int32_t fingers, bool repeat, int32_t duration, bool isForDrag = false, bool isDisableMouseLeft = false) in LongPressGesture()
36 : Gesture(fingers), repeat_(repeat), duration_(duration), isForDrag_(isForDrag), in LongPressGesture()
34 LongPressGesture( int32_t fingers, bool repeat, int32_t duration, bool isForDrag = false, bool isDisableMouseLeft = false) LongPressGesture() argument
/foundation/communication/dhcp/services/utils/include/
H A Ddhcp_system_timer.h33 DhcpSysTimer(bool repeat, uint64_t interval, bool isNoWakeUp, bool isIdle = false);
37 void SetRepeat(bool repeat) override;
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/
H A Dlong_press_gesture.h35 int32_t fingers, bool repeat, int32_t duration, bool isForDrag = false, bool isDisableMouseLeft = false) in LongPressGesture()
36 : Gesture(fingers), repeat_(repeat), duration_(duration), isForDrag_(isForDrag), in LongPressGesture()
34 LongPressGesture( int32_t fingers, bool repeat, int32_t duration, bool isForDrag = false, bool isDisableMouseLeft = false) LongPressGesture() argument
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/
H A Devent_node.py44 repeat = None variable in EventNode
84 self.repeat = get_value_as_int(frame_node_str, get_sample_key(event_procedure_keyword, 'repeat'),
85 get_sample_separator_count(event_procedure_keyword, 'repeat'))
139 if self.repeat is not None:
140 result_str += ',' + ' repeat: ' + str(self.repeat)
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dpriority_queue.h98 auto [repeat, time] = updater(index->second->second.task_); in Update()
108 auto [repeat, time] = updater((*running).second.task_); in Update()
109 return repeat; in Update()
151 auto [repeat, time] = updater_(it->second.task_); in Finish()
152 if (repeat) { in Finish()
/foundation/arkui/ui_lite/interfaces/kits/animator/
H A Danimator.h127 * @param repeat Specifies whether to repeat this animator. <b>true</b> indicates the animator is repeated,
132 Animator(AnimatorCallback* callback, UIView* view, uint32_t time, bool repeat) in Animator() argument
133 : callback_(callback), view_(view), state_(STOP), period_(time), repeat_(repeat), runTime_(0), lastRunTime_(0) in Animator()
/base/update/updateservice/services/core/ability/alarm/src/
H A 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 "", time, repeatTime); in RegisterRepeatAlarm()
/base/theme/screenlock_mgr/services/src/
H A Dstrongauthmanager.cpp43 StrongAuthManger::authTimer::authTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle) in authTimer() argument
45 this->repeat = repeat; in authTimer()
72 void StrongAuthManger::authTimer::SetRepeat(bool repeat) in SetRepeat() argument
74 this->repeat = repeat; in SetRepeat()

Completed in 12 milliseconds

1234567