Home
last modified time | relevance | path

Searched refs:intervalMsec (Results 1 – 4 of 4) sorted by relevance

/base/powermgr/powermgr_lite/utils/src/
Dpower_mgr_timer_util.c32 int64_t intervalMsec; member
49 static BOOL StartTimer(PowerTimer timer, int64_t whenMsec, int64_t intervalMsec) in StartTimer() argument
53 SetTimeSpec(&ts.it_interval, intervalMsec); in StartTimer()
74 PowerTimer *PowerMgrCreateTimer(int64_t whenMsec, int64_t intervalMsec, PowerTimerCallback cb) in PowerMgrCreateTimer() argument
84 info->intervalMsec = intervalMsec; in PowerMgrCreateTimer()
103 BOOL PowerMgrResetTimer(PowerTimer *timer, int64_t whenMsec, int64_t intervalMsec) in PowerMgrResetTimer() argument
112 info->intervalMsec = intervalMsec; in PowerMgrResetTimer()
126 return StartTimer(info->timerId, info->whenMsec, info->intervalMsec); in PowerMgrStartTimer()
/base/powermgr/powermgr_lite/services/src/screensaver/small/
Dscreen_saver_handler.cpp112 void ScreenSaverHandler::SetInterval(int64_t intervalMsec) in SetInterval() argument
115 if (intervalMsec_ == intervalMsec) { in SetInterval()
119 PowerMgrResetTimer(timer_, intervalMsec, intervalMsec); in SetInterval()
124 intervalMsec_ = intervalMsec; in SetInterval()
/base/powermgr/powermgr_lite/utils/include/
Dpower_mgr_timer_util.h33 PowerTimer *PowerMgrCreateTimer(int64_t whenMsec, int64_t intervalMsec, PowerTimerCallback cb);
38 BOOL PowerMgrResetTimer(PowerTimer *timer, int64_t whenMsec, int64_t intervalMsec);
/base/powermgr/powermgr_lite/services/include/small/
Dscreen_saver_handler.h34 void SetInterval(int64_t intervalMsec);