Home
last modified time | relevance | path

Searched refs:GetTimerFd (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/intention/scheduler/timer_manager/include/
H A Dtimer_manager.h43 int32_t GetTimerFd() const;
76 inline int32_t TimerManager::GetTimerFd() const in GetTimerFd() function
/ohos5.0/base/msdp/device_status/intention/scheduler/timer_manager/include/
H A Dtimer_manager.h43 int32_t GetTimerFd() const;
76 inline int32_t TimerManager::GetTimerFd() const in GetTimerFd() function
/ohos5.0/base/msdp/device_status/test/unittest/intention/scheduler/src/
H A Dtimer_manager_test.cpp141 ret = AddEpoll(EPOLL_EVENT_TIMER, timerMgr_.GetTimerFd()); in InitTimerMgr()
269 ssize_t ret = read(timerMgr_.GetTimerFd(), &expiration, sizeof(expiration)); in OnTimeout()
298 if (timerMgr_.GetTimerFd() >= 0) { in OnStop()
299 if (close(timerMgr_.GetTimerFd()) < 0) { in OnStop()
547 int32_t timerFd = timerMgr->GetTimerFd();
565 int32_t timerFd = timerMgr.GetTimerFd();
/ohos5.0/base/msdp/device_status/test/fuzztest/devicemanager_fuzzer/
H A Ddevicemanager_fuzzer.cpp148 ret = AddEpoll(EPOLL_EVENT_TIMER, timerMgr_.GetTimerFd()); in InitTimerMgr()
276 ssize_t ret = read(timerMgr_.GetTimerFd(), &expiration, sizeof(expiration)); in OnTimeout()
347 if (timerMgr_.GetTimerFd() >= 0) { in OnStop()
348 if (close(timerMgr_.GetTimerFd()) < 0) { in OnStop()
/ohos5.0/foundation/multimodalinput/input/intention/services/test/unittest/src/
H A Ddevice_manager_test.cpp150 ret = AddEpoll(EPOLL_EVENT_TIMER, timerMgr_.GetTimerFd()); in InitTimerMgr()
278 ssize_t ret = read(timerMgr_.GetTimerFd(), &expiration, sizeof(expiration)); in OnTimeout()
349 if (timerMgr_.GetTimerFd() >= 0) { in OnStop()
350 if (close(timerMgr_.GetTimerFd()) < 0) { in OnStop()
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/src/
H A Ddevice_manager_test.cpp150 ret = AddEpoll(EPOLL_EVENT_TIMER, timerMgr_.GetTimerFd()); in InitTimerMgr()
278 ssize_t ret = read(timerMgr_.GetTimerFd(), &expiration, sizeof(expiration)); in OnTimeout()
349 if (timerMgr_.GetTimerFd() >= 0) { in OnStop()
350 if (close(timerMgr_.GetTimerFd()) < 0) { in OnStop()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_event_test.cpp568 inline int GetTimerFd() const { return handler_->GetFd(); } in GetTimerFd() function in OHOS::__anon7e5fee520110::TimerEventHandler
602 int GetTimerFd(uint32_t interval /* ms */);
696 timerFd = handler->GetTimerFd(); in ScheduleTimer()
707 int timerFd = once ? IO_EVENT_INVALID_FD : GetTimerFd(interval); // Get timerFd in Register()
735 …std::cout << "||" << gettid() << "||" << "Cancle timer handler with fd:" << target->GetTimerFd() … in CancelTimer()
792 int Timer::GetTimerFd(uint32_t interval /* ms */) in GetTimerFd() function in OHOS::__anon7e5fee520110::Timer
800 return ptr->GetTimerFd(); in GetTimerFd()
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dtimer.cpp86 int timerFd = once ? INVALID_TIMER_FD : GetTimerFd(interval); in Register()
225 int Timer::GetTimerFd(uint32_t interval /* ms */) in GetTimerFd() function in OHOS::Utils::Timer
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
H A Devent_benchmark_test.cpp701 inline int GetTimerFd() const { return handler_->GetFd(); } in GetTimerFd() function in OHOS::__anond27b26990110::TimerEventHandler
734 int GetTimerFd(uint32_t interval /* ms */);
834 timerFd = handler->GetTimerFd(); in ScheduleTimer()
846 int timerFd = once ? IO_EVENT_INVALID_FD : GetTimerFd(interval); // Get timerFd in Register()
862 …MARK_LOGD("||%{public}d||Cancle timer handler with fd:%{public}d", gettid(), target->GetTimerFd()); in CancelTimer()
932 int Timer::GetTimerFd(uint32_t interval /* ms */) in GetTimerFd() function in OHOS::__anond27b26990110::Timer
941 return ptr->GetTimerFd(); in GetTimerFd()
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dtimer.h123 int GetTimerFd(uint32_t interval /* ms */);
/ohos5.0/base/msdp/device_status/services/native/src/
H A Ddevicestatus_service.cpp459 ret = AddEpoll(EPOLL_EVENT_TIMER, timerMgr_.GetTimerFd()); in InitTimerMgr()
517 ssize_t ret = read(timerMgr_.GetTimerFd(), &expiration, sizeof(expiration)); in OnTimeout()