Home
last modified time | relevance | path

Searched refs:itval (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/thermal_manager/application/protector/src/
Dthermal_protector_timer.cpp106 struct itimerspec itval; in SetTimerInterval() local
118 itval.it_interval.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
119 itval.it_interval.tv_nsec = 0; in SetTimerInterval()
120 itval.it_value.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
121 itval.it_value.tv_nsec = 0; in SetTimerInterval()
122 if (timerfd_settime(timerfd, 0, &itval, nullptr) == -1) { in SetTimerInterval()
Dthermal_sensor_provider.cpp157 struct itimerspec itval; in SetTimerInterval() local
167 itval.it_interval.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
168 itval.it_interval.tv_nsec = 0; in SetTimerInterval()
169 itval.it_value.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
170 itval.it_value.tv_nsec = 0; in SetTimerInterval()
171 if (timerfd_settime(timerfd, 0, &itval, nullptr) == -1) { in SetTimerInterval()
/base/msdp/device_status/libs/src/
Ddevicestatus_msdp_mock.cpp155 struct itimerspec itval; in SetTimerInterval() local
156 itval.it_interval.tv_sec = interval; in SetTimerInterval()
157 itval.it_interval.tv_nsec = 0; in SetTimerInterval()
158 itval.it_value.tv_sec = interval; in SetTimerInterval()
159 itval.it_value.tv_nsec = 0; in SetTimerInterval()
160 if (timerfd_settime(timerFd_, 0, &itval, nullptr) == -1) { in SetTimerInterval()
Ddevicestatus_msdp_rdb.cpp243 struct itimerspec itval; in SetTimerInterval() local
256 itval.it_interval.tv_sec = interval; in SetTimerInterval()
257 itval.it_interval.tv_nsec = 0; in SetTimerInterval()
258 itval.it_value.tv_sec = interval; in SetTimerInterval()
259 itval.it_value.tv_nsec = 0; in SetTimerInterval()
261 if (timerfd_settime(timerFd_, 0, &itval, nullptr) == -1) { in SetTimerInterval()
Ddevicestatus_sensor_rdb.cpp261 struct itimerspec itval; in SetTimerInterval() local
274 itval.it_interval.tv_sec = interval; in SetTimerInterval()
275 itval.it_interval.tv_nsec = 0; in SetTimerInterval()
276 itval.it_value.tv_sec = interval; in SetTimerInterval()
277 itval.it_value.tv_nsec = 0; in SetTimerInterval()
279 if (timerfd_settime(timerFd_, 0, &itval, nullptr) == -1) { in SetTimerInterval()