Searched refs:itval (Results 1 – 5 of 5) sorted by relevance
/base/powermgr/thermal_manager/application/protector/src/ |
D | thermal_protector_timer.cpp | 106 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()
|
D | thermal_sensor_provider.cpp | 157 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/ |
D | devicestatus_msdp_mock.cpp | 155 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()
|
D | devicestatus_msdp_rdb.cpp | 243 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()
|
D | devicestatus_sensor_rdb.cpp | 261 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()
|