Home
last modified time | relevance | path

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

12

/base/startup/init/services/loopevent/timer/
Dle_timer.c52 static void InsertTimerNode(EventLoop *loop, TimerNode *timer) in InsertTimerNode()
70 TimerNode *timer = ListEntry(node, TimerNode, node); in CheckTimeoutOfTimer() local
88 TimerNode *timer = ListEntry(node, TimerNode, node); in CheckTimeoutOfTimer() local
106 TimerNode *timer = (TimerNode *)malloc(sizeof(TimerNode)); in CreateTimer() local
118 TimerHandle *timer, LE_ProcessTimer processTimer, void *context) in LE_CreateTimer()
134 const TimerHandle timer, uint64_t timeout, uint64_t repeat) in LE_StartTimer()
159 TimerNode *timer = ListEntry(node, TimerNode, node); in TimerNodeDestroyProc() local
173 TimerNode *timer = (TimerNode *)timerHandle; in CancelTimer() local
187 void LE_StopTimer(const LoopHandle loopHandle, const TimerHandle timer) in LE_StopTimer()
/base/startup/init/test/unittest/loopevent/
Dlooptimer_unittest.cpp58 TimerHandle timer = NULL; variable
86 TimerHandle timer = NULL; variable
104 TimerHandle timer = NULL; variable
122 TimerHandle timer = NULL; variable
153 TimerHandle timer = NULL; variable
Dloopserver_unittest.cpp321 TimerHandle timer = nullptr; in CreateTimerTask() local
368 TimerHandle timer = test.CreateTimerTask(2); variable
379 TimerHandle timer = test.CreateTimerTask(3); variable
398 TimerHandle timer = test.CreateTimerTask(1); variable
/base/powermgr/powermgr_lite/utils/src/
Dpower_mgr_timer_util.c37 static inline PowerTimerInfo *GetPowerTimerInfo(PowerTimer *timer) in GetPowerTimerInfo()
49 static BOOL StartTimer(PowerTimer timer, int64_t whenMsec, int64_t intervalMsec) in StartTimer()
103 BOOL PowerMgrResetTimer(PowerTimer *timer, int64_t whenMsec, int64_t intervalMsec) in PowerMgrResetTimer()
116 BOOL PowerMgrStartTimer(PowerTimer *timer, void *privateData) in PowerMgrStartTimer()
129 BOOL PowerMgrRestartTimer(PowerTimer *timer, void *privateData) in PowerMgrRestartTimer()
139 BOOL PowerMgrStopTimer(PowerTimer *timer) in PowerMgrStopTimer()
151 void PowerMgrDestroyTimer(PowerTimer *timer) in PowerMgrDestroyTimer()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_util_test.cpp145 std::shared_ptr<StatsHelper::ActiveTimer> timer = std::make_shared<StatsHelper::ActiveTimer>(); variable
177 std::shared_ptr<StatsHelper::ActiveTimer> timer = std::make_shared<StatsHelper::ActiveTimer>(); variable
200 std::shared_ptr<StatsHelper::ActiveTimer> timer = std::make_shared<StatsHelper::ActiveTimer>(); variable
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request_timer.cpp37 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in ReminderRequestTimer() local
104 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in UpdateTimeInfo() local
168 ReminderRequestTimer* timer = static_cast<ReminderRequestTimer*>(reminder.GetRefPtr()); in AppendValuesBucket() local
/base/startup/init/services/param/linux/
Dparam_msgadp.c124 int ParamTimerCreate(ParamTaskPtr *timer, ProcessTimer process, void *context) in ParamTimerCreate()
131 int ParamTimerStart(const ParamTaskPtr timer, uint64_t timeout, uint64_t repeat) in ParamTimerStart()
137 void ParamTimerClose(ParamTaskPtr timer) in ParamTimerClose()
/base/msdp/device_status/intention/scheduler/timer_manager/src/
Dtimer_manager.cpp153 [] (uint64_t s, const auto &timer) { in TakeNextTimerId()
179 auto timer = std::make_unique<TimerItem>(); in AddTimerInternal() local
209 auto timer = std::move(*iter); in ResetTimerInternal() local
224 void TimerManager::InsertTimerInternal(std::unique_ptr<TimerItem> &timer) in InsertTimerInternal()
/base/useriam/user_auth_framework/test/unittest/services/src/
Drelative_timer_test.cpp50 auto &timer = RelativeTimer::GetInstance(); variable
/base/startup/init/services/param/liteos/
Dparam_osadp.c44 ParamTimer *timer = (ParamTimer *)v.sival_ptr; in TimerHandle() local
71 int ParamTimerCreate(ParamTaskPtr *timer, ProcessTimer process, void *context) in ParamTimerCreate()
94 int ParamTimerStart(const ParamTaskPtr timer, uint64_t timeout, uint64_t repeat) in ParamTimerStart()
104 void ParamTimerClose(ParamTaskPtr timer) in ParamTimerClose()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
DReminderHelperTest.js62 let timer = { variable
98 let timer = { variable
360 let timer = { variable
726 let timer = { variable
765 let timer = { variable
878 let timer = { variable
915 let timer = { variable
953 let timer = { variable
986 let timer = { variable
1108 var timer = { variable
[all …]
/base/time/time_service/services/dfx/src/
Dtime_sysevent.cpp27 void StatisticReporter(int32_t callerPid, int32_t size, std::shared_ptr<TimerInfo> timer) in StatisticReporter()
/base/telephony/call_manager/utils/include/
Dtimer.h37 Timer(const Timer &timer) in Timer()
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
DAppLaunchSceneDataProcessor.h56 IAppTimer* timer; variable
/base/time/time_service/services/timer/src/
Dtimer_manager.cpp378 auto whichAlarms = [id](const TimerInfo &timer) { in RemoveLocked()
397 [id](const std::shared_ptr<TimerInfo> &timer) { in RemoveLocked()
476 void TimerManager::ReAddTimerLocked(std::shared_ptr<TimerInfo> timer, in ReAddTimerLocked()
758 …auto wakeupNums = std::count_if(triggerList.begin(), triggerList.end(), [](auto timer) {return tim… in DeliverTimersLocked()
759 for (const auto &timer : triggerList) { in DeliverTimersLocked() local
794 bool TimerManager::NotifyWantAgent(const std::shared_ptr<TimerInfo> &timer) in NotifyWantAgent()
853 auto timer = batch->Get(i); in AdjustTimer() local
880 void TimerManager::ReCalcuOriWhenElapsed(std::shared_ptr<TimerInfo> timer, in ReCalcuOriWhenElapsed()
905 bool TimerManager::AdjustSingleTimer(std::shared_ptr<TimerInfo> timer) in AdjustSingleTimer()
1138 const std::shared_ptr<TimerInfo> &timer, std::chrono::steady_clock::time_point nowElapsed) in HandleRepeatTimer()
Dtimer_proxy.cpp207 auto callback = [this, isAdjust, interval, now] (std::shared_ptr<TimerInfo> timer) { in AdjustTimer()
222 uint32_t interval, std::shared_ptr<TimerInfo> &timer) in UpdateAdjustWhenElapsed()
236 bool TimerProxy::RestoreAdjustWhenElapsed(std::shared_ptr<TimerInfo> &timer) in RestoreAdjustWhenElapsed()
263 bool TimerProxy::IsTimerExemption(std::shared_ptr<TimerInfo> timer) in IsTimerExemption()
746 for (auto timer : adjustTimers_) { in ShowAdjustTimerInfo() local
/base/update/sys_installer/services/module_update/util/src/
Dmodule_utils.cpp117 Timer timer; in WaitForFile() local
176 std::ostream &operator<<(std::ostream &os, const Timer &timer) in operator <<()
/base/startup/init/test/unittest/init/
Dinit_unittest.cpp127 TimerHandle timer = nullptr; variable
/base/powermgr/power_manager/test/apitest/inner_api/ffrt/src/
Dffrt_utils_test.cpp255 FFRTTimer timer; variable
304 FFRTTimer timer; variable
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp368 std::shared_ptr<StatsHelper::ActiveTimer> timer; in UpdatePhoneStats() local
396 std::shared_ptr<StatsHelper::ActiveTimer> timer; in UpdateTimer() local
429 std::shared_ptr<StatsHelper::ActiveTimer> timer; in UpdateTimer() local
447 std::shared_ptr<StatsHelper::ActiveTimer> timer; in UpdateCameraTimer() local
/base/update/sys_installer/services/module_update/src/
Dmodule_update.cpp156 Timer timer; in CheckModuleUpdate() local
265 Timer timer; in MountModulePackage() local
/base/startup/appspawn/standard/
Dappspawn_service.h47 TimerHandle timer; // 测试消息完整 member
/base/powermgr/battery_statistics/services/native/src/entities/
Dbluetooth_entity.cpp341 std::shared_ptr<StatsHelper::ActiveTimer> timer = nullptr; in GetOrCreateTimer() local
381 std::shared_ptr<StatsHelper::ActiveTimer> timer = nullptr; in GetOrCreateTimer() local
Daudio_entity.cpp107 std::shared_ptr<StatsHelper::ActiveTimer> timer = nullptr; in GetOrCreateTimer() local
Dscreen_entity.cpp117 std::shared_ptr<StatsHelper::ActiveTimer> timer = nullptr; in GetOrCreateTimer() local

12