Home
last modified time | relevance | path

Searched refs:AddTimer (Results 1 - 14 of 14) sorted by relevance

/base/msdp/device_status/intention/prototype/include/
H A Di_timer_manager.h31 virtual int32_t AddTimer(int32_t, int32_t, std::function<void()>) = 0;
/base/msdp/device_status/test/unittest/intention/scheduler/src/
H A Dtimer_manager_test.cpp383 * @tc.desc: Test AddTimer, Parameter correct expected success
392 timerId_ = env->GetTimerManager().AddTimer(DEFAULT_DELAY_TIME, RETRY_TIME, [this, env]() { in HWTEST_F()
401 FI_HILOGE("AddTimer failed"); in HWTEST_F()
417 * @tc.desc: Test AddTimer, Parameter correct expected success
425 timerId_ = env->GetTimerManager().AddTimer(DEFAULT_TIMEOUT, REPEAT_ONCE, [this, env]() { in HWTEST_F()
431 FI_HILOGE("AddTimer failed"); in HWTEST_F()
443 * @tc.desc: Test AddTimer, Parameter correct expected success
452 timerId_ = env->GetTimerManager().AddTimer(DEFAULT_TIMEOUT, REPEAT_ONCE, [this, env]() { in HWTEST_F()
460 FI_HILOGE("AddTimer failed"); in HWTEST_F()
471 * @tc.desc: Test AddTimer, Invali
[all...]
/base/msdp/device_status/intention/scheduler/timer_manager/include/
H A Dtimer_manager.h38 int32_t AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) override;
/base/msdp/device_status/intention/cooperate/plugin/src/input_event_transmission/
H A Dinput_event_interceptor.cpp129 pointerEventTimer_ = env_->GetTimerManager().AddTimer(POINTER_EVENT_TIMEOUT, REPEAT_ONCE, [this]() { in OnPointerEvent()
H A Dinput_event_builder.cpp198 pointerEventTimer_ = env_->GetTimerManager().AddTimer(POINTER_EVENT_TIMEOUT, REPEAT_ONCE, [this]() { in OnPointerEvent()
/base/msdp/device_status/services/native/src/
H A Ddevicestatus_service.cpp193 int32_t timerId = timerMgr_.AddTimer(DEFAULT_WAIT_TIME_MS, WAIT_FOR_ONCE, in EnableDSoftbus()
196 FI_HILOGE("AddTimer failed, Failed to enable dsoftbus"); in EnableDSoftbus()
209 int32_t timerId = timerMgr_.AddTimer(DEFAULT_WAIT_TIME_MS, WAIT_FOR_ONCE, in EnableDDM()
212 FI_HILOGE("AddTimer failed, Failed to enable DistributedDeviceManager"); in EnableDDM()
590 auto timerId = timerMgr_.AddTimer(DEFAULT_WAIT_TIME_MS, WAIT_FOR_ONCE, in EnableSocketSessionMgr()
595 FI_HILOGE("AddTimer failed, Failed to enable SocketSessionManager"); in EnableSocketSessionMgr()
622 timerId = timerMgr_.AddTimer(DEFAULT_WAIT_TIME_MS, WAIT_FOR_ONCE, in EnableDevMgr()
625 FI_HILOGE("AddTimer failed, Failed to enable device manager"); in EnableDevMgr()
/base/msdp/device_status/intention/cooperate/server/src/
H A Dcooperate_server.cpp83 unloadTimerId_ = context_->GetTimerManager().AddTimer(DEFAULT_UNLOAD_COOLING_TIME_MS, REPEAT_ONCE, in Disable()
88 FI_HILOGE("AddTimer failed, will not unload Cooperate"); in Disable()
/base/msdp/device_status/intention/scheduler/timer_manager/src/
H A Dtimer_manager.cpp69 int32_t TimerManager::AddTimer(int32_t intervalMs, int32_t repeatCount, std::function<void()> callback) in AddTimer() function in OHOS::Msdp::TimerManager
/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dcooperate_in.cpp429 parent_.env_->GetTimerManager().AddTimer(DEFAULT_COOLING_TIME, REPEAT_ONCE, in OnRemoteStart()
574 timerId_ = parent_.env_->GetTimerManager().AddTimer(DEFAULT_TIMEOUT, REPEAT_ONCE, in OnProgress()
H A Dstate_machine.cpp607 screenEventTimer_ = env_->GetTimerManager().AddTimer(SCREEN_LOCKED_TIMEOUT, REPEAT_ONCE, in OnCommonEvent()
/base/msdp/device_status/test/unittest/intention/services/src/
H A Ddevice_manager_test.cpp313 timerId = timerMgr_.AddTimer(DEFAULT_WAIT_TIME_MS, WAIT_FOR_ONCE, in EnableDevMgr()
316 FI_HILOGE("AddTimer failed, Failed to enable device manager"); in EnableDevMgr()
/base/msdp/device_status/test/fuzztest/msdpdevicemanager_fuzzer/
H A Dmsdpdevicemanager_fuzzer.cpp311 timerId = timerMgr_.AddTimer(DEFAULT_WAIT_TIME_MS, WAIT_FOR_ONCE, in EnableDevMgr()
314 FI_HILOGE("AddTimer failed, Failed to enable device manager"); in EnableDevMgr()
/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_manager.cpp86 context_->GetTimerManager().AddTimer(INTERVAL_MS, repeatCount, [this]() { in Init()
693 timerId_ = context_->GetTimerManager().AddTimer(TIMEOUT_MS, repeatCount, [this, dragData]() { in OnDragUp()
1769 mouseDragMonitorTimerId_ = context_->GetTimerManager().AddTimer(TIMEOUT_MS, in SetMouseDragMonitorState()
H A Ddrag_drawing.cpp2424 timerId_ = context_->GetTimerManager().AddTimer(ASYNC_ROTATE_TIME, repeatTime, [this]() { in RotateDragWindowAsync()
2852 g_drawingInfo.timerId = g_drawingInfo.context->GetTimerManager().AddTimer(TIMEOUT_MS, repeatCount, [this]() { in DoEndAnimation()

Completed in 17 milliseconds