Home
last modified time | relevance | path

Searched refs:epFd_ (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/msdp/device_status/libs/src/
H A Ddevicestatus_msdp_mock.cpp126 epFd_ = epoll_create1(EPOLL_CLOEXEC); in InitTimer()
127 if (epFd_ == -1) { in InitTimer()
134 if (close(epFd_) < 0) { in InitTimer()
135 … FI_HILOGE("Close epoll fd failed, error:%{public}s, epFd_:%{public}d", strerror(errno), epFd_); in InitTimer()
137 epFd_ = ERR_INVALID_FD; in InitTimer()
221 if (epoll_ctl(epFd_, EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterTimerCallback()
249 int32_t nevents = epoll_wait(epFd_, events, cbct, timeout); in LoopingThreadEntry()
/ohos5.0/base/powermgr/battery_manager/charger/src/
H A Dbattery_thread.cpp79 if (epoll_ctl(epFd_, EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterCallback()
122 epFd_ = epoll_create1(EPOLL_CLOEXEC);
123 if (epFd_ == INVALID_FD) {
190 nevents = epoll_wait(epFd_, events, static_cast<int32_t>(size), timeout); in LoopingThreadEntry()
/ohos5.0/base/powermgr/thermal_manager/application/protector/src/
H A Dthermal_protector_timer.cpp63 if (RegisterCallback(timerFd_, EVENT_TIMER_FD, epFd_)) { in CreateProvisionFd()
131 epFd_ = epoll_create1(EPOLL_CLOEXEC); in InitProvisionTimer()
176 Run(service, epFd_); in StartThread()
H A Dthermal_sensor_provider.cpp105 epFd_ = epoll_create1(EPOLL_CLOEXEC); in InitProviderTimer()
134 if (RegisterCallback(timerFd_, EVENT_TIMER_FD, epFd_)) { in CreateProviderFd()
230 Run(service, epFd_); in StartThread()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_thread.cpp98 if (epoll_ctl(epFd_, EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterCallback()
145 epFd_ = epoll_create1(EPOLL_CLOEXEC);
146 if (epFd_ == INVALID_FD) {
274 nevents = epoll_wait(epFd_, events, static_cast<int32_t>(size), timeout); in LoopingThreadEntry()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/include/
H A Dbattery_thread_test.h106 …GetEpollFdImplement<BatteryThreadUnitTest, decltype(&BatteryThread::epFd_), &BatteryThread::epFd_>;
/ohos5.0/base/powermgr/battery_manager/charger/include/
H A Dbattery_thread.h56 int32_t epFd_ = INVALID_FD; variable
/ohos5.0/base/powermgr/thermal_manager/application/protector/include/
H A Dthermal_protector_timer.h51 int32_t epFd_ {-1};
H A Dthermal_sensor_provider.h69 int32_t epFd_ {-1};
/ohos5.0/base/msdp/device_status/libs/include/
H A Ddevicestatus_msdp_mock.h72 int32_t epFd_ { -1 };
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_thread.h62 int32_t epFd_ = INVALID_FD; variable
/ohos5.0/base/msdp/device_status/test/unittest/libs/src/
H A Ddevice_status_mock_test.cpp538 deviceStatusMsdpMock.epFd_ = ERR_INVALID_FD;
580 deviceStatusMsdpMock.epFd_ = ERR_INVALID_FD;