Home
last modified time | relevance | path

Searched defs:timer (Results 1 – 25 of 35) sorted by relevance

12

/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
Dsys_timer.c23 void TimerDelete(Timer *timer) in TimerDelete()
43 Timer *timer = NULL; in TimerReadHandle() local
72 int32_t TimerGetRemainTime(Timer *timer, uint32_t *remainTimeMsPtr) in TimerGetRemainTime()
92 int32_t TimerSetTimeout(Timer *timer, uint32_t timeoutMs, uint8_t repeated) in TimerSetTimeout()
124 Timer *timer = calloc(1, sizeof(Timer)); in TimerStart() local
/foundation/communication/dsoftbus/components/nstackx_mini/nstackx_util/platform/liteos/
Dsys_timer.c30 void TimerDelete(Timer *timer) in TimerDelete()
47 Timer *timer = NULL; in TimerReadHandle() local
70 int32_t TimerGetRemainTime(Timer *timer, uint32_t *remainTimeMsPtr) in TimerGetRemainTime()
90 int32_t TimerSetTimeout(Timer *timer, uint32_t timeoutMs, uint8_t repeated) in TimerSetTimeout()
133 Timer *timer = calloc(1, sizeof(Timer)); in TimerStart() local
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
Dsys_timer.c28 void TimerDelete(Timer *timer) in TimerDelete()
45 Timer *timer = NULL; in TimerReadHandle() local
68 int32_t TimerGetRemainTime(Timer *timer, uint32_t *remainTimeMsPtr) in TimerGetRemainTime()
88 int32_t TimerSetTimeout(Timer *timer, uint32_t timeoutMs, uint8_t repeated) in TimerSetTimeout()
131 Timer *timer = calloc(1, sizeof(Timer)); in TimerStart() local
/foundation/multimodalinput/input/service/timer_manager/src/
Dtimer_manager.cpp55 for (const auto &timer : timers_) { in TakeNextTimerId() local
81 auto timer = std::make_unique<TimerItem>(); in AddTimerInternal() local
107 auto timer = std::move(*it); in ResetTimerInternal() local
129 …_ptr<TimerManager::TimerItem>& TimerManager::InsertTimerInternal(std::unique_ptr<TimerItem>& timer) in InsertTimerInternal()
144 for (const auto& timer : timers_) { in CalcNextDelayInternal() local
178 const auto& timer = InsertTimerInternal(curTimer); in ProcessTimersInternal() local
/foundation/graphic/utils/frameworks/
Dgraphic_timer.cpp61 GraphicTimer* timer = reinterpret_cast<GraphicTimer*>(lpArg); in TimerCallback() local
69 GraphicTimer* timer = (GraphicTimer*)lpParam; in WinAsyncThread() local
141 GraphicTimer* timer = reinterpret_cast<GraphicTimer*>(args); in TimerCallback() local
204 GraphicTimer* timer = reinterpret_cast<GraphicTimer*>(v.sival_ptr); in TimerCallback() local
/foundation/ace/ace_engine_lite/frameworks/src/core/context/
Djs_timer_list.cpp27 TimerNode *timer = static_cast<TimerNode *>(ace_malloc(sizeof(TimerNode))); in AddTimer() local
54 void TimerList::DeleteTimer(uint8_t timer) in DeleteTimer()
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/common/
Devloop_timer_unit_test.cpp173 IEvent *timer = IEvent::CreateEvent(TIME_PIECE_1, errCode); variable
225 IEvent *timer = IEvent::CreateEvent(TIME_PIECE_10, errCode); variable
277 IEvent *timer = IEvent::CreateEvent(10, errCode); variable
336 IEvent *timer = IEvent::CreateEvent(TIME_PIECE_10, errCode); variable
392 IEvent *timer = IEvent::CreateEvent(TIME_PIECE_1000, errCode); variable
/foundation/resourceschedule/device_usage_statistics/services/common/src/
Dbundle_active_core.cpp77 … sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in OnReceiveEvent() local
142 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in Init() local
269 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in RestoreToDatabase() local
301 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in ShutDown() local
331 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in CheckTimeChangeAndGetWallTime() local
387 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in OnUserSwitched() local
425 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in ReportEvent() local
526 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in SetBundleGroup() local
Dbundle_active_app_state_obsever.cpp52 … sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in OnAbilityStateChanged() local
Dbundle_active_continuous_task_observer.cpp95 … sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in ReportContinuousTaskEvent() local
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/util/internal/
Dtimer_linux.cpp147 Timer *timer = (Timer *)events[i].data.ptr; in OnTimer() local
161 bool TimerManager::AddTimer(Timer &timer) in AddTimer()
183 void TimerManager::RemoveTimer(Timer &timer) in RemoveTimer()
/foundation/ace/ace_engine_lite/frameworks/src/core/modules/presets/
Dtimer_module.cpp149 TimerList::TimerNode* timer = timerList->GetTimer(index); in ClearTimer() local
189 TimerList::TimerNode* timer = timerList->GetTimer(arg->index); in Task() local
216 TimerList::TimerNode* timer = timerList->GetTimer(*timerId); in Task() local
/foundation/graphic/ui/frameworks/components/
Dui_video.cpp82 char timer[10] = {0}; // 10:timer length in Prepare() local
621 char timer[10] = {0}; // 10:timer length in OnChange() local
675 bool UIVideo::GetTimerFromMSecond(int64_t currentTime, char* timer, int32_t len) in GetTimerFromMSecond()
695 char timer[10] = {0}; // 10:timer length in Callback() local
/foundation/communication/netmanager_base/services/common/include/
Dtimer.h35 Timer(const Timer &timer) in Timer()
/foundation/multimedia/histreamer/engine/foundation/osal/utils/
Dutil.cpp25 HANDLE timer = CreateWaitableTimer(nullptr, TRUE, nullptr); in usleep() local
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/
Dbundle_active_group_handler.cpp58 … sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in ProcessEvent() local
Dbundle_active_group_controller.cpp155 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in CheckEachBundleState() local
346 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in IsBundleIdle() local
369 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in QueryPackageGroup() local
/foundation/ace/ace_engine/adapter/preview/entrance/samples/
Dace_tv_test.cpp69 std::thread timer([&ability]() { in main() local
Dace_wearable_test.cpp69 std::thread timer([&ability]() { in main() local
Dace_card_test.cpp75 std::thread timer([&ability]() { in main() local
Dace_car_test.cpp87 std::thread timer([&ability]() { in main() local
Dace_tablet_test.cpp87 std::thread timer([&ability]() { in main() local
Dace_phone_test.cpp93 std::thread timer([&ability]() { in main() local
/foundation/graphic/utils/test/
Dgraphic_timer_test.cpp94 GraphicTimer timer(NORMAL_PERIORD, GraphicTimerTest::TimerCb, &timer, false); variable
/foundation/distributedhardware/devicemanager/services/devicemanagerservice/src/dependency/timer/
Ddm_timer.cpp50 std::shared_ptr<Timer> timer = std::make_shared<Timer>(name, timeOut, callback); in StartTimer() local

12